File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @leafygreen-ui/tokens ' : minor
3
+ ---
4
+
5
+ Adds ` Size ` token
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ export { default as fontFamilies } from './fontFamilies';
4
4
export { default as fontWeights } from './fontWeights' ;
5
5
export { default as hoverRing } from './hoverRing' ;
6
6
export { Mode } from './mode' ;
7
+ export { Size } from './size' ;
7
8
export { default as spacing } from './spacing' ;
8
9
export { default as transitionDuration } from './transitions' ;
9
10
export { BaseFontSize , default as typeScales } from './typeScales' ;
Original file line number Diff line number Diff line change
1
+ export const Size = {
2
+ XSmall : 'xsmall' ,
3
+ Small : 'small' ,
4
+ Default : 'default' ,
5
+ Large : 'large' ,
6
+ } as const ;
7
+
8
+ export type Size = ( typeof Size ) [ keyof typeof Size ] ;
You can’t perform that action at this time.
0 commit comments