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

Docs(design-system): CSS 스타일 수정 및 스토리북 데이터 업데이트 #305

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,15 @@ export const artistName = recipe({
},
variants: {
size: {
sm: [themeVars.fontStyles.body4_m_13],
md: [themeVars.fontStyles.body2_m_15],
lg: [themeVars.fontStyles.body3_m_14],
sm: {
...themeVars.fontStyles.body4_m_13,
},
md: {
...themeVars.fontStyles.body2_m_15,
},
lg: {
...themeVars.fontStyles.body3_m_14,
},
},
},
});
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const meta: Meta<typeof ArtistCard> = {
},
decorators: [
(Story) => (
<div style={{ width: '375px' }}>
<div style={{ width: '100px' }}>
<Story />
</div>
),
Expand All @@ -24,26 +24,29 @@ type Story = StoryObj<typeof meta>;
export const Default: Story = {
args: {
artistId: '1',
title: '데이식스',
imageSrc: 'https://dummyimage.com/80X80',
size: 'lg',
title: '한로로',
imageSrc:
'https://i.scdn.co/image/ab6761610000f1786a50f39b95ce98a0e6bf5b21',
size: 'md',
},
};

export const Sm: Story = {
args: {
artistId: '1',
title: '데이식스',
imageSrc: 'https://dummyimage.com/80X80',
artistId: '2',
title: 'Coldplay',
imageSrc:
'https://i.scdn.co/image/ab6761610000f1781ba8fc5f5c73e7e9313cc6eb',
size: 'sm',
},
};

export const Md: Story = {
args: {
artistId: '1',
artistId: '3',
title: '데이식스',
imageSrc: 'https://dummyimage.com/80X80',
imageSrc:
'https://i.scdn.co/image/ab6761610000f17810e83b0ca558533d0f3c376c',
size: 'md',
},
};
Loading