Skip to content

Commit f2ffe17

Browse files
chore(tokens): Add variable typography to example scss file (#3607)
1 parent 75a04ad commit f2ffe17

File tree

1 file changed

+35
-9
lines changed

1 file changed

+35
-9
lines changed

design-tokens/var-spacing.yml

Lines changed: 35 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,10 @@ global:
55
category: spacing
66
type: size
77
comment: 'Overrides for spacing tokens that should only be used in densifying of the User Interface'
8-
cssProperties:
9-
- top
10-
- right
11-
- bottom
12-
- left
13-
- 'margin*'
14-
- 'padding*'
15-
- '*width'
16-
- '*height'
178

189
imports:
1910
- ./aliases/spacing.yml
11+
- ./aliases/font-size.yml
2012

2113
props:
2214
VAR_SPACING_XXX_SMALL:
@@ -93,3 +85,37 @@ props:
9385
VAR_SPACING_VERTICAL_XX_LARGE:
9486
value: '{!SPACING_LARGE}'
9587
comment: 'Variable vertical spacing token for size XX Large'
88+
89+
VAR_FONT_SIZE_1:
90+
value: '{!FONT_SIZE_1}'
91+
comment: 'Variable typography token for font size 1'
92+
VAR_FONT_SIZE_2:
93+
value: '{!FONT_SIZE_2}'
94+
comment: 'Variable typography token for font size 2'
95+
VAR_FONT_SIZE_3:
96+
value: '{!FONT_SIZE_3}'
97+
comment: 'Variable typography token for font size 3'
98+
VAR_FONT_SIZE_4:
99+
value: '{!FONT_SIZE_4}'
100+
comment: 'Variable typography token for font size 4'
101+
VAR_FONT_SIZE_5:
102+
value: '{!FONT_SIZE_4}'
103+
comment: 'Variable typography token for font size 5'
104+
VAR_FONT_SIZE_6:
105+
value: '{!FONT_SIZE_5}'
106+
comment: 'Variable typography token for font size 6'
107+
VAR_FONT_SIZE_7:
108+
value: '{!FONT_SIZE_7}'
109+
comment: 'Variable typography token for font size 7'
110+
VAR_FONT_SIZE_8:
111+
value: '{!FONT_SIZE_7}'
112+
comment: 'Variable typography token for font size 8'
113+
VAR_FONT_SIZE_9:
114+
value: '{!FONT_SIZE_9}'
115+
comment: 'Variable typography token for font size 9'
116+
VAR_FONT_SIZE_10:
117+
value: '{!FONT_SIZE_10}'
118+
comment: 'Variable typography token for font size 10'
119+
VAR_FONT_SIZE_11:
120+
value: '{!FONT_SIZE_11}'
121+
comment: 'Variable typography token for font size 11'

0 commit comments

Comments
 (0)