@guardian/stand 0.0.6 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +272 -27
- package/dist/fonts/OpenSans.css +327 -0
- package/dist/index.cjs +10 -1
- package/dist/index.js +5 -1
- package/dist/styleD/build/css/css/base/colors.css +3 -3
- package/dist/styleD/build/css/css/base/radius.css +12 -0
- package/dist/styleD/build/css/css/base/sizing.css +22 -0
- package/dist/styleD/build/css/css/base/spacing.css +36 -0
- package/dist/styleD/build/css/css/base/typography.css +16 -1
- package/dist/styleD/build/css/css/semantic/colors.css +10 -8
- package/dist/styleD/build/css/css/semantic/sizing.css +14 -0
- package/dist/styleD/build/css/css/semantic/typography.css +83 -76
- package/dist/styleD/build/typescript/base/colors.cjs +3 -3
- package/dist/styleD/build/typescript/base/colors.js +3 -3
- package/dist/styleD/build/typescript/base/radius.cjs +12 -0
- package/dist/styleD/build/typescript/base/radius.js +10 -0
- package/dist/styleD/build/typescript/base/sizing.cjs +22 -0
- package/dist/styleD/build/typescript/base/sizing.js +20 -0
- package/dist/styleD/build/typescript/base/spacing.cjs +36 -0
- package/dist/styleD/build/typescript/base/spacing.js +34 -0
- package/dist/styleD/build/typescript/base/typography.cjs +20 -5
- package/dist/styleD/build/typescript/base/typography.js +20 -5
- package/dist/styleD/build/typescript/semantic/colors.cjs +14 -12
- package/dist/styleD/build/typescript/semantic/colors.js +14 -12
- package/dist/styleD/build/typescript/semantic/sizing.cjs +20 -0
- package/dist/styleD/build/typescript/semantic/sizing.js +18 -0
- package/dist/styleD/build/typescript/semantic/typography.cjs +76 -342
- package/dist/styleD/build/typescript/semantic/typography.js +76 -342
- package/dist/styleD/utils/semantic/typography.cjs +11 -7
- package/dist/styleD/utils/semantic/typography.js +10 -7
- package/dist/types/index.d.ts +9 -1
- package/dist/types/styleD/build/typescript/base/colors.d.ts +3 -3
- package/dist/types/styleD/build/typescript/base/radius.d.ts +12 -0
- package/dist/types/styleD/build/typescript/base/sizing.d.ts +22 -0
- package/dist/types/styleD/build/typescript/base/spacing.d.ts +36 -0
- package/dist/types/styleD/build/typescript/base/typography.d.ts +18 -3
- package/dist/types/styleD/build/typescript/semantic/colors.d.ts +11 -9
- package/dist/types/styleD/build/typescript/semantic/sizing.d.ts +20 -0
- package/dist/types/styleD/build/typescript/semantic/typography.d.ts +38 -304
- package/dist/types/styleD/stories/base/Radius.d.ts +1 -0
- package/dist/types/styleD/stories/base/Sizing.d.ts +1 -0
- package/dist/types/styleD/stories/base/Spacing.d.ts +1 -0
- package/dist/types/styleD/stories/semantic/Sizing.d.ts +1 -0
- package/dist/types/styleD/utils/semantic/typography.d.ts +4 -10
- package/package.json +13 -7
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
export declare const baseSpacing: {
|
|
5
|
+
readonly '2-px': "2px";
|
|
6
|
+
readonly '4-px': "4px";
|
|
7
|
+
readonly '8-px': "8px";
|
|
8
|
+
readonly '12-px': "12px";
|
|
9
|
+
readonly '16-px': "16px";
|
|
10
|
+
readonly '20-px': "20px";
|
|
11
|
+
readonly '24-px': "24px";
|
|
12
|
+
readonly '32-px': "32px";
|
|
13
|
+
readonly '36-px': "36px";
|
|
14
|
+
readonly '40-px': "40px";
|
|
15
|
+
readonly '48-px': "48px";
|
|
16
|
+
readonly '64-px': "64px";
|
|
17
|
+
readonly '72-px': "72px";
|
|
18
|
+
readonly '80-px': "80px";
|
|
19
|
+
readonly '96-px': "96px";
|
|
20
|
+
readonly '2-rem': "0.125rem";
|
|
21
|
+
readonly '4-rem': "0.25rem";
|
|
22
|
+
readonly '8-rem': "0.5rem";
|
|
23
|
+
readonly '12-rem': "0.75rem";
|
|
24
|
+
readonly '16-rem': "1rem";
|
|
25
|
+
readonly '20-rem': "1.25rem";
|
|
26
|
+
readonly '24-rem': "1.5rem";
|
|
27
|
+
readonly '32-rem': "2rem";
|
|
28
|
+
readonly '36-rem': "2.25rem";
|
|
29
|
+
readonly '40-rem': "2.5rem";
|
|
30
|
+
readonly '48-rem': "3rem";
|
|
31
|
+
readonly '64-rem': "4rem";
|
|
32
|
+
readonly '72-rem': "4.5rem";
|
|
33
|
+
readonly '80-rem': "5rem";
|
|
34
|
+
readonly '96-rem': "6rem";
|
|
35
|
+
};
|
|
36
|
+
export type BaseSpacing = typeof baseSpacing;
|
|
@@ -20,13 +20,24 @@ export declare const baseTypography: {
|
|
|
20
20
|
readonly '36-px': "36px";
|
|
21
21
|
readonly '42-px': "42px";
|
|
22
22
|
readonly '48-px': "48px";
|
|
23
|
+
readonly '12-rem': "0.75rem";
|
|
24
|
+
readonly '14-rem': "0.875rem";
|
|
25
|
+
readonly '16-rem': "1rem";
|
|
26
|
+
readonly '18-rem': "1.125rem";
|
|
27
|
+
readonly '20-rem': "1.25rem";
|
|
28
|
+
readonly '24-rem': "1.5rem";
|
|
29
|
+
readonly '28-rem': "1.75rem";
|
|
30
|
+
readonly '32-rem': "2rem";
|
|
31
|
+
readonly '36-rem': "2.25rem";
|
|
32
|
+
readonly '42-rem': "2.625rem";
|
|
33
|
+
readonly '48-rem': "3rem";
|
|
23
34
|
};
|
|
24
35
|
readonly weight: {
|
|
25
|
-
readonly 'Guardian
|
|
26
|
-
readonly normal: 400;
|
|
36
|
+
readonly 'Guardian Headline': {
|
|
27
37
|
readonly bold: 700;
|
|
28
38
|
};
|
|
29
|
-
readonly 'Guardian
|
|
39
|
+
readonly 'Guardian Text Egyptian': {
|
|
40
|
+
readonly normal: 400;
|
|
30
41
|
readonly bold: 700;
|
|
31
42
|
};
|
|
32
43
|
readonly 'Open Sans': {
|
|
@@ -60,6 +71,10 @@ export declare const baseTypography: {
|
|
|
60
71
|
readonly 'denser-px': "-0.5px";
|
|
61
72
|
readonly 'dense-px': "-0.2px";
|
|
62
73
|
readonly 'default-px': "0px";
|
|
74
|
+
readonly 'densest-rem': "-0.0625rem";
|
|
75
|
+
readonly 'denser-rem': "-0.03125rem";
|
|
76
|
+
readonly 'dense-rem': "-0.0125rem";
|
|
77
|
+
readonly 'default-rem': "0rem";
|
|
63
78
|
};
|
|
64
79
|
};
|
|
65
80
|
export type BaseTypography = typeof baseTypography;
|
|
@@ -3,15 +3,20 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export declare const semanticColors: {
|
|
5
5
|
text: {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
tertiary: string;
|
|
6
|
+
default: string;
|
|
7
|
+
subdued: string;
|
|
9
8
|
'inverse-default': string;
|
|
10
|
-
'inverse-
|
|
11
|
-
'inverse-tertiary': string;
|
|
9
|
+
'inverse-subdued': string;
|
|
12
10
|
'inverse-strong': string;
|
|
11
|
+
error: string;
|
|
13
12
|
warning: string;
|
|
14
13
|
success: string;
|
|
14
|
+
information: string;
|
|
15
|
+
disabled: string;
|
|
16
|
+
};
|
|
17
|
+
bg: {
|
|
18
|
+
'default-onDark': string;
|
|
19
|
+
'default-onLight': string;
|
|
15
20
|
};
|
|
16
21
|
surface: {
|
|
17
22
|
'light-1': string;
|
|
@@ -24,14 +29,11 @@ export declare const semanticColors: {
|
|
|
24
29
|
strong: string;
|
|
25
30
|
'inverse-strong': string;
|
|
26
31
|
};
|
|
27
|
-
bg: {
|
|
28
|
-
'default-onDark': string;
|
|
29
|
-
'default-onLight': string;
|
|
30
|
-
};
|
|
31
32
|
status: {
|
|
32
33
|
'status-draft': string;
|
|
33
34
|
'status-live': string;
|
|
34
35
|
'status-selected': string;
|
|
36
|
+
'status-focused': string;
|
|
35
37
|
};
|
|
36
38
|
};
|
|
37
39
|
export type SemanticColors = typeof semanticColors;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
export declare const semanticSizing: {
|
|
5
|
+
height: {
|
|
6
|
+
xs: string;
|
|
7
|
+
sm: string;
|
|
8
|
+
md: string;
|
|
9
|
+
lg: string;
|
|
10
|
+
};
|
|
11
|
+
icon: {
|
|
12
|
+
sm: string;
|
|
13
|
+
md: string;
|
|
14
|
+
lg: string;
|
|
15
|
+
};
|
|
16
|
+
border: {
|
|
17
|
+
md: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export type SemanticSizing = typeof semanticSizing;
|
|
@@ -3,458 +3,192 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export declare const semanticTypography: {
|
|
5
5
|
'title-sm': {
|
|
6
|
-
font:
|
|
7
|
-
fontFamily: string;
|
|
8
|
-
fontWeight: number;
|
|
9
|
-
fontSize: string;
|
|
10
|
-
fontStyle: string;
|
|
11
|
-
lineHeight: number;
|
|
12
|
-
letterSpacing: string;
|
|
13
|
-
};
|
|
6
|
+
font: string;
|
|
14
7
|
letterSpacing: string;
|
|
15
8
|
fontWidth: number;
|
|
16
9
|
};
|
|
17
10
|
'title-md': {
|
|
18
|
-
font:
|
|
19
|
-
fontFamily: string;
|
|
20
|
-
fontWeight: number;
|
|
21
|
-
fontSize: string;
|
|
22
|
-
fontStyle: string;
|
|
23
|
-
lineHeight: number;
|
|
24
|
-
letterSpacing: string;
|
|
25
|
-
};
|
|
11
|
+
font: string;
|
|
26
12
|
letterSpacing: string;
|
|
27
13
|
fontWidth: number;
|
|
28
14
|
};
|
|
29
15
|
'title-lg': {
|
|
30
|
-
font:
|
|
31
|
-
fontFamily: string;
|
|
32
|
-
fontWeight: number;
|
|
33
|
-
fontSize: string;
|
|
34
|
-
fontStyle: string;
|
|
35
|
-
lineHeight: number;
|
|
36
|
-
letterSpacing: string;
|
|
37
|
-
};
|
|
16
|
+
font: string;
|
|
38
17
|
letterSpacing: string;
|
|
39
18
|
fontWidth: number;
|
|
40
19
|
};
|
|
41
20
|
'title-xl': {
|
|
42
|
-
font:
|
|
43
|
-
fontFamily: string;
|
|
44
|
-
fontWeight: number;
|
|
45
|
-
fontSize: string;
|
|
46
|
-
fontStyle: string;
|
|
47
|
-
lineHeight: number;
|
|
48
|
-
letterSpacing: string;
|
|
49
|
-
};
|
|
21
|
+
font: string;
|
|
50
22
|
letterSpacing: string;
|
|
51
23
|
fontWidth: number;
|
|
52
24
|
};
|
|
53
25
|
'heading-xs': {
|
|
54
|
-
font:
|
|
55
|
-
fontFamily: string;
|
|
56
|
-
fontWeight: number;
|
|
57
|
-
fontSize: string;
|
|
58
|
-
fontStyle: string;
|
|
59
|
-
lineHeight: number;
|
|
60
|
-
letterSpacing: string;
|
|
61
|
-
};
|
|
26
|
+
font: string;
|
|
62
27
|
letterSpacing: string;
|
|
63
28
|
fontWidth: number;
|
|
64
29
|
};
|
|
65
30
|
'heading-sm': {
|
|
66
|
-
font:
|
|
67
|
-
fontFamily: string;
|
|
68
|
-
fontWeight: number;
|
|
69
|
-
fontSize: string;
|
|
70
|
-
fontStyle: string;
|
|
71
|
-
lineHeight: number;
|
|
72
|
-
letterSpacing: string;
|
|
73
|
-
};
|
|
31
|
+
font: string;
|
|
74
32
|
letterSpacing: string;
|
|
75
33
|
fontWidth: number;
|
|
76
34
|
};
|
|
77
35
|
'heading-md': {
|
|
78
|
-
font:
|
|
79
|
-
fontFamily: string;
|
|
80
|
-
fontWeight: number;
|
|
81
|
-
fontSize: string;
|
|
82
|
-
fontStyle: string;
|
|
83
|
-
lineHeight: number;
|
|
84
|
-
letterSpacing: string;
|
|
85
|
-
};
|
|
36
|
+
font: string;
|
|
86
37
|
letterSpacing: string;
|
|
87
38
|
fontWidth: number;
|
|
88
39
|
};
|
|
89
40
|
'heading-lg': {
|
|
90
|
-
font:
|
|
91
|
-
fontFamily: string;
|
|
92
|
-
fontWeight: number;
|
|
93
|
-
fontSize: string;
|
|
94
|
-
fontStyle: string;
|
|
95
|
-
lineHeight: number;
|
|
96
|
-
letterSpacing: string;
|
|
97
|
-
};
|
|
41
|
+
font: string;
|
|
98
42
|
letterSpacing: string;
|
|
99
43
|
fontWidth: number;
|
|
100
44
|
};
|
|
101
45
|
'heading-xl': {
|
|
102
|
-
font:
|
|
103
|
-
fontFamily: string;
|
|
104
|
-
fontWeight: number;
|
|
105
|
-
fontSize: string;
|
|
106
|
-
fontStyle: string;
|
|
107
|
-
lineHeight: number;
|
|
108
|
-
letterSpacing: string;
|
|
109
|
-
};
|
|
46
|
+
font: string;
|
|
110
47
|
letterSpacing: string;
|
|
111
48
|
fontWidth: number;
|
|
112
49
|
};
|
|
113
50
|
'heading-2xl': {
|
|
114
|
-
font:
|
|
115
|
-
fontFamily: string;
|
|
116
|
-
fontWeight: number;
|
|
117
|
-
fontSize: string;
|
|
118
|
-
fontStyle: string;
|
|
119
|
-
lineHeight: number;
|
|
120
|
-
letterSpacing: string;
|
|
121
|
-
};
|
|
51
|
+
font: string;
|
|
122
52
|
letterSpacing: string;
|
|
123
53
|
fontWidth: number;
|
|
124
54
|
};
|
|
125
55
|
'heading-compact-xs': {
|
|
126
|
-
font:
|
|
127
|
-
fontFamily: string;
|
|
128
|
-
fontWeight: number;
|
|
129
|
-
fontSize: string;
|
|
130
|
-
fontStyle: string;
|
|
131
|
-
lineHeight: number;
|
|
132
|
-
letterSpacing: string;
|
|
133
|
-
};
|
|
56
|
+
font: string;
|
|
134
57
|
letterSpacing: string;
|
|
135
58
|
fontWidth: number;
|
|
136
59
|
};
|
|
137
60
|
'heading-compact-sm': {
|
|
138
|
-
font:
|
|
139
|
-
fontFamily: string;
|
|
140
|
-
fontWeight: number;
|
|
141
|
-
fontSize: string;
|
|
142
|
-
fontStyle: string;
|
|
143
|
-
lineHeight: number;
|
|
144
|
-
letterSpacing: string;
|
|
145
|
-
};
|
|
61
|
+
font: string;
|
|
146
62
|
letterSpacing: string;
|
|
147
63
|
fontWidth: number;
|
|
148
64
|
};
|
|
149
65
|
'heading-compact-md': {
|
|
150
|
-
font:
|
|
151
|
-
fontFamily: string;
|
|
152
|
-
fontWeight: number;
|
|
153
|
-
fontSize: string;
|
|
154
|
-
fontStyle: string;
|
|
155
|
-
lineHeight: number;
|
|
156
|
-
letterSpacing: string;
|
|
157
|
-
};
|
|
66
|
+
font: string;
|
|
158
67
|
letterSpacing: string;
|
|
159
68
|
fontWidth: number;
|
|
160
69
|
};
|
|
161
70
|
'heading-compact-lg': {
|
|
162
|
-
font:
|
|
163
|
-
fontFamily: string;
|
|
164
|
-
fontWeight: number;
|
|
165
|
-
fontSize: string;
|
|
166
|
-
fontStyle: string;
|
|
167
|
-
lineHeight: number;
|
|
168
|
-
letterSpacing: string;
|
|
169
|
-
};
|
|
71
|
+
font: string;
|
|
170
72
|
letterSpacing: string;
|
|
171
73
|
fontWidth: number;
|
|
172
74
|
};
|
|
173
75
|
'heading-compact-xl': {
|
|
174
|
-
font:
|
|
175
|
-
fontFamily: string;
|
|
176
|
-
fontWeight: number;
|
|
177
|
-
fontSize: string;
|
|
178
|
-
fontStyle: string;
|
|
179
|
-
lineHeight: number;
|
|
180
|
-
letterSpacing: string;
|
|
181
|
-
};
|
|
76
|
+
font: string;
|
|
182
77
|
letterSpacing: string;
|
|
183
78
|
fontWidth: number;
|
|
184
79
|
};
|
|
185
80
|
'heading-compact-2xl': {
|
|
186
|
-
font:
|
|
187
|
-
fontFamily: string;
|
|
188
|
-
fontWeight: number;
|
|
189
|
-
fontSize: string;
|
|
190
|
-
fontStyle: string;
|
|
191
|
-
lineHeight: number;
|
|
192
|
-
letterSpacing: string;
|
|
193
|
-
};
|
|
81
|
+
font: string;
|
|
194
82
|
letterSpacing: string;
|
|
195
83
|
fontWidth: number;
|
|
196
84
|
};
|
|
197
85
|
'body-sm': {
|
|
198
|
-
font:
|
|
199
|
-
fontFamily: string;
|
|
200
|
-
fontWeight: number;
|
|
201
|
-
fontSize: string;
|
|
202
|
-
fontStyle: string;
|
|
203
|
-
lineHeight: number;
|
|
204
|
-
letterSpacing: string;
|
|
205
|
-
};
|
|
86
|
+
font: string;
|
|
206
87
|
letterSpacing: string;
|
|
207
88
|
fontWidth: number;
|
|
208
89
|
};
|
|
209
90
|
'body-md': {
|
|
210
|
-
font:
|
|
211
|
-
fontFamily: string;
|
|
212
|
-
fontWeight: number;
|
|
213
|
-
fontSize: string;
|
|
214
|
-
fontStyle: string;
|
|
215
|
-
lineHeight: number;
|
|
216
|
-
letterSpacing: string;
|
|
217
|
-
};
|
|
91
|
+
font: string;
|
|
218
92
|
letterSpacing: string;
|
|
219
93
|
fontWidth: number;
|
|
220
94
|
};
|
|
221
95
|
'body-lg': {
|
|
222
|
-
font:
|
|
223
|
-
fontFamily: string;
|
|
224
|
-
fontWeight: number;
|
|
225
|
-
fontSize: string;
|
|
226
|
-
fontStyle: string;
|
|
227
|
-
lineHeight: number;
|
|
228
|
-
letterSpacing: string;
|
|
229
|
-
};
|
|
96
|
+
font: string;
|
|
230
97
|
letterSpacing: string;
|
|
231
98
|
fontWidth: number;
|
|
232
99
|
};
|
|
233
100
|
'body-xl': {
|
|
234
|
-
font:
|
|
235
|
-
fontFamily: string;
|
|
236
|
-
fontWeight: number;
|
|
237
|
-
fontSize: string;
|
|
238
|
-
fontStyle: string;
|
|
239
|
-
lineHeight: number;
|
|
240
|
-
letterSpacing: string;
|
|
241
|
-
};
|
|
101
|
+
font: string;
|
|
242
102
|
letterSpacing: string;
|
|
243
103
|
fontWidth: number;
|
|
244
104
|
};
|
|
245
105
|
'body-italic-sm': {
|
|
246
|
-
font:
|
|
247
|
-
fontFamily: string;
|
|
248
|
-
fontWeight: number;
|
|
249
|
-
fontSize: string;
|
|
250
|
-
fontStyle: string;
|
|
251
|
-
lineHeight: number;
|
|
252
|
-
letterSpacing: string;
|
|
253
|
-
};
|
|
106
|
+
font: string;
|
|
254
107
|
letterSpacing: string;
|
|
255
108
|
fontWidth: number;
|
|
256
109
|
};
|
|
257
110
|
'body-italic-md': {
|
|
258
|
-
font:
|
|
259
|
-
fontFamily: string;
|
|
260
|
-
fontWeight: number;
|
|
261
|
-
fontSize: string;
|
|
262
|
-
fontStyle: string;
|
|
263
|
-
lineHeight: number;
|
|
264
|
-
letterSpacing: string;
|
|
265
|
-
};
|
|
111
|
+
font: string;
|
|
266
112
|
letterSpacing: string;
|
|
267
113
|
fontWidth: number;
|
|
268
114
|
};
|
|
269
115
|
'body-italic-lg': {
|
|
270
|
-
font:
|
|
271
|
-
fontFamily: string;
|
|
272
|
-
fontWeight: number;
|
|
273
|
-
fontSize: string;
|
|
274
|
-
fontStyle: string;
|
|
275
|
-
lineHeight: number;
|
|
276
|
-
letterSpacing: string;
|
|
277
|
-
};
|
|
116
|
+
font: string;
|
|
278
117
|
letterSpacing: string;
|
|
279
118
|
fontWidth: number;
|
|
280
119
|
};
|
|
281
120
|
'body-italic-xl': {
|
|
282
|
-
font:
|
|
283
|
-
fontFamily: string;
|
|
284
|
-
fontWeight: number;
|
|
285
|
-
fontSize: string;
|
|
286
|
-
fontStyle: string;
|
|
287
|
-
lineHeight: number;
|
|
288
|
-
letterSpacing: string;
|
|
289
|
-
};
|
|
121
|
+
font: string;
|
|
290
122
|
letterSpacing: string;
|
|
291
123
|
fontWidth: number;
|
|
292
124
|
};
|
|
293
125
|
'body-compact-sm': {
|
|
294
|
-
font:
|
|
295
|
-
fontFamily: string;
|
|
296
|
-
fontWeight: number;
|
|
297
|
-
fontSize: string;
|
|
298
|
-
fontStyle: string;
|
|
299
|
-
lineHeight: number;
|
|
300
|
-
letterSpacing: string;
|
|
301
|
-
};
|
|
126
|
+
font: string;
|
|
302
127
|
letterSpacing: string;
|
|
303
128
|
fontWidth: number;
|
|
304
129
|
};
|
|
305
130
|
'body-compact-md': {
|
|
306
|
-
font:
|
|
307
|
-
fontFamily: string;
|
|
308
|
-
fontWeight: number;
|
|
309
|
-
fontSize: string;
|
|
310
|
-
fontStyle: string;
|
|
311
|
-
lineHeight: number;
|
|
312
|
-
letterSpacing: string;
|
|
313
|
-
};
|
|
131
|
+
font: string;
|
|
314
132
|
letterSpacing: string;
|
|
315
133
|
fontWidth: number;
|
|
316
134
|
};
|
|
317
135
|
'body-compact-lg': {
|
|
318
|
-
font:
|
|
319
|
-
fontFamily: string;
|
|
320
|
-
fontWeight: number;
|
|
321
|
-
fontSize: string;
|
|
322
|
-
fontStyle: string;
|
|
323
|
-
lineHeight: number;
|
|
324
|
-
letterSpacing: string;
|
|
325
|
-
};
|
|
136
|
+
font: string;
|
|
326
137
|
letterSpacing: string;
|
|
327
138
|
fontWidth: number;
|
|
328
139
|
};
|
|
329
140
|
'body-compact-xl': {
|
|
330
|
-
font:
|
|
331
|
-
fontFamily: string;
|
|
332
|
-
fontWeight: number;
|
|
333
|
-
fontSize: string;
|
|
334
|
-
fontStyle: string;
|
|
335
|
-
lineHeight: number;
|
|
336
|
-
letterSpacing: string;
|
|
337
|
-
};
|
|
141
|
+
font: string;
|
|
338
142
|
letterSpacing: string;
|
|
339
143
|
fontWidth: number;
|
|
340
144
|
};
|
|
341
145
|
'body-compact-italic-sm': {
|
|
342
|
-
font:
|
|
343
|
-
fontFamily: string;
|
|
344
|
-
fontWeight: number;
|
|
345
|
-
fontSize: string;
|
|
346
|
-
fontStyle: string;
|
|
347
|
-
lineHeight: number;
|
|
348
|
-
letterSpacing: string;
|
|
349
|
-
};
|
|
146
|
+
font: string;
|
|
350
147
|
letterSpacing: string;
|
|
351
148
|
fontWidth: number;
|
|
352
149
|
};
|
|
353
150
|
'body-compact-italic-md': {
|
|
354
|
-
font:
|
|
355
|
-
fontFamily: string;
|
|
356
|
-
fontWeight: number;
|
|
357
|
-
fontSize: string;
|
|
358
|
-
fontStyle: string;
|
|
359
|
-
lineHeight: number;
|
|
360
|
-
letterSpacing: string;
|
|
361
|
-
};
|
|
151
|
+
font: string;
|
|
362
152
|
letterSpacing: string;
|
|
363
153
|
fontWidth: number;
|
|
364
154
|
};
|
|
365
155
|
'body-compact-italic-lg': {
|
|
366
|
-
font:
|
|
367
|
-
fontFamily: string;
|
|
368
|
-
fontWeight: number;
|
|
369
|
-
fontSize: string;
|
|
370
|
-
fontStyle: string;
|
|
371
|
-
lineHeight: number;
|
|
372
|
-
letterSpacing: string;
|
|
373
|
-
};
|
|
156
|
+
font: string;
|
|
374
157
|
letterSpacing: string;
|
|
375
158
|
fontWidth: number;
|
|
376
159
|
};
|
|
377
160
|
'body-compact-italic-xl': {
|
|
378
|
-
font:
|
|
379
|
-
fontFamily: string;
|
|
380
|
-
fontWeight: number;
|
|
381
|
-
fontSize: string;
|
|
382
|
-
fontStyle: string;
|
|
383
|
-
lineHeight: number;
|
|
384
|
-
letterSpacing: string;
|
|
385
|
-
};
|
|
161
|
+
font: string;
|
|
386
162
|
letterSpacing: string;
|
|
387
163
|
fontWidth: number;
|
|
388
164
|
};
|
|
389
165
|
'meta-md': {
|
|
390
|
-
font:
|
|
391
|
-
fontFamily: string;
|
|
392
|
-
fontWeight: number;
|
|
393
|
-
fontSize: string;
|
|
394
|
-
fontStyle: string;
|
|
395
|
-
lineHeight: number;
|
|
396
|
-
letterSpacing: string;
|
|
397
|
-
};
|
|
166
|
+
font: string;
|
|
398
167
|
letterSpacing: string;
|
|
399
168
|
fontWidth: number;
|
|
400
169
|
};
|
|
401
170
|
'meta-compact-md': {
|
|
402
|
-
font:
|
|
403
|
-
fontFamily: string;
|
|
404
|
-
fontWeight: number;
|
|
405
|
-
fontSize: string;
|
|
406
|
-
fontStyle: string;
|
|
407
|
-
lineHeight: number;
|
|
408
|
-
letterSpacing: string;
|
|
409
|
-
};
|
|
171
|
+
font: string;
|
|
410
172
|
letterSpacing: string;
|
|
411
173
|
fontWidth: number;
|
|
412
174
|
};
|
|
413
175
|
'article-body-md': {
|
|
414
|
-
font:
|
|
415
|
-
fontFamily: string;
|
|
416
|
-
fontWeight: number;
|
|
417
|
-
fontSize: string;
|
|
418
|
-
fontStyle: string;
|
|
419
|
-
lineHeight: number;
|
|
420
|
-
letterSpacing: string;
|
|
421
|
-
};
|
|
176
|
+
font: string;
|
|
422
177
|
letterSpacing: string;
|
|
423
178
|
fontWidth: number;
|
|
424
179
|
};
|
|
425
180
|
'article-body-bold-md': {
|
|
426
|
-
font:
|
|
427
|
-
fontFamily: string;
|
|
428
|
-
fontWeight: number;
|
|
429
|
-
fontSize: string;
|
|
430
|
-
fontStyle: string;
|
|
431
|
-
lineHeight: number;
|
|
432
|
-
letterSpacing: string;
|
|
433
|
-
};
|
|
181
|
+
font: string;
|
|
434
182
|
letterSpacing: string;
|
|
435
183
|
fontWidth: number;
|
|
436
184
|
};
|
|
437
185
|
'article-body-italic-md': {
|
|
438
|
-
font:
|
|
439
|
-
fontFamily: string;
|
|
440
|
-
fontWeight: number;
|
|
441
|
-
fontSize: string;
|
|
442
|
-
fontStyle: string;
|
|
443
|
-
lineHeight: number;
|
|
444
|
-
letterSpacing: string;
|
|
445
|
-
};
|
|
186
|
+
font: string;
|
|
446
187
|
letterSpacing: string;
|
|
447
188
|
fontWidth: number;
|
|
448
189
|
};
|
|
449
190
|
'article-body-bold-italic-md': {
|
|
450
|
-
font:
|
|
451
|
-
fontFamily: string;
|
|
452
|
-
fontWeight: number;
|
|
453
|
-
fontSize: string;
|
|
454
|
-
fontStyle: string;
|
|
455
|
-
lineHeight: number;
|
|
456
|
-
letterSpacing: string;
|
|
457
|
-
};
|
|
191
|
+
font: string;
|
|
458
192
|
letterSpacing: string;
|
|
459
193
|
fontWidth: number;
|
|
460
194
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Radius: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Sizing: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Spacing: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SemanticSizingTokens: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -1,15 +1,9 @@
|
|
|
1
|
-
import type { SerializedStyles } from '@emotion/react';
|
|
1
|
+
import type { CSSObject, SerializedStyles } from '@emotion/react';
|
|
2
2
|
type SemanticTypography = {
|
|
3
|
-
font:
|
|
4
|
-
fontFamily: string;
|
|
5
|
-
fontWeight: number;
|
|
6
|
-
fontSize: string;
|
|
7
|
-
fontStyle: string;
|
|
8
|
-
lineHeight: number;
|
|
9
|
-
letterSpacing: string;
|
|
10
|
-
};
|
|
3
|
+
font: string;
|
|
11
4
|
letterSpacing: string;
|
|
12
5
|
fontWidth: number;
|
|
13
6
|
};
|
|
14
|
-
export declare const
|
|
7
|
+
export declare const convertTypographyToEmotionStringStyle: (typography: SemanticTypography) => SerializedStyles;
|
|
8
|
+
export declare const convertTypographyToEmotionObjectStyle: (typography: SemanticTypography) => CSSObject;
|
|
15
9
|
export {};
|