Skip to content

Commit

Permalink
chore: add size token
Browse files Browse the repository at this point in the history
  • Loading branch information
Doeunnkimm committed Jul 18, 2024
1 parent 90867fe commit 91eca3b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/sds/src/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ export { borderRadius } from './borderRadius';
export { colors } from './colors';
export { opacity } from './opacity';
export { shadow } from './shadow';
export { size } from './size';
22 changes: 22 additions & 0 deletions packages/core/sds/src/theme/size.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
export const size = {
none: '0px',
'8xs': '2px',
'7xs': '4px',
'6xs': '8px',
'5xs': '12px',
'4xs': '14px',
'3xs': '16px',
'2xs': '20px',
xs: '24px',
sm: '28px',
md: '32px',
lg: '36px',
xl: '40px',
'2xl': '28px',
'3xl': '56px',
'4xl': '64px',
'5xl': '72px',
'6xl': '80px',
'7xl': '100px',
'8xl': '120px',
};

0 comments on commit 91eca3b

Please sign in to comment.