Skip to content

Commit

Permalink
(#0) transparent 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
baegofda committed Feb 12, 2024
1 parent f6cc6bb commit 728e0c1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/constants/color.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const THEME_COLOR = {
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]);
1 change: 1 addition & 0 deletions src/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const ColorOptions = [
"error",
"warning",
"success",
"transparent",
];

export const TypographyOptions = [
Expand Down
2 changes: 1 addition & 1 deletion src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export type ThemeColors =
"gray-01" | "gray-00" | "primary-06" |
"primary-05" | "primary-04" | "primary-03" |
"primary-02" | "primary-01" | "primary-00" |
"error" | "warning" | "success";
"error" | "warning" | "success" | "transparent";

export type ThemeTypography =
"head-01-regular" | "head-01-medium" | "head-01-bold" |
Expand Down
1 change: 1 addition & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export default {
error: "#FF5260",
warning: "#FFBB6A",
success: "#79D4B4",
transparent: "transparent",
},
fontSize: {
"head-01-regular": [
Expand Down

0 comments on commit 728e0c1

Please sign in to comment.