@kiva/kv-tokens 2.10.0 → 2.11.1
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/CHANGELOG.md +32 -0
- package/configs/kivaTypography.cjs +73 -35
- package/configs/tailwind.config.cjs +12 -3
- package/package.json +2 -2
- package/primitives.json +21 -13
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,38 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.11.1](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-tokens@2.11.0...@kiva/kv-tokens@2.11.1) (2024-04-25)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* increate h2 line height ([d30382d](https://github.com/kiva/kv-ui-elements/commit/d30382d99294e3769812f4f3aece645d3fdebf03))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [2.11.0](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-tokens@2.10.0...@kiva/kv-tokens@2.11.0) (2024-04-23)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* adjust type styles for dovetail-mvb 500, adjust font weights to match tailwind naming ([75e32d1](https://github.com/kiva/kv-ui-elements/commit/75e32d110b0c0c99fce77366b6bef621bbcd2401))
|
|
23
|
+
* import serif from primitives ([dd96190](https://github.com/kiva/kv-ui-elements/commit/dd961906c359c9d67943ea05762224fd5500ed0a))
|
|
24
|
+
* refine letter spacing to match figma to our dynamic em calculations ([6567f6c](https://github.com/kiva/kv-ui-elements/commit/6567f6c9b147bdab812c006ea9f7c403d5937a8e))
|
|
25
|
+
* remove h6, re-apply letter spacing, remove bold dovetail styles ([163b657](https://github.com/kiva/kv-ui-elements/commit/163b65793cd1490210368f5fac9325a881e11354))
|
|
26
|
+
* set h3 bold, remove unused italic/em element style ([9835f05](https://github.com/kiva/kv-ui-elements/commit/9835f05358f03cc8903db835b95dd7dd03399aba))
|
|
27
|
+
* testing baseline configs for including new dovetail webfont ([7079590](https://github.com/kiva/kv-ui-elements/commit/7079590f9b3ab0bbfb91b81ab6aa98fd4ae2f113))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Features
|
|
31
|
+
|
|
32
|
+
* implement kiva ecosystem default type styles ([c87d6fc](https://github.com/kiva/kv-ui-elements/commit/c87d6fc700cb130a4c55b0723438a89202c985ee))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
6
38
|
# [2.10.0](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-tokens@2.9.0...@kiva/kv-tokens@2.10.0) (2023-09-07)
|
|
7
39
|
|
|
8
40
|
|
|
@@ -2,6 +2,7 @@ const { rem, em } = require('./util.cjs');
|
|
|
2
2
|
const designtokens = require('../primitives.json');
|
|
3
3
|
|
|
4
4
|
const {
|
|
5
|
+
fonts,
|
|
5
6
|
fontSizes,
|
|
6
7
|
fontWeights,
|
|
7
8
|
letterSpacings,
|
|
@@ -14,24 +15,29 @@ const {
|
|
|
14
15
|
WEB FONT DEFINITIONS
|
|
15
16
|
*/
|
|
16
17
|
const webFonts = [
|
|
18
|
+
// Note corresponding font weight in Tailwind is "normal"
|
|
17
19
|
{
|
|
18
20
|
'@font-face': {
|
|
19
21
|
fontFamily: 'PostGrotesk',
|
|
20
22
|
fontWeight: '400',
|
|
21
23
|
fontStyle: 'normal',
|
|
22
24
|
fontDisplay: 'swap',
|
|
25
|
+
// eslint-disable-next-line max-len
|
|
23
26
|
src: 'url(//www-kiva-org.freetls.fastly.net/static/fonts/PostGrotesk-Medium.8c8a585.woff2) format(\'woff2\')',
|
|
24
27
|
},
|
|
25
28
|
},
|
|
29
|
+
// Note corresponding font weight in Tailwind is "normal"
|
|
26
30
|
{
|
|
27
31
|
'@font-face': {
|
|
28
32
|
fontFamily: 'PostGrotesk',
|
|
29
33
|
fontWeight: '400',
|
|
30
34
|
fontStyle: 'italic',
|
|
31
35
|
fontDisplay: 'swap',
|
|
36
|
+
// eslint-disable-next-line max-len
|
|
32
37
|
src: 'url(//www-kiva-org.freetls.fastly.net/static/fonts/PostGrotesk-MediumItalic.133f41d.woff2) format(\'woff2\')',
|
|
33
38
|
},
|
|
34
39
|
},
|
|
40
|
+
// Note corresponding font weight in Tailwind is "light"
|
|
35
41
|
{
|
|
36
42
|
'@font-face': {
|
|
37
43
|
fontFamily: 'PostGrotesk',
|
|
@@ -41,12 +47,14 @@ const webFonts = [
|
|
|
41
47
|
src: 'url(//www-kiva-org.freetls.fastly.net/static/fonts/PostGrotesk-Book.246fc8e.woff2) format(\'woff2\')',
|
|
42
48
|
},
|
|
43
49
|
},
|
|
50
|
+
// Note corresponding font weight in Tailwind is "light"
|
|
44
51
|
{
|
|
45
52
|
'@font-face': {
|
|
46
53
|
fontFamily: 'PostGrotesk',
|
|
47
54
|
fontWeight: '300',
|
|
48
55
|
fontStyle: 'italic',
|
|
49
56
|
fontDisplay: 'swap',
|
|
57
|
+
// eslint-disable-next-line max-len
|
|
50
58
|
src: 'url(//www-kiva-org.freetls.fastly.net/static/fonts/PostGrotesk-BookItalic.4d06d39.woff2) format(\'woff2\')',
|
|
51
59
|
},
|
|
52
60
|
},
|
|
@@ -60,9 +68,10 @@ const textBaseColor = 'rgb(var(--text-primary))';
|
|
|
60
68
|
*/
|
|
61
69
|
const textStyles = (() => {
|
|
62
70
|
const textJumbo = {
|
|
71
|
+
fontFamily: fonts.serif,
|
|
63
72
|
fontWeight: fontWeights.medium,
|
|
64
73
|
fontSize: rem(fontSizes.jumbo.sm),
|
|
65
|
-
letterSpacing: letterSpacings['-
|
|
74
|
+
letterSpacing: letterSpacings['-1'],
|
|
66
75
|
lineHeight: lineHeights.tight,
|
|
67
76
|
'@screen md': {
|
|
68
77
|
fontSize: rem(fontSizes.jumbo.md),
|
|
@@ -73,54 +82,51 @@ const textStyles = (() => {
|
|
|
73
82
|
};
|
|
74
83
|
|
|
75
84
|
const textH1 = {
|
|
85
|
+
fontFamily: fonts.serif,
|
|
76
86
|
fontSize: rem(fontSizes.h1.sm),
|
|
77
87
|
fontWeight: fontWeights.medium,
|
|
78
|
-
letterSpacing: em(letterSpacings['-0.
|
|
88
|
+
letterSpacing: em(letterSpacings['-0.5'], fontSizes.h1.md),
|
|
79
89
|
lineHeight: lineHeights.tight,
|
|
80
90
|
'@screen md': {
|
|
81
91
|
fontSize: rem(fontSizes.h1.md),
|
|
82
|
-
letterSpacing: em(letterSpacings['-1'], fontSizes.h1.md),
|
|
83
92
|
},
|
|
84
93
|
'@screen lg': {
|
|
85
94
|
fontSize: rem(fontSizes.h1.lg),
|
|
86
|
-
letterSpacing: em(letterSpacings['-2'], fontSizes.h1.lg),
|
|
87
95
|
},
|
|
88
96
|
};
|
|
89
97
|
|
|
90
98
|
const textH2 = {
|
|
99
|
+
fontFamily: fonts.serif,
|
|
91
100
|
fontSize: rem(fontSizes.h2.sm),
|
|
92
101
|
fontWeight: fontWeights.medium,
|
|
93
|
-
letterSpacing: em(letterSpacings
|
|
94
|
-
lineHeight: lineHeights.
|
|
102
|
+
letterSpacing: em(letterSpacings.normal, fontSizes.h2.sm),
|
|
103
|
+
lineHeight: lineHeights.normal,
|
|
95
104
|
'@screen md': {
|
|
96
105
|
fontSize: rem(fontSizes.h2.md),
|
|
97
|
-
letterSpacing: em(letterSpacings['-
|
|
106
|
+
letterSpacing: em(letterSpacings['-0.3'], fontSizes.h2.md),
|
|
98
107
|
},
|
|
99
108
|
'@screen lg': {
|
|
100
109
|
fontSize: rem(fontSizes.h2.lg),
|
|
101
|
-
letterSpacing: em(letterSpacings['-
|
|
102
|
-
lineHeight: lineHeights.normal,
|
|
110
|
+
letterSpacing: em(letterSpacings['-0.3'], fontSizes.h2.lg),
|
|
103
111
|
},
|
|
104
112
|
};
|
|
105
113
|
|
|
106
114
|
const textH3 = {
|
|
107
115
|
fontSize: rem(fontSizes.h3.sm),
|
|
108
|
-
fontWeight: fontWeights.
|
|
109
|
-
letterSpacing: em(letterSpacings['-
|
|
116
|
+
fontWeight: fontWeights.normal,
|
|
117
|
+
letterSpacing: em(letterSpacings['-0.3'], fontSizes.h3.sm),
|
|
110
118
|
lineHeight: lineHeights.tight,
|
|
111
119
|
'@screen md': {
|
|
112
120
|
fontSize: rem(fontSizes.h3.md),
|
|
113
|
-
letterSpacing: em(letterSpacings['-0.3'], fontSizes.h3.md),
|
|
114
121
|
},
|
|
115
122
|
'@screen lg': {
|
|
116
123
|
fontSize: rem(fontSizes.h3.lg),
|
|
117
|
-
letterSpacing: em(letterSpacings['-1'], fontSizes.h3.lg),
|
|
118
124
|
},
|
|
119
125
|
};
|
|
120
126
|
|
|
121
127
|
const textH4 = {
|
|
122
128
|
fontSize: rem(fontSizes.h4.sm),
|
|
123
|
-
fontWeight: fontWeights.
|
|
129
|
+
fontWeight: fontWeights.normal,
|
|
124
130
|
lineHeight: lineHeights.normal,
|
|
125
131
|
textTransform: 'uppercase',
|
|
126
132
|
'@screen md': {
|
|
@@ -131,27 +137,36 @@ const textStyles = (() => {
|
|
|
131
137
|
},
|
|
132
138
|
};
|
|
133
139
|
|
|
140
|
+
const textH5 = {
|
|
141
|
+
fontFamily: fonts.sans,
|
|
142
|
+
fontSize: rem(fontSizes.h4.sm),
|
|
143
|
+
fontWeight: fontWeights.normal,
|
|
144
|
+
letterSpacing: em(letterSpacings.normal, fontSizes.subhead.sm),
|
|
145
|
+
lineHeight: lineHeights['nearly-none'],
|
|
146
|
+
};
|
|
147
|
+
|
|
134
148
|
const textSubhead = {
|
|
149
|
+
fontFamily: fonts.sans,
|
|
135
150
|
fontSize: rem(fontSizes.subhead.sm),
|
|
136
|
-
fontWeight: fontWeights.
|
|
137
|
-
letterSpacing: em(letterSpacings
|
|
138
|
-
lineHeight: lineHeights.
|
|
151
|
+
fontWeight: fontWeights.light,
|
|
152
|
+
letterSpacing: em(letterSpacings.normal, fontSizes.subhead.sm),
|
|
153
|
+
lineHeight: lineHeights.tight,
|
|
139
154
|
'@screen md': {
|
|
140
155
|
fontSize: rem(fontSizes.subhead.md),
|
|
141
|
-
letterSpacing: em(letterSpacings['-0.5'], fontSizes.subhead.md),
|
|
142
156
|
},
|
|
143
157
|
'@screen lg': {
|
|
144
158
|
fontSize: rem(fontSizes.subhead.lg),
|
|
145
|
-
letterSpacing: em(letterSpacings['-0.5'], fontSizes.subhead.lg),
|
|
146
159
|
},
|
|
147
160
|
};
|
|
148
161
|
|
|
149
162
|
const textBase = {
|
|
150
|
-
fontWeight: fontWeights.
|
|
163
|
+
fontWeight: fontWeights.light,
|
|
151
164
|
fontSize: rem(fontSizes.base.sm),
|
|
165
|
+
letterSpacing: em(letterSpacings.normal, fontSizes.base.sm),
|
|
152
166
|
lineHeight: lineHeights.normal,
|
|
153
167
|
'@screen lg': {
|
|
154
168
|
fontSize: rem(fontSizes.base.lg),
|
|
169
|
+
letterSpacing: em(letterSpacings.normal, fontSizes.base.sm),
|
|
155
170
|
},
|
|
156
171
|
};
|
|
157
172
|
|
|
@@ -175,7 +190,22 @@ const textStyles = (() => {
|
|
|
175
190
|
const textPlaceholder = {
|
|
176
191
|
color: 'rgb(var(--text-tertiary))',
|
|
177
192
|
opacity: 1,
|
|
178
|
-
fontWeight: fontWeights.
|
|
193
|
+
fontWeight: fontWeights.light,
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
const textBlockquote = {
|
|
197
|
+
fontFamily: fonts.serif,
|
|
198
|
+
fontSize: rem(fontSizes.h2.sm),
|
|
199
|
+
fontStyle: 'italic',
|
|
200
|
+
fontWeight: fontWeights.medium,
|
|
201
|
+
letterSpacing: em(letterSpacings['-0.5'], fontSizes.h2.sm),
|
|
202
|
+
lineHeight: lineHeights.tight,
|
|
203
|
+
'@screen md': {
|
|
204
|
+
fontSize: rem(fontSizes.h2.md),
|
|
205
|
+
},
|
|
206
|
+
'@screen lg': {
|
|
207
|
+
fontSize: rem(fontSizes.h2.lg),
|
|
208
|
+
},
|
|
179
209
|
};
|
|
180
210
|
|
|
181
211
|
return {
|
|
@@ -184,11 +214,13 @@ const textStyles = (() => {
|
|
|
184
214
|
textH2,
|
|
185
215
|
textH3,
|
|
186
216
|
textH4,
|
|
217
|
+
textH5,
|
|
187
218
|
textSubhead,
|
|
188
219
|
textBase,
|
|
189
220
|
textSmall,
|
|
190
221
|
textLink,
|
|
191
222
|
textPlaceholder,
|
|
223
|
+
textBlockquote,
|
|
192
224
|
};
|
|
193
225
|
})();
|
|
194
226
|
|
|
@@ -260,39 +292,45 @@ const proseOverrides = () => ({
|
|
|
260
292
|
fontSize: false,
|
|
261
293
|
lineHeight: false,
|
|
262
294
|
p: {
|
|
263
|
-
marginTop: rem(space[
|
|
264
|
-
marginBottom: rem(space[
|
|
295
|
+
marginTop: rem(space[2]),
|
|
296
|
+
marginBottom: rem(space[2]),
|
|
265
297
|
},
|
|
266
298
|
blockquote: {
|
|
267
|
-
marginTop: rem(space[
|
|
268
|
-
marginBottom: rem(space[
|
|
299
|
+
marginTop: rem(space[2]),
|
|
300
|
+
marginBottom: rem(space[2]),
|
|
269
301
|
padding: `0 0 0 ${rem(space['6'])}`,
|
|
270
302
|
},
|
|
271
303
|
h1: {
|
|
272
304
|
fontSize: false,
|
|
273
305
|
letterSpacing: false,
|
|
274
306
|
marginTop: '0',
|
|
275
|
-
marginBottom: rem(space[
|
|
307
|
+
marginBottom: rem(space[2]),
|
|
276
308
|
color: textBaseColor,
|
|
277
309
|
},
|
|
278
310
|
h2: {
|
|
279
311
|
fontSize: false,
|
|
280
312
|
letterSpacing: false,
|
|
281
|
-
marginTop: rem(space[
|
|
282
|
-
marginBottom: rem(space[
|
|
313
|
+
marginTop: rem(space[2]),
|
|
314
|
+
marginBottom: rem(space[2]),
|
|
283
315
|
color: textBaseColor,
|
|
284
316
|
},
|
|
285
317
|
h3: {
|
|
286
318
|
fontSize: false,
|
|
287
319
|
letterSpacing: false,
|
|
288
|
-
marginTop: rem(space[
|
|
320
|
+
marginTop: rem(space[2]),
|
|
289
321
|
marginBottom: rem(space[2]),
|
|
290
322
|
color: textBaseColor,
|
|
291
323
|
},
|
|
292
324
|
h4: {
|
|
293
325
|
letterSpacing: false,
|
|
294
326
|
marginTop: false,
|
|
295
|
-
marginBottom: rem(space[
|
|
327
|
+
marginBottom: rem(space[2]),
|
|
328
|
+
color: textBaseColor,
|
|
329
|
+
},
|
|
330
|
+
h5: {
|
|
331
|
+
letterSpacing: false,
|
|
332
|
+
marginTop: false,
|
|
333
|
+
marginBottom: rem(space[2]),
|
|
296
334
|
color: textBaseColor,
|
|
297
335
|
},
|
|
298
336
|
img: false,
|
|
@@ -308,7 +346,7 @@ const proseOverrides = () => ({
|
|
|
308
346
|
'figure figcaption': {
|
|
309
347
|
fontSize: false,
|
|
310
348
|
lineHeight: false,
|
|
311
|
-
marginTop: rem(space[
|
|
349
|
+
marginTop: rem(space[2]),
|
|
312
350
|
},
|
|
313
351
|
code: false,
|
|
314
352
|
'code::before': false,
|
|
@@ -329,16 +367,16 @@ const proseOverrides = () => ({
|
|
|
329
367
|
},
|
|
330
368
|
'pre code': false,
|
|
331
369
|
ol: {
|
|
332
|
-
marginTop: rem(space[
|
|
333
|
-
marginBottom: rem(space[
|
|
370
|
+
marginTop: rem(space[2]),
|
|
371
|
+
marginBottom: rem(space[2]),
|
|
334
372
|
paddingLeft: em(18, 16),
|
|
335
373
|
},
|
|
336
374
|
'ol > li': {
|
|
337
375
|
paddingLeft: em(10, 16),
|
|
338
376
|
},
|
|
339
377
|
ul: {
|
|
340
|
-
marginTop: rem(space[
|
|
341
|
-
marginBottom: rem(space[
|
|
378
|
+
marginTop: rem(space[2]),
|
|
379
|
+
marginBottom: rem(space[2]),
|
|
342
380
|
paddingLeft: em(18, 16),
|
|
343
381
|
},
|
|
344
382
|
'ul > li': {
|
|
@@ -74,10 +74,16 @@ module.exports = {
|
|
|
74
74
|
16: rem(space['16']),
|
|
75
75
|
},
|
|
76
76
|
fontFamily: {
|
|
77
|
+
// eslint-disable-next-line max-len
|
|
77
78
|
sans: [`${fonts.sans}, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif`],
|
|
79
|
+
// eslint-disable-next-line max-len
|
|
80
|
+
serif: [`${fonts.serif}, ui-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Palatino', Georgia, 'Times New Roman', serif`],
|
|
78
81
|
},
|
|
79
82
|
fontWeight: {
|
|
80
|
-
book
|
|
83
|
+
// Keeping "book" defined here for backwards compatibility
|
|
84
|
+
book: `${fontWeights.light}`,
|
|
85
|
+
light: `${fontWeights.light}`,
|
|
86
|
+
normal: `${fontWeights.normal}`,
|
|
81
87
|
medium: `${fontWeights.medium}`,
|
|
82
88
|
},
|
|
83
89
|
borderWidth: {
|
|
@@ -192,18 +198,19 @@ module.exports = {
|
|
|
192
198
|
h2: textStyles.textH2,
|
|
193
199
|
h3: textStyles.textH3,
|
|
194
200
|
h4: textStyles.textH4,
|
|
201
|
+
h5: textStyles.textH5,
|
|
195
202
|
small: textStyles.textSmall,
|
|
196
203
|
code: {
|
|
197
204
|
fontSize: '0.875em',
|
|
198
205
|
},
|
|
199
|
-
blockquote: textStyles.
|
|
206
|
+
blockquote: textStyles.textBlockquote,
|
|
200
207
|
'figure figcaption': textStyles.textSmall,
|
|
201
208
|
'button:focus': {
|
|
202
209
|
outline: 'revert', // undo tailwind button focus styling
|
|
203
210
|
},
|
|
204
211
|
a: textStyles.textLink,
|
|
205
212
|
'strong, b': {
|
|
206
|
-
fontWeight: fontWeights.
|
|
213
|
+
fontWeight: fontWeights.normal,
|
|
207
214
|
},
|
|
208
215
|
hr: {
|
|
209
216
|
borderColor: colors.gray['500'],
|
|
@@ -226,10 +233,12 @@ module.exports = {
|
|
|
226
233
|
'.text-h2': textStyles.textH2,
|
|
227
234
|
'.text-h3': textStyles.textH3,
|
|
228
235
|
'.text-h4': textStyles.textH4,
|
|
236
|
+
'.text-h5': textStyles.textH5,
|
|
229
237
|
'.text-subhead': textStyles.textSubhead,
|
|
230
238
|
'.text-jumbo': textStyles.textJumbo,
|
|
231
239
|
'.text-small': textStyles.textSmall,
|
|
232
240
|
'.text-link': textStyles.textLink,
|
|
241
|
+
'.text-blockquote': textStyles.textBlockquote,
|
|
233
242
|
}, ['responsive']);
|
|
234
243
|
}),
|
|
235
244
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-tokens",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -16,5 +16,5 @@
|
|
|
16
16
|
"@tailwindcss/typography": "^0.5.1",
|
|
17
17
|
"tailwindcss": "^3.0.18"
|
|
18
18
|
},
|
|
19
|
-
"gitHead": "
|
|
19
|
+
"gitHead": "73b73507755589f1da39f60a50875e4784801ed3"
|
|
20
20
|
}
|
package/primitives.json
CHANGED
|
@@ -190,7 +190,8 @@
|
|
|
190
190
|
"16": 128
|
|
191
191
|
},
|
|
192
192
|
"fonts": {
|
|
193
|
-
"sans": "PostGrotesk"
|
|
193
|
+
"sans": "PostGrotesk",
|
|
194
|
+
"serif": "dovetail-mvb"
|
|
194
195
|
},
|
|
195
196
|
"fontSizes": {
|
|
196
197
|
"base": {
|
|
@@ -199,9 +200,9 @@
|
|
|
199
200
|
"lg": 17
|
|
200
201
|
},
|
|
201
202
|
"jumbo": {
|
|
202
|
-
"sm":
|
|
203
|
-
"md":
|
|
204
|
-
"lg":
|
|
203
|
+
"sm": 42,
|
|
204
|
+
"md": 48,
|
|
205
|
+
"lg": 72
|
|
205
206
|
},
|
|
206
207
|
"small": {
|
|
207
208
|
"sm": 13,
|
|
@@ -209,36 +210,43 @@
|
|
|
209
210
|
"lg": 14
|
|
210
211
|
},
|
|
211
212
|
"h1": {
|
|
212
|
-
"sm":
|
|
213
|
-
"md":
|
|
214
|
-
"lg":
|
|
213
|
+
"sm": 36,
|
|
214
|
+
"md": 40,
|
|
215
|
+
"lg": 48
|
|
215
216
|
},
|
|
216
217
|
"h2": {
|
|
217
|
-
"sm":
|
|
218
|
+
"sm": 28,
|
|
218
219
|
"md": 28,
|
|
219
220
|
"lg": 32
|
|
220
221
|
},
|
|
221
222
|
"h3": {
|
|
222
|
-
"sm":
|
|
223
|
+
"sm": 22,
|
|
223
224
|
"md": 22,
|
|
224
225
|
"lg": 24
|
|
225
226
|
},
|
|
226
227
|
"h4": {
|
|
227
|
-
"sm":
|
|
228
|
+
"sm": 14,
|
|
228
229
|
"md": 14,
|
|
229
230
|
"lg": 14
|
|
230
231
|
},
|
|
232
|
+
"h5": {
|
|
233
|
+
"sm": 13,
|
|
234
|
+
"md": 13,
|
|
235
|
+
"lg": 14
|
|
236
|
+
},
|
|
231
237
|
"subhead": {
|
|
232
|
-
"sm":
|
|
238
|
+
"sm": 22,
|
|
233
239
|
"md": 22,
|
|
234
240
|
"lg": 24
|
|
235
241
|
}
|
|
236
242
|
},
|
|
237
243
|
"fontWeights": {
|
|
238
|
-
"
|
|
239
|
-
"
|
|
244
|
+
"light": 300,
|
|
245
|
+
"normal": 400,
|
|
246
|
+
"medium": 500
|
|
240
247
|
},
|
|
241
248
|
"lineHeights": {
|
|
249
|
+
"nearly-none": 1.05,
|
|
242
250
|
"tight": 1.25,
|
|
243
251
|
"normal": 1.5
|
|
244
252
|
},
|