-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
156 changed files
with
3,793 additions
and
3,122 deletions.
There are no files selected for viewing
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,10 @@ | ||
{ | ||
"semi": true, | ||
"useTabs": false, | ||
"tabWidth": 2, | ||
"singleQuote": true, | ||
"jsxSingleQuote": true, | ||
"trailingComma": "all", | ||
"plugins": ["prettier-plugin-tailwindcss"], | ||
"tailwindFunctions": ["clsx"] | ||
} |
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 |
---|---|---|
@@ -1,27 +1,29 @@ | ||
export const THEME_COLOR = { | ||
WHITE: "white", | ||
BLACK: "black", | ||
GRAY_09: "gray-09", | ||
GRAY_08: "gray-08", | ||
GRAY_07: "gray-07", | ||
GRAY_06: "gray-06", | ||
GRAY_05: "gray-05", | ||
GRAY_04: "gray-04", | ||
GRAY_03: "gray-03", | ||
GRAY_02: "gray-02", | ||
GRAY_01: "gray-01", | ||
GRAY_00: "gray-00", | ||
PRIMARY_06: "primary-06", | ||
PRIMARY_05: "primary-05", | ||
PRIMARY_04: "primary-04", | ||
PRIMARY_03: "primary-03", | ||
PRIMARY_02: "primary-02", | ||
PRIMARY_01: "primary-01", | ||
PRIMARY_00: "primary-00", | ||
ERROR: "error", | ||
WARNING: "warning", | ||
SUCCESS: "success", | ||
TRANSPARENT: "transparent", | ||
WHITE: 'white', | ||
BLACK: 'black', | ||
GRAY_09: 'gray-09', | ||
GRAY_08: 'gray-08', | ||
GRAY_07: 'gray-07', | ||
GRAY_06: 'gray-06', | ||
GRAY_05: 'gray-05', | ||
GRAY_04: 'gray-04', | ||
GRAY_03: 'gray-03', | ||
GRAY_02: 'gray-02', | ||
GRAY_01: 'gray-01', | ||
GRAY_00: 'gray-00', | ||
PRIMARY_06: 'primary-06', | ||
PRIMARY_05: 'primary-05', | ||
PRIMARY_04: 'primary-04', | ||
PRIMARY_03: 'primary-03', | ||
PRIMARY_02: 'primary-02', | ||
PRIMARY_01: 'primary-01', | ||
PRIMARY_00: 'primary-00', | ||
ERROR: 'error', | ||
WARNING: 'warning', | ||
SUCCESS: 'success', | ||
TRANSPARENT: 'transparent', | ||
}; | ||
|
||
export const ColorOptions = Object.keys(THEME_COLOR).map(color => THEME_COLOR[color as keyof typeof THEME_COLOR]); | ||
export const ColorOptions = Object.keys(THEME_COLOR).map( | ||
(color) => THEME_COLOR[color as keyof typeof THEME_COLOR], | ||
); |
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 |
---|---|---|
@@ -1,23 +1,25 @@ | ||
import { ColorThemeType } from "@/types"; | ||
import { ColorThemeType } from '@/types'; | ||
|
||
export const COLOR_THEME = { | ||
PRIMARY: "primary", | ||
ERROR: "error", | ||
WARNING: "warning", | ||
SUCCESS: "success", | ||
SECONDARY: "secondary", | ||
GRAY: "gray", | ||
WHITE: "white", | ||
PRIMARY: 'primary', | ||
ERROR: 'error', | ||
WARNING: 'warning', | ||
SUCCESS: 'success', | ||
SECONDARY: 'secondary', | ||
GRAY: 'gray', | ||
WHITE: 'white', | ||
} as const; | ||
|
||
export const COLOR_THEME_STYLES: Record<ColorThemeType, string> = { | ||
[COLOR_THEME["PRIMARY"]]: "bg-primary-03 text-white", | ||
[COLOR_THEME["SECONDARY"]]: "text-primary-03 bg-primary-00", | ||
[COLOR_THEME["ERROR"]]: "text-rose-600 bg-rose-300/20", | ||
[COLOR_THEME["WARNING"]]: "text-amber-600 bg-amber-300/20", | ||
[COLOR_THEME["SUCCESS"]]: "text-green-600 bg-green-300/20", | ||
[COLOR_THEME["GRAY"]]: "text-gray-07 bg-gray-02", | ||
[COLOR_THEME["WHITE"]]: "text-gray-06 bg-white border border-gray-03", | ||
[COLOR_THEME['PRIMARY']]: 'bg-primary-03 text-white', | ||
[COLOR_THEME['SECONDARY']]: 'text-primary-03 bg-primary-00', | ||
[COLOR_THEME['ERROR']]: 'text-rose-600 bg-rose-300/20', | ||
[COLOR_THEME['WARNING']]: 'text-amber-600 bg-amber-300/20', | ||
[COLOR_THEME['SUCCESS']]: 'text-green-600 bg-green-300/20', | ||
[COLOR_THEME['GRAY']]: 'text-gray-07 bg-gray-02', | ||
[COLOR_THEME['WHITE']]: 'text-gray-06 bg-white border border-gray-03', | ||
}; | ||
|
||
export const colorThemeOptions = Object.values(COLOR_THEME).map(theme => theme); | ||
export const colorThemeOptions = Object.values(COLOR_THEME).map( | ||
(theme) => theme, | ||
); |
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,25 +1,27 @@ | ||
export const THEME_TYPOGRAPHY = { | ||
HEAD_01_REGULAR: "head-01-regular", | ||
HEAD_01_MEDIUM: "head-01-medium", | ||
HEAD_01_BOLD: "head-01-bold", | ||
HEAD_02_REGULAR: "head-02-regular", | ||
HEAD_02_MEDIUM: "head-02-medium", | ||
HEAD_02_BOLD: "head-02-bold", | ||
SUBHEAD_01_REGULAR: "subhead-01-regular", | ||
SUBHEAD_01_MEDIUM: "subhead-01-medium", | ||
SUBHEAD_01_BOLD: "subhead-01-bold", | ||
SUBHEAD_02_REGULAR: "subhead-02-regular", | ||
SUBHEAD_02_MEDIUM: "subhead-02-medium", | ||
SUBHEAD_02_BOLD: "subhead-02-bold", | ||
BODY_01_REGULAR: "body-01-regular", | ||
BODY_01_MEDIUM: "body-01-medium", | ||
BODY_01_BOLD: "body-01-bold", | ||
BODY_02_REGULAR: "body-02-regular", | ||
BODY_02_MEDIUM: "body-02-medium", | ||
BODY_02_BOLD: "body-02-bold", | ||
BODY_03_REGULAR: "body-03-regular", | ||
BODY_03_MEDIUM: "body-03-medium", | ||
BODY_03_BOLD: "body-03-bold", | ||
HEAD_01_REGULAR: 'head-01-regular', | ||
HEAD_01_MEDIUM: 'head-01-medium', | ||
HEAD_01_BOLD: 'head-01-bold', | ||
HEAD_02_REGULAR: 'head-02-regular', | ||
HEAD_02_MEDIUM: 'head-02-medium', | ||
HEAD_02_BOLD: 'head-02-bold', | ||
SUBHEAD_01_REGULAR: 'subhead-01-regular', | ||
SUBHEAD_01_MEDIUM: 'subhead-01-medium', | ||
SUBHEAD_01_BOLD: 'subhead-01-bold', | ||
SUBHEAD_02_REGULAR: 'subhead-02-regular', | ||
SUBHEAD_02_MEDIUM: 'subhead-02-medium', | ||
SUBHEAD_02_BOLD: 'subhead-02-bold', | ||
BODY_01_REGULAR: 'body-01-regular', | ||
BODY_01_MEDIUM: 'body-01-medium', | ||
BODY_01_BOLD: 'body-01-bold', | ||
BODY_02_REGULAR: 'body-02-regular', | ||
BODY_02_MEDIUM: 'body-02-medium', | ||
BODY_02_BOLD: 'body-02-bold', | ||
BODY_03_REGULAR: 'body-03-regular', | ||
BODY_03_MEDIUM: 'body-03-medium', | ||
BODY_03_BOLD: 'body-03-bold', | ||
}; | ||
|
||
export const TypographyOptions = Object.keys(THEME_TYPOGRAPHY).map(color => THEME_TYPOGRAPHY[color as keyof typeof THEME_TYPOGRAPHY]); | ||
export const TypographyOptions = Object.keys(THEME_TYPOGRAPHY).map( | ||
(color) => THEME_TYPOGRAPHY[color as keyof typeof THEME_TYPOGRAPHY], | ||
); |
Oops, something went wrong.