-
Notifications
You must be signed in to change notification settings - Fork 1
feat: color scheme에 따른 팔레트 색상 분기 #170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
icepeng
wants to merge
3
commits into
Nexters:develop
Choose a base branch
from
icepeng:feat-color-scheme
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+192
−54
Draft
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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,133 @@ | ||
| :root { | ||
| --color-primary-o0: #FFCFBA; | ||
| --color-primary-o1: #FF5A14; | ||
| --color-primary-o2: #E94600; | ||
| --color-primary-o3: #C93E02; | ||
|
|
||
| --color-status-error: #FF4D4F; | ||
| --color-status-warning: #FAAD14; | ||
| --color-status-success: #52C41A; | ||
| --color-status-link: #1890FF; | ||
|
|
||
| --color-purple-main: #B150FF; | ||
| --color-purple-sub: #E6C8FE; | ||
|
|
||
| --color-blue-main: #2B7BE9; | ||
| --color-blue-sub: #C8E7FE; | ||
|
|
||
| --color-green-main: #52C41A; | ||
| --color-green-sub: #CCF3BA; | ||
|
|
||
| --color-red-main: #FF5A14; | ||
| --color-red-sub: #FFCFBA; | ||
|
|
||
| --color-yellow-main: #E09500; | ||
| --color-yellow-sub: #FFE2A9; | ||
|
|
||
| --color-grey-main: #888D9D; | ||
| --color-grey-sub: #F3F5F9; | ||
| --color-grey-w: #FFFFFF; | ||
| --color-grey-g00: #F3F5F9; | ||
| --color-grey-g10: #E7EAF2; | ||
| --color-grey-g20: #D8DBE5; | ||
| --color-grey-g30: #C8CCDC; | ||
| --color-grey-g40: #A2A5B4; | ||
| --color-grey-g50: #888D9D; | ||
| --color-grey-g60: #6F7485; | ||
| --color-grey-g70: #595D6D; | ||
| --color-grey-g80: #434753; | ||
| --color-grey-g90: #282B33; | ||
| --color-grey-g100: #121215; | ||
| --color-grey-b: #000000; | ||
|
|
||
| --color-dim-dialog: rgba(86, 86, 86, 0.25); | ||
|
|
||
| --color-shadow: rgba(136, 141, 157, 0.15); | ||
|
|
||
| --color-mobile-primary-o1: #FF6827; | ||
|
|
||
| --color-mobile-status-error: #FF4D4F; | ||
| --color-mobile-status-success: #52C41A; | ||
|
|
||
| --color-mobile-grey-w: #FFFFFF; | ||
| --color-mobile-grey-g05: #F6F7FF; | ||
| --color-mobile-grey-g10: #E7EAF2; | ||
| --color-mobile-grey-g15: #D8DBE5; | ||
| --color-mobile-grey-g20: #BEC1CE; | ||
| --color-mobile-grey-g30: #A2A5B4; | ||
| --color-mobile-grey-g40: #888D9D; | ||
| --color-mobile-grey-g50: #6F7485; | ||
| --color-mobile-grey-g60: #595D6D; | ||
| --color-mobile-grey-g70: #434753; | ||
| --color-mobile-grey-g80: #2E303A; | ||
| --color-mobile-grey-g85: #1B1D23; | ||
| --color-mobile-grey-g90: #121318; | ||
| --color-mobile-grey-g95: #090A0B; | ||
| --color-mobile-grey-b: #000000; | ||
| } | ||
|
|
||
| @media(prefers-color-scheme: dark) { | ||
| :root { | ||
| --color-primary-o0: #391a00; | ||
| --color-primary-o1: #a83600; | ||
| --color-primary-o2: #c93b00; | ||
| --color-primary-o3: #e54803; | ||
|
|
||
| --color-status-error: #c40008; | ||
| --color-status-warning: #4e3302; | ||
| --color-status-success: #1d5005; | ||
| --color-status-link: #0061b1; | ||
|
|
||
| --color-purple-main: #a500fb; | ||
| --color-purple-sub: #42035b; | ||
| --color-blue-main: #266fd3; | ||
| --color-blue-sub: #021e2b; | ||
| --color-green-main: #1d5005; | ||
| --color-green-sub: #121a0f; | ||
| --color-red-main: #a83600; | ||
| --color-red-sub: #391a00; | ||
| --color-yellow-main: #6b4500; | ||
| --color-yellow-sub: #211800; | ||
|
|
||
| --color-grey-main: #5d616e; | ||
| --color-grey-sub: #080d14; | ||
| --color-grey-w: #000000; | ||
| --color-grey-g00: #080d14; | ||
| --color-grey-g10: #111621; | ||
| --color-grey-g20: #1d202b; | ||
| --color-grey-g30: #262b3c; | ||
| --color-grey-g40: #484b5a; | ||
| --color-grey-g50: #5d616e; | ||
| --color-grey-g60: #74798b; | ||
| --color-grey-g70: #8d91a2; | ||
| --color-grey-g80: #a6aab9; | ||
| --color-grey-g90: #cacdd6; | ||
| --color-grey-g100: #efeff0; | ||
| --color-grey-b: #ffffff; | ||
|
|
||
| --color-dim-dialog: rgba(86, 86, 86, 0.25); | ||
|
|
||
| --color-shadow: rgba(136, 141, 157, 0.15); | ||
|
|
||
| --color-mobile-primary-o1: #9a3800; | ||
|
|
||
| --color-mobile-status-error: #c40008; | ||
| --color-mobile-status-success: #1d5005; | ||
|
|
||
| --color-mobile-grey-w: #000000; | ||
| --color-mobile-grey-g05: #000726; | ||
| --color-mobile-grey-g10: #111621; | ||
| --color-mobile-grey-g15: #1d202b; | ||
| --color-mobile-grey-g20: #303441; | ||
| --color-mobile-grey-g30: #484b5a; | ||
| --color-mobile-grey-g40: #5d616e; | ||
| --color-mobile-grey-g50: #74798b; | ||
| --color-mobile-grey-g60: #8d91a2; | ||
| --color-mobile-grey-g70: #a6aab9; | ||
| --color-mobile-grey-g80: #c4c6cf; | ||
| --color-mobile-grey-g85: #dfe0e5; | ||
| --color-mobile-grey-g90: #edeef0; | ||
| --color-mobile-grey-g95: #f7f7f8; | ||
| --color-mobile-grey-b: #ffffff; | ||
| } | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
기존 시스템에 변경점이 생겨서 실 서비스에 영향이 없으려면
apps하위의 각 서비스에 요 파일import를 추가해야할 것 같아요!import '@boolti/ui/src/theme.css흠... 뭔가 임포트가 안이쁜데@boolti/ui/theme.css가 될 수 있도록 한 뎁스 밖에 두는 것은.. 어떨까 싶으면서.. 코드 구조상은 이게 맞긴한데..There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exports map을 사용하면 import 경로를 이쁘게 바꿀 수 있는데, boolti/ui에 별도의 빌드 과정이 없어서 어떻게 번들링되고 있는지 모르겠어서 지금처럼 해두었어요.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
생각해보니 당장 병합 가능한 상태가 아니긴 하네요. 일단 draft로 변경해둘게요.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://jsramblings.com/using-yarn-symlinks-to-share-code-between-apps/amp/
packages하위에 있는 패키지들은 yarn이 symlink를 이용해서 번들링할때 직접 가져와서 같이 번들 되고 있는 것 같네요~!There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exports map 추가해 두었어요 9de60d1