-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(ui/react): 기존 theme.css.ts vars.css.ts로 분리, tag 관련 색상 전역으로 통합 (
#186) * refactor(ui/react/styles): 기존에 tag 색상을 추가한 color.ts 추가 * refactor(ui/react/styles): color.ts 반영, theme.css.ts에서 vars 분리 * refactor(ui/react/components): styles 변경사항 반영 * chore(ui/react/package.json): export에 vars.css 경로 추가 * refactor(apps/web/components/Layout/Header/styles.css.ts): vars 변경사항 반영 * refactor(ui/react/components): tag color 전역으로 설정에 따른 iconButton, tag에 변경사항 반영
- Loading branch information
Showing
18 changed files
with
142 additions
and
180 deletions.
There are no files selected for viewing
6 changes: 3 additions & 3 deletions
6
apps/web/src/components/Layout/components/Header/styles.css.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import { h1SemiBold } from '@favolink-ui/react/text.css'; | ||
import { vars } from '@favolink-ui/react/theme.css'; | ||
import { vars } from '@favolink-ui/react/vars.css'; | ||
import { style } from '@vanilla-extract/css'; | ||
|
||
export const header = style([ | ||
h1SemiBold, | ||
{ | ||
color: vars.color.coral, | ||
backgroundColor: vars.color.yellow, | ||
color: vars.color.archive.coral, | ||
backgroundColor: vars.color.archive.yellow, | ||
}, | ||
]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
packages/ui/react/src/components/button/icon-button.theme.css.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/ui/react/src/components/modal/modal-title.styles.css.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
export const ARCHIVE_COLOR = { | ||
black: '#aaacb6', | ||
blue: '#9570ff', | ||
brightGreen: '#b4f78b', | ||
coral: '#f17666', | ||
mint: '#6af4b4', | ||
pink: '#ff8fb8', | ||
purple: '#9570ff', | ||
yellow: '#ffe279', | ||
} as const; | ||
|
||
export const GRAY_COLOR = { | ||
100: '#fafbfd', | ||
200: '#f4f6f9', | ||
300: '#edf0f4', | ||
400: '#d4dbe5', | ||
500: '#b5bfce', | ||
600: '#9ea9ba', | ||
700: '#838fa2', | ||
800: '#697588', | ||
900: '#4d5769', | ||
1000: '#303a4b', | ||
1100: '#1d2333', | ||
} as const; | ||
|
||
export const SYSTEM_COLOR = { | ||
100: '#ffd7d7', | ||
200: '#ff8484', | ||
300: '#ff4747', | ||
} as const; | ||
|
||
export const REPO_TEXT_COLOR = { | ||
black: GRAY_COLOR[700], | ||
blue: '#2c84ec', | ||
brightGreen: '#5db924', | ||
coral: ARCHIVE_COLOR.coral, | ||
mint: '#15c27a', | ||
pink: '#ff4cbc', | ||
purple: ARCHIVE_COLOR.purple, | ||
yellow: '#ff8a35', | ||
} as const; | ||
|
||
export const REPO_BG_COLOR = { | ||
black: '#aaacb615', | ||
blue: '#6bafff20', | ||
brightGreen: '#b4f78b40', | ||
coral: '#f1766615', | ||
mint: '#6af4ba30', | ||
pink: '#ff8fb820', | ||
purple: '#9570ff15', | ||
yellow: '#ffe27940', | ||
} as const; |
Oops, something went wrong.