Skip to content

Commit

Permalink
style : color 색상 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
keemsebin committed Jan 16, 2025
1 parent 5f1b01e commit 47943cc
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
4 changes: 4 additions & 0 deletions src/shared/ui/colors/Color.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { colors } from './colors.ts';
100: colors.primary[100],
200: colors.primary[200],
300: colors.primary[300],
400: colors.primary[400],
}}
/>
<ColorItem
Expand All @@ -36,6 +37,7 @@ import { colors } from './colors.ts';
50: colors.red[50],
100: colors.red[100],
200: colors.red[200],
300: colors.red[300],
}}
/>
<ColorItem
Expand All @@ -44,6 +46,8 @@ import { colors } from './colors.ts';
colors={{
50: colors.green[50],
100: colors.green[100],
200: colors.green[200],
300: colors.green[300],
}}
/>

Expand Down
18 changes: 11 additions & 7 deletions src/shared/ui/colors/colors.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
export const colors = {
primary: {
50: '#EFF6FF',
100: '#dbeafe',
200: '#3b82f6',
300: '#2563eb',
100: '#DBEAFE',
200: '#BFDBFE',
300: '#3b82f6',
400: '#2563eb',
},
gray: {
50: '#F9FAFB',
Expand All @@ -15,13 +16,16 @@ export const colors = {
600: '#1f2937',
},
red: {
50: '#fef2f2',
100: '#f87171',
200: '#EF4444',
50: '#FEF2F2',
100: '#FEE2E2',
200: '#F87171',
300: '#EF4444',
},
green: {
50: '#dcfce7',
100: '#22c55e',
100: '#BBF7D0',
200: '#22c55e',
300: '#16A34A',
},
emerald: '#10b981',
orange: '#f97316',
Expand Down

0 comments on commit 47943cc

Please sign in to comment.