Skip to content

Commit

Permalink
Refactor/#21: 오류 페이지 PNG, 그외 SVG 추가 및 Dropdown box-shadow 수정 (#22)
Browse files Browse the repository at this point in the history
* feat: Idea 컴포넌트에 사용될 SVGFeedMore24 추가

* feat: ErrorBoundary에 활용될 에러 페이지 배경 추가

* design: dropdown box-shadow 수정

* chore: 버저닝 0.4.4 업데이트

* refactor: Button 컴포넌트 theme 통해서 font style 지정

* chore: 버저닝 업데이트
  • Loading branch information
semnil5202 authored Mar 14, 2024
1 parent d80c5d2 commit 08e9c19
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "concept-be-design-system",
"description": "컨셉비 디자인 시스템",
"version": "0.4.3",
"version": "0.4.5",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
Expand Down
Binary file added src/assets/image/error_back.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/assets/svg/feed/more.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/components/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ const Wrapper = styled.button<{ isGrayOut: boolean }>`
isGrayOut ? theme.color.b : theme.color.w1};
border: none;
border-radius: 6px;
font-size: 16px;
font-weight: 600;
font-size: ${({ theme }) => theme.font.suit16sb.fontSize}px;
font-weight: ${({ theme }) => theme.font.suit16sb.fontWeight};
width: 100%;
padding: 17px 28px;
cursor: pointer;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Dropdown/Dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const PanelWrapper = styled.ul`
width: 100%;
background-color: ${({ theme }) => theme.color.w1};
box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.2);
border-radius: 6px;
max-height: 125px;
overflow: auto;
Expand Down
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import PNGAgreementBackground from './assets/image/agreement_bg.png';
import PNGBottomBackground from './assets/image/bottom_bg.png';
import PNGErrorBackground from './assets/image/error_back.png';
import PNGIdeaBackground1 from './assets/image/idea_back_1.png';
import PNGIdeaBackground2 from './assets/image/idea_back_2.png';
import PNGIdeaBackground3 from './assets/image/idea_back_3.png';
Expand Down Expand Up @@ -81,6 +82,7 @@ export { ReactComponent as SVGFeedReCommentLine } from './assets/svg/feed/re_com
export { ReactComponent as SVGFeedScrap } from './assets/svg/feed/scrap.svg';
export { ReactComponent as SVGFeedUnLike } from './assets/svg/feed/unlike.svg';
export { ReactComponent as SVGFeedUnScrap } from './assets/svg/feed/unscrap.svg';
export { ReactComponent as SVGMore24 } from './assets/svg/feed/more.svg';

export {
Badge,
Expand Down Expand Up @@ -114,4 +116,5 @@ export {
PNGIdeaBackground3,
PNGIdeaBackground4,
PNGIdeaBackground5,
PNGErrorBackground,
};

0 comments on commit 08e9c19

Please sign in to comment.