File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " @cube-dev/ui-kit " : patch
3+ ---
4+
5+ Fix typography presets declaration.
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ import { LAYOUT_TOKENS } from './layout';
2222import { SHADOW_TOKENS } from './shadows' ;
2323import { SIZE_NAME_TO_KEY , SIZE_TOKENS , SIZES } from './sizes' ;
2424import { SPACE_TOKENS } from './spacing' ;
25+ import { TYPOGRAPHY_PRESETS } from './typography' ;
2526
2627import type { Styles } from '@tenphi/tasty' ;
2728import type { SizeKey , SizeName } from './sizes' ;
@@ -47,7 +48,7 @@ export const TOKENS: Styles = {
4748 ...SIZE_TOKENS ,
4849 ...SHADOW_TOKENS ,
4950 ...LAYOUT_TOKENS ,
50- ...generateTypographyTokens ( ) ,
51+ ...generateTypographyTokens ( TYPOGRAPHY_PRESETS ) ,
5152 ...COLOR_TOKENS ,
5253} ;
5354
@@ -59,4 +60,5 @@ export { SPACE_TOKENS } from './spacing';
5960export { SHADOW_TOKENS } from './shadows' ;
6061export { LAYOUT_TOKENS } from './layout' ;
6162export { BASE_TOKENS } from './base' ;
62- // TypographyPreset and TYPOGRAPHY_PRESETS are re-exported from @tenphi/tasty
63+ export { TYPOGRAPHY_PRESETS } from './typography' ;
64+ export type { TypographyPreset } from './typography' ;
You can’t perform that action at this time.
0 commit comments