Skip to content

Commit

Permalink
Merge pull request #647 from joonwonBaek/view-646
Browse files Browse the repository at this point in the history
[view] 컬러 차트 구현을 위한 컬러 전역 변수 생성
  • Loading branch information
taboowiths authored Aug 18, 2024
2 parents f1c860c + 29b99a6 commit 6666653
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/view/src/App.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import "styles/_custom";

// FIXME
:root {
--primary-color: #ff8272;
Expand Down
44 changes: 44 additions & 0 deletions packages/view/src/styles/_custom.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
:root {
--color-black: #000000;
--color-white: #ffffff;
}

html[custom-type="aqua"] {
--color-primary: #25d4bf;
--color-secondary: #0687a3;
--color-tertiary: #35ffff;
--color-success: #0373b2;
--color-failed: #ee2479;
}

html[custom-type="hacker-blue"] {
--color-primary: #456cf7;
--color-secondary: #0c216f;
--color-tertiary: #6c60f0;
--color-success: #1fc7a9;
--color-failed: #ee2479;
}

html[custom-type="cotton"] {
--color-primary: #ffcccb;
--color-secondary: #feffd1;
--color-tertiary: #8979ca;
--color-success: #7ad5c4;
--color-failed: #ff8bbc;
}

html[custom-type="githru"] {
--color-primary: #f14f8c;
--color-secondary: #8421c9;
--color-tertiary: #ffcb7d;
--color-success: #07bebe;
--color-failed: #ee2479;
}

html[custom-type="mono"] {
--color-primary: #5f6f86;
--color-secondary: #3a4776;
--color-tertiary: #9499c3;
--color-success: #42b8b8;
--color-failed: #ee2479;
}
1 change: 1 addition & 0 deletions packages/view/src/styles/app.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@import "custom";
@import "colors";
@import "font";
@import "pallete";
Expand Down

0 comments on commit 6666653

Please sign in to comment.