Skip to content
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

feat: fix color in core and add color to storybook #44

Merged
merged 4 commits into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 15 additions & 11 deletions packages/core/lib/colors/color.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,16 @@ export const colors = {

point: '#E71825',
point0: '#FFFFFF',
point5: 'FDF2F3',
point10: 'FBD6D8',
point20: 'F5A3A8',
point30: 'F1747C',
point40: 'EC4651',
point50: 'E71825',
point60: 'B9131E',
point70: '8B0E16',
point80: '5C0A0F',
point90: '2E0507',
point5: '#FDF2F3',
point10: '#FBD6D8',
point20: '#F5A3A8',
point30: '#F1747C',
point40: '#EC4651',
point50: '#E71825',
point60: '#B9131E',
point70: '#8B0E16',
point80: '#5C0A0F',
point90: '#2E0507',
point100: '#000000',

danger: '#EB003B',
Expand Down Expand Up @@ -334,11 +334,15 @@ export const colors = {
pink90: '#33041D',

fuchsia5: '#FDF2FD',
fuchsia10: '#F901F9',
fuchsia10: '#F9D1F9',
fuchsia20: '#F2A3F2',
fuchsia30: '#EC75EC',
fuchsia40: '#E547E5',
fuchsia50: '#DF19DF',
fuchsia60: '#B214B2',
fuchsia70: '#8B0F8B',
fuchsia80: '#590A59',
fuchsia90: '#2D052D',

purple5: '#F5EEF7',
purple10: '#E1CCE6',
Expand Down
2 changes: 2 additions & 0 deletions stories/core/Body.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ const meta = {
argTypes: {
color: {
control: { type: 'text' },
description:
'Primary, Secondary, Gray, Point, Danger, Warning, Success, Info 컬러 지원',
},
},
// Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#action-args
Expand Down
2 changes: 2 additions & 0 deletions stories/core/Detail.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ const meta = {
argTypes: {
color: {
control: { type: 'text' },
description:
'Primary, Secondary, Gray, Point, Danger, Warning, Success, Info 컬러 지원',
},
},
// Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#action-args
Expand Down
2 changes: 2 additions & 0 deletions stories/core/Display.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ const meta = {
argTypes: {
color: {
control: { type: 'text' },
description:
'Primary, Secondary, Gray, Point, Danger, Warning, Success, Info 컬러 지원',
},
},
// Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#action-args
Expand Down
2 changes: 2 additions & 0 deletions stories/core/Heading.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ const meta = {
argTypes: {
color: {
control: { type: 'text' },
description:
'Primary, Secondary, Gray, Point, Danger, Warning, Success, Info 컬러 지원',
},
},
// Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#action-args
Expand Down
2 changes: 2 additions & 0 deletions stories/core/Label.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ const meta = {
argTypes: {
color: {
control: { type: 'text' },
description:
'Primary, Secondary, Gray, Point, Danger, Warning, Success, Info 컬러 지원',
},
},
// Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#action-args
Expand Down
2 changes: 2 additions & 0 deletions stories/core/Link.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ const meta = {
argTypes: {
color: {
control: { type: 'text' },
description:
'Primary, Secondary, Gray, Point, Danger, Warning, Success, Info 컬러 지원',
},
},
// Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#action-args
Expand Down
2 changes: 2 additions & 0 deletions stories/core/Title.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ const meta = {
argTypes: {
color: {
control: { type: 'text' },
description:
'Primary, Secondary, Gray, Point, Danger, Warning, Success, Info 컬러 지원',
},
},
// Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#action-args
Expand Down
Loading