@newskit-render/shared-components 4.5.0 → 4.6.0
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/dist/cjs/theme/sunTheme/fonts.d.ts +9 -26
- package/dist/cjs/theme/sunTheme/typography-presets.d.ts +43 -76
- package/dist/cjs/theme/sunTheme/typography-presets.js +0 -39
- package/dist/cjs/theme/sunTheme/typography-presets.js.map +1 -1
- package/dist/esm/theme/sunTheme/fonts.d.ts +9 -26
- package/dist/esm/theme/sunTheme/typography-presets.d.ts +43 -76
- package/dist/esm/theme/sunTheme/typography-presets.js +0 -39
- package/dist/esm/theme/sunTheme/typography-presets.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
declare const fonts: {
|
|
2
|
-
fontWeight100: number;
|
|
3
|
-
fontWeight200: number;
|
|
4
|
-
fontWeight300: number;
|
|
5
2
|
fontWeight400: number;
|
|
6
3
|
fontWeight500: number;
|
|
7
|
-
fontWeight600: number;
|
|
8
4
|
fontWeight700: number;
|
|
9
|
-
fontWeight800: number;
|
|
10
|
-
fontWeight801: number;
|
|
11
|
-
fontWeight900: number;
|
|
12
5
|
fontFamily010: {
|
|
13
6
|
fontFamily: string;
|
|
14
7
|
};
|
|
@@ -27,33 +20,23 @@ declare const fonts: {
|
|
|
27
20
|
fontSize130: string;
|
|
28
21
|
fontSize140: string;
|
|
29
22
|
fontSize150: string;
|
|
30
|
-
|
|
31
|
-
fontSize170: string;
|
|
32
|
-
fontSize180: string;
|
|
33
|
-
fontSize190: string;
|
|
34
|
-
letterSpacing010: string;
|
|
35
|
-
letterSpacing020: string;
|
|
36
|
-
letterSpacing030: string;
|
|
37
|
-
letterSpacing040: string;
|
|
38
|
-
letterSpacing050: string;
|
|
23
|
+
fontLetterSpacing010: string;
|
|
39
24
|
fontLineHeight010: number;
|
|
40
25
|
fontLineHeight020: number;
|
|
41
26
|
fontLineHeight030: number;
|
|
42
27
|
fontLineHeight040: number;
|
|
43
28
|
fontLineHeight050: number;
|
|
44
29
|
fontLineHeight060: number;
|
|
30
|
+
fontLineHeight070: number;
|
|
31
|
+
fontLineHeight080: number;
|
|
32
|
+
fontLineHeight090: number;
|
|
33
|
+
fontLineHeight100: number;
|
|
34
|
+
fontLineHeight110: number;
|
|
35
|
+
fontLineHeight120: number;
|
|
36
|
+
fontLineHeight130: number;
|
|
37
|
+
fontLineHeight140: number;
|
|
45
38
|
fontStyleNormal: string;
|
|
46
39
|
fontStyleItalic: string;
|
|
47
40
|
fontStyleOblique: string;
|
|
48
|
-
fontStretch010: string;
|
|
49
|
-
fontStretch020: string;
|
|
50
|
-
fontStretch030: string;
|
|
51
|
-
fontStretch031: string;
|
|
52
|
-
fontStretch040: string;
|
|
53
|
-
fontStretch050: string;
|
|
54
|
-
fontStretch060: string;
|
|
55
|
-
fontStretch070: string;
|
|
56
|
-
fontStretch080: string;
|
|
57
|
-
fontStretch090: string;
|
|
58
41
|
};
|
|
59
42
|
export { fonts };
|
|
@@ -1,68 +1,4 @@
|
|
|
1
1
|
declare const typographyPresets: {
|
|
2
|
-
editorialDisplay001: {
|
|
3
|
-
fontFamily: string;
|
|
4
|
-
fontWeight: number;
|
|
5
|
-
lineHeight: number;
|
|
6
|
-
fontSize: string;
|
|
7
|
-
letterSpacing: string;
|
|
8
|
-
fontStretch: string;
|
|
9
|
-
};
|
|
10
|
-
editorialDisplay002: {
|
|
11
|
-
fontFamily: string;
|
|
12
|
-
fontWeight: number;
|
|
13
|
-
lineHeight: number;
|
|
14
|
-
fontSize: string;
|
|
15
|
-
letterSpacing: string;
|
|
16
|
-
fontStretch: string;
|
|
17
|
-
};
|
|
18
|
-
editorialDisplay003: {
|
|
19
|
-
fontFamily: string;
|
|
20
|
-
fontWeight: number;
|
|
21
|
-
lineHeight: number;
|
|
22
|
-
fontSize: string;
|
|
23
|
-
letterSpacing: string;
|
|
24
|
-
fontStretch: string;
|
|
25
|
-
};
|
|
26
|
-
editorialDisplay004: {
|
|
27
|
-
fontFamily: string;
|
|
28
|
-
fontWeight: number;
|
|
29
|
-
lineHeight: number;
|
|
30
|
-
fontSize: string;
|
|
31
|
-
letterSpacing: string;
|
|
32
|
-
fontStretch: string;
|
|
33
|
-
};
|
|
34
|
-
editorialDisplay005: {
|
|
35
|
-
fontFamily: string;
|
|
36
|
-
fontWeight: number;
|
|
37
|
-
lineHeight: number;
|
|
38
|
-
fontSize: string;
|
|
39
|
-
letterSpacing: string;
|
|
40
|
-
fontStretch: string;
|
|
41
|
-
};
|
|
42
|
-
editorialDisplay006: {
|
|
43
|
-
fontFamily: string;
|
|
44
|
-
fontWeight: number;
|
|
45
|
-
lineHeight: number;
|
|
46
|
-
fontSize: string;
|
|
47
|
-
letterSpacing: string;
|
|
48
|
-
fontStretch: string;
|
|
49
|
-
};
|
|
50
|
-
editorialDisplay007: {
|
|
51
|
-
fontFamily: string;
|
|
52
|
-
fontWeight: number;
|
|
53
|
-
lineHeight: number;
|
|
54
|
-
fontSize: string;
|
|
55
|
-
letterSpacing: string;
|
|
56
|
-
fontStretch: string;
|
|
57
|
-
};
|
|
58
|
-
editorialDisplay008: {
|
|
59
|
-
fontFamily: string;
|
|
60
|
-
fontWeight: number;
|
|
61
|
-
lineHeight: number;
|
|
62
|
-
fontSize: string;
|
|
63
|
-
letterSpacing: string;
|
|
64
|
-
fontStretch: string;
|
|
65
|
-
};
|
|
66
2
|
editorialDisplay010: {
|
|
67
3
|
fontFamily: string;
|
|
68
4
|
fontWeight: number;
|
|
@@ -101,6 +37,7 @@ declare const typographyPresets: {
|
|
|
101
37
|
lineHeight: number;
|
|
102
38
|
fontSize: string;
|
|
103
39
|
letterSpacing: string;
|
|
40
|
+
fontStretch: string;
|
|
104
41
|
};
|
|
105
42
|
editorialHeadline020: {
|
|
106
43
|
fontFamily: string;
|
|
@@ -108,13 +45,7 @@ declare const typographyPresets: {
|
|
|
108
45
|
lineHeight: number;
|
|
109
46
|
fontSize: string;
|
|
110
47
|
letterSpacing: string;
|
|
111
|
-
|
|
112
|
-
editorialHeadline025: {
|
|
113
|
-
fontFamily: string;
|
|
114
|
-
fontWeight: number;
|
|
115
|
-
lineHeight: number;
|
|
116
|
-
fontSize: string;
|
|
117
|
-
letterSpacing: string;
|
|
48
|
+
fontStretch: string;
|
|
118
49
|
};
|
|
119
50
|
editorialHeadline030: {
|
|
120
51
|
fontFamily: string;
|
|
@@ -122,6 +53,7 @@ declare const typographyPresets: {
|
|
|
122
53
|
lineHeight: number;
|
|
123
54
|
fontSize: string;
|
|
124
55
|
letterSpacing: string;
|
|
56
|
+
fontStretch: string;
|
|
125
57
|
};
|
|
126
58
|
editorialHeadline040: {
|
|
127
59
|
fontFamily: string;
|
|
@@ -129,6 +61,7 @@ declare const typographyPresets: {
|
|
|
129
61
|
lineHeight: number;
|
|
130
62
|
fontSize: string;
|
|
131
63
|
letterSpacing: string;
|
|
64
|
+
fontStretch: string;
|
|
132
65
|
};
|
|
133
66
|
editorialHeadline050: {
|
|
134
67
|
fontFamily: string;
|
|
@@ -136,6 +69,7 @@ declare const typographyPresets: {
|
|
|
136
69
|
lineHeight: number;
|
|
137
70
|
fontSize: string;
|
|
138
71
|
letterSpacing: string;
|
|
72
|
+
fontStretch: string;
|
|
139
73
|
};
|
|
140
74
|
editorialHeadline060: {
|
|
141
75
|
fontFamily: string;
|
|
@@ -143,6 +77,7 @@ declare const typographyPresets: {
|
|
|
143
77
|
lineHeight: number;
|
|
144
78
|
fontSize: string;
|
|
145
79
|
letterSpacing: string;
|
|
80
|
+
fontStretch: string;
|
|
146
81
|
};
|
|
147
82
|
editorialHeadline070: {
|
|
148
83
|
fontFamily: string;
|
|
@@ -150,6 +85,7 @@ declare const typographyPresets: {
|
|
|
150
85
|
lineHeight: number;
|
|
151
86
|
fontSize: string;
|
|
152
87
|
letterSpacing: string;
|
|
88
|
+
fontStretch: string;
|
|
153
89
|
};
|
|
154
90
|
editorialHeadline080: {
|
|
155
91
|
fontFamily: string;
|
|
@@ -157,6 +93,7 @@ declare const typographyPresets: {
|
|
|
157
93
|
lineHeight: number;
|
|
158
94
|
fontSize: string;
|
|
159
95
|
letterSpacing: string;
|
|
96
|
+
fontStretch: string;
|
|
160
97
|
};
|
|
161
98
|
editorialSubheadline010: {
|
|
162
99
|
fontFamily: string;
|
|
@@ -164,6 +101,7 @@ declare const typographyPresets: {
|
|
|
164
101
|
lineHeight: number;
|
|
165
102
|
fontSize: string;
|
|
166
103
|
letterSpacing: string;
|
|
104
|
+
fontStretch: string;
|
|
167
105
|
};
|
|
168
106
|
editorialSubheadline020: {
|
|
169
107
|
fontFamily: string;
|
|
@@ -171,6 +109,7 @@ declare const typographyPresets: {
|
|
|
171
109
|
lineHeight: number;
|
|
172
110
|
fontSize: string;
|
|
173
111
|
letterSpacing: string;
|
|
112
|
+
fontStretch: string;
|
|
174
113
|
};
|
|
175
114
|
editorialSubheadline030: {
|
|
176
115
|
fontFamily: string;
|
|
@@ -178,6 +117,7 @@ declare const typographyPresets: {
|
|
|
178
117
|
lineHeight: number;
|
|
179
118
|
fontSize: string;
|
|
180
119
|
letterSpacing: string;
|
|
120
|
+
fontStretch: string;
|
|
181
121
|
};
|
|
182
122
|
editorialSubheadline040: {
|
|
183
123
|
fontFamily: string;
|
|
@@ -185,6 +125,7 @@ declare const typographyPresets: {
|
|
|
185
125
|
lineHeight: number;
|
|
186
126
|
fontSize: string;
|
|
187
127
|
letterSpacing: string;
|
|
128
|
+
fontStretch: string;
|
|
188
129
|
};
|
|
189
130
|
editorialSubheadline050: {
|
|
190
131
|
fontFamily: string;
|
|
@@ -192,6 +133,7 @@ declare const typographyPresets: {
|
|
|
192
133
|
lineHeight: number;
|
|
193
134
|
fontSize: string;
|
|
194
135
|
letterSpacing: string;
|
|
136
|
+
fontStretch: string;
|
|
195
137
|
};
|
|
196
138
|
editorialParagraph010: {
|
|
197
139
|
fontFamily: string;
|
|
@@ -199,6 +141,7 @@ declare const typographyPresets: {
|
|
|
199
141
|
lineHeight: number;
|
|
200
142
|
fontSize: string;
|
|
201
143
|
letterSpacing: string;
|
|
144
|
+
fontStretch: string;
|
|
202
145
|
};
|
|
203
146
|
editorialParagraph020: {
|
|
204
147
|
fontFamily: string;
|
|
@@ -206,6 +149,7 @@ declare const typographyPresets: {
|
|
|
206
149
|
lineHeight: number;
|
|
207
150
|
fontSize: string;
|
|
208
151
|
letterSpacing: string;
|
|
152
|
+
fontStretch: string;
|
|
209
153
|
};
|
|
210
154
|
editorialParagraph030: {
|
|
211
155
|
fontFamily: string;
|
|
@@ -213,6 +157,7 @@ declare const typographyPresets: {
|
|
|
213
157
|
lineHeight: number;
|
|
214
158
|
fontSize: string;
|
|
215
159
|
letterSpacing: string;
|
|
160
|
+
fontStretch: string;
|
|
216
161
|
};
|
|
217
162
|
editorialQuote010: {
|
|
218
163
|
fontFamily: string;
|
|
@@ -236,6 +181,7 @@ declare const typographyPresets: {
|
|
|
236
181
|
lineHeight: number;
|
|
237
182
|
fontSize: string;
|
|
238
183
|
letterSpacing: string;
|
|
184
|
+
fontStretch: string;
|
|
239
185
|
};
|
|
240
186
|
editorialLabel010: {
|
|
241
187
|
fontFamily: string;
|
|
@@ -267,6 +213,7 @@ declare const typographyPresets: {
|
|
|
267
213
|
lineHeight: number;
|
|
268
214
|
fontSize: string;
|
|
269
215
|
letterSpacing: string;
|
|
216
|
+
fontStretch: string;
|
|
270
217
|
};
|
|
271
218
|
utilityHeading020: {
|
|
272
219
|
fontFamily: string;
|
|
@@ -274,6 +221,7 @@ declare const typographyPresets: {
|
|
|
274
221
|
lineHeight: number;
|
|
275
222
|
fontSize: string;
|
|
276
223
|
letterSpacing: string;
|
|
224
|
+
fontStretch: string;
|
|
277
225
|
};
|
|
278
226
|
utilityHeading030: {
|
|
279
227
|
fontFamily: string;
|
|
@@ -281,6 +229,7 @@ declare const typographyPresets: {
|
|
|
281
229
|
lineHeight: number;
|
|
282
230
|
fontSize: string;
|
|
283
231
|
letterSpacing: string;
|
|
232
|
+
fontStretch: string;
|
|
284
233
|
};
|
|
285
234
|
utilityHeading040: {
|
|
286
235
|
fontFamily: string;
|
|
@@ -288,6 +237,7 @@ declare const typographyPresets: {
|
|
|
288
237
|
lineHeight: number;
|
|
289
238
|
fontSize: string;
|
|
290
239
|
letterSpacing: string;
|
|
240
|
+
fontStretch: string;
|
|
291
241
|
};
|
|
292
242
|
utilityHeading050: {
|
|
293
243
|
fontFamily: string;
|
|
@@ -295,41 +245,47 @@ declare const typographyPresets: {
|
|
|
295
245
|
lineHeight: number;
|
|
296
246
|
fontSize: string;
|
|
297
247
|
letterSpacing: string;
|
|
248
|
+
fontStretch: string;
|
|
298
249
|
};
|
|
299
|
-
|
|
250
|
+
utilitySubheadline010: {
|
|
300
251
|
fontFamily: string;
|
|
301
252
|
fontWeight: number;
|
|
302
253
|
lineHeight: number;
|
|
303
254
|
fontSize: string;
|
|
304
255
|
letterSpacing: string;
|
|
256
|
+
fontStretch: string;
|
|
305
257
|
};
|
|
306
|
-
|
|
258
|
+
utilitySubheadline020: {
|
|
307
259
|
fontFamily: string;
|
|
308
260
|
fontWeight: number;
|
|
309
261
|
lineHeight: number;
|
|
310
262
|
fontSize: string;
|
|
311
263
|
letterSpacing: string;
|
|
264
|
+
fontStretch: string;
|
|
312
265
|
};
|
|
313
|
-
|
|
266
|
+
utilitySubheadline030: {
|
|
314
267
|
fontFamily: string;
|
|
315
268
|
fontWeight: number;
|
|
316
269
|
lineHeight: number;
|
|
317
270
|
fontSize: string;
|
|
318
271
|
letterSpacing: string;
|
|
272
|
+
fontStretch: string;
|
|
319
273
|
};
|
|
320
|
-
|
|
274
|
+
utilitySubheadline040: {
|
|
321
275
|
fontFamily: string;
|
|
322
276
|
fontWeight: number;
|
|
323
277
|
lineHeight: number;
|
|
324
278
|
fontSize: string;
|
|
325
279
|
letterSpacing: string;
|
|
280
|
+
fontStretch: string;
|
|
326
281
|
};
|
|
327
|
-
|
|
282
|
+
utilitySubheadline050: {
|
|
328
283
|
fontFamily: string;
|
|
329
284
|
fontWeight: number;
|
|
330
285
|
lineHeight: number;
|
|
331
286
|
fontSize: string;
|
|
332
287
|
letterSpacing: string;
|
|
288
|
+
fontStretch: string;
|
|
333
289
|
};
|
|
334
290
|
utilityBody010: {
|
|
335
291
|
fontFamily: string;
|
|
@@ -337,6 +293,7 @@ declare const typographyPresets: {
|
|
|
337
293
|
lineHeight: number;
|
|
338
294
|
fontSize: string;
|
|
339
295
|
letterSpacing: string;
|
|
296
|
+
fontStretch: string;
|
|
340
297
|
};
|
|
341
298
|
utilityBody020: {
|
|
342
299
|
fontFamily: string;
|
|
@@ -344,6 +301,7 @@ declare const typographyPresets: {
|
|
|
344
301
|
lineHeight: number;
|
|
345
302
|
fontSize: string;
|
|
346
303
|
letterSpacing: string;
|
|
304
|
+
fontStretch: string;
|
|
347
305
|
};
|
|
348
306
|
utilityBody030: {
|
|
349
307
|
fontFamily: string;
|
|
@@ -351,6 +309,7 @@ declare const typographyPresets: {
|
|
|
351
309
|
lineHeight: number;
|
|
352
310
|
fontSize: string;
|
|
353
311
|
letterSpacing: string;
|
|
312
|
+
fontStretch: string;
|
|
354
313
|
};
|
|
355
314
|
utilityLabel010: {
|
|
356
315
|
fontFamily: string;
|
|
@@ -358,6 +317,7 @@ declare const typographyPresets: {
|
|
|
358
317
|
lineHeight: number;
|
|
359
318
|
fontSize: string;
|
|
360
319
|
letterSpacing: string;
|
|
320
|
+
fontStretch: string;
|
|
361
321
|
};
|
|
362
322
|
utilityLabel020: {
|
|
363
323
|
fontFamily: string;
|
|
@@ -365,6 +325,7 @@ declare const typographyPresets: {
|
|
|
365
325
|
lineHeight: number;
|
|
366
326
|
fontSize: string;
|
|
367
327
|
letterSpacing: string;
|
|
328
|
+
fontStretch: string;
|
|
368
329
|
};
|
|
369
330
|
utilityLabel030: {
|
|
370
331
|
fontFamily: string;
|
|
@@ -372,6 +333,7 @@ declare const typographyPresets: {
|
|
|
372
333
|
lineHeight: number;
|
|
373
334
|
fontSize: string;
|
|
374
335
|
letterSpacing: string;
|
|
336
|
+
fontStretch: string;
|
|
375
337
|
};
|
|
376
338
|
utilityButton010: {
|
|
377
339
|
fontFamily: string;
|
|
@@ -379,6 +341,7 @@ declare const typographyPresets: {
|
|
|
379
341
|
lineHeight: number;
|
|
380
342
|
fontSize: string;
|
|
381
343
|
letterSpacing: string;
|
|
344
|
+
fontStretch: string;
|
|
382
345
|
};
|
|
383
346
|
utilityButton020: {
|
|
384
347
|
fontFamily: string;
|
|
@@ -386,6 +349,7 @@ declare const typographyPresets: {
|
|
|
386
349
|
lineHeight: number;
|
|
387
350
|
fontSize: string;
|
|
388
351
|
letterSpacing: string;
|
|
352
|
+
fontStretch: string;
|
|
389
353
|
};
|
|
390
354
|
utilityButton030: {
|
|
391
355
|
fontFamily: string;
|
|
@@ -393,6 +357,7 @@ declare const typographyPresets: {
|
|
|
393
357
|
lineHeight: number;
|
|
394
358
|
fontSize: string;
|
|
395
359
|
letterSpacing: string;
|
|
360
|
+
fontStretch: string;
|
|
396
361
|
};
|
|
397
362
|
utilityMeta010: {
|
|
398
363
|
fontFamily: string;
|
|
@@ -400,6 +365,7 @@ declare const typographyPresets: {
|
|
|
400
365
|
lineHeight: number;
|
|
401
366
|
fontSize: string;
|
|
402
367
|
letterSpacing: string;
|
|
368
|
+
fontStretch: string;
|
|
403
369
|
};
|
|
404
370
|
utilityMeta020: {
|
|
405
371
|
fontFamily: string;
|
|
@@ -407,6 +373,7 @@ declare const typographyPresets: {
|
|
|
407
373
|
lineHeight: number;
|
|
408
374
|
fontSize: string;
|
|
409
375
|
letterSpacing: string;
|
|
376
|
+
fontStretch: string;
|
|
410
377
|
};
|
|
411
378
|
};
|
|
412
379
|
export { typographyPresets };
|
|
@@ -7,30 +7,6 @@ exports.typographyPresets = void 0;
|
|
|
7
7
|
var TheSun_light_json_1 = __importDefault(require("@newskit-themes/the-sun/TheSun-light.json"));
|
|
8
8
|
var typographyPresets = TheSun_light_json_1.default.typographyPresets;
|
|
9
9
|
exports.typographyPresets = typographyPresets;
|
|
10
|
-
Object.assign(typographyPresets.editorialDisplay001, {
|
|
11
|
-
fontFamily: 'var(--the-sun), "The Sun"',
|
|
12
|
-
});
|
|
13
|
-
Object.assign(typographyPresets.editorialDisplay002, {
|
|
14
|
-
fontFamily: 'var(--the-sun), "The Sun"',
|
|
15
|
-
});
|
|
16
|
-
Object.assign(typographyPresets.editorialDisplay003, {
|
|
17
|
-
fontFamily: 'var(--the-sun), "The Sun"',
|
|
18
|
-
});
|
|
19
|
-
Object.assign(typographyPresets.editorialDisplay004, {
|
|
20
|
-
fontFamily: 'var(--the-sun), "The Sun"',
|
|
21
|
-
});
|
|
22
|
-
Object.assign(typographyPresets.editorialDisplay005, {
|
|
23
|
-
fontFamily: 'var(--the-sun), "The Sun"',
|
|
24
|
-
});
|
|
25
|
-
Object.assign(typographyPresets.editorialDisplay006, {
|
|
26
|
-
fontFamily: 'var(--the-sun), "The Sun"',
|
|
27
|
-
});
|
|
28
|
-
Object.assign(typographyPresets.editorialDisplay007, {
|
|
29
|
-
fontFamily: 'var(--the-sun), "The Sun"',
|
|
30
|
-
});
|
|
31
|
-
Object.assign(typographyPresets.editorialDisplay008, {
|
|
32
|
-
fontFamily: 'var(--the-sun), "The Sun"',
|
|
33
|
-
});
|
|
34
10
|
Object.assign(typographyPresets.editorialDisplay010, {
|
|
35
11
|
fontFamily: 'var(--the-sun), "The Sun"',
|
|
36
12
|
});
|
|
@@ -121,21 +97,6 @@ Object.assign(typographyPresets.utilityHeading040, {
|
|
|
121
97
|
Object.assign(typographyPresets.utilityHeading050, {
|
|
122
98
|
fontFamily: 'var(--the-sun), "The Sun"',
|
|
123
99
|
});
|
|
124
|
-
Object.assign(typographyPresets.utilitySubheading010, {
|
|
125
|
-
fontFamily: 'var(--the-sun), "The Sun"',
|
|
126
|
-
});
|
|
127
|
-
Object.assign(typographyPresets.utilitySubheading020, {
|
|
128
|
-
fontFamily: 'var(--the-sun), "The Sun"',
|
|
129
|
-
});
|
|
130
|
-
Object.assign(typographyPresets.utilitySubheading030, {
|
|
131
|
-
fontFamily: 'var(--the-sun), "The Sun"',
|
|
132
|
-
});
|
|
133
|
-
Object.assign(typographyPresets.utilitySubheading040, {
|
|
134
|
-
fontFamily: 'var(--the-sun), "The Sun"',
|
|
135
|
-
});
|
|
136
|
-
Object.assign(typographyPresets.utilitySubheading050, {
|
|
137
|
-
fontFamily: 'var(--the-sun), "The Sun"',
|
|
138
|
-
});
|
|
139
100
|
Object.assign(typographyPresets.utilityBody010, {
|
|
140
101
|
fontFamily: 'var(--the-sun), "The Sun"',
|
|
141
102
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography-presets.js","sourceRoot":"","sources":["../../../../src/theme/sunTheme/typography-presets.ts"],"names":[],"mappings":";;;;;;AAAA,gGAAmE;AAE3D,IAAA,iBAAiB,GAAK,2BAAW,kBAAhB,CAAgB;
|
|
1
|
+
{"version":3,"file":"typography-presets.js","sourceRoot":"","sources":["../../../../src/theme/sunTheme/typography-presets.ts"],"names":[],"mappings":";;;;;;AAAA,gGAAmE;AAE3D,IAAA,iBAAiB,GAAK,2BAAW,kBAAhB,CAAgB;AA8HhC,8CAAiB;AA5H1B,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,mBAAmB,EAAE;IACnD,UAAU,EAAE,2BAA2B;CACxC,CAAC,CAAA;AACF,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,mBAAmB,EAAE;IACnD,UAAU,EAAE,2BAA2B;CACxC,CAAC,CAAA;AACF,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,mBAAmB,EAAE;IACnD,UAAU,EAAE,2BAA2B;CACxC,CAAC,CAAA;AACF,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,oBAAoB,EAAE;IACpD,UAAU,EAAE,2BAA2B;CACxC,CAAC,CAAA;AACF,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,oBAAoB,EAAE;IACpD,UAAU,EAAE,2BAA2B;CACx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 -1,14 +1,7 @@
|
|
|
1
1
|
declare const fonts: {
|
|
2
|
-
fontWeight100: number;
|
|
3
|
-
fontWeight200: number;
|
|
4
|
-
fontWeight300: number;
|
|
5
2
|
fontWeight400: number;
|
|
6
3
|
fontWeight500: number;
|
|
7
|
-
fontWeight600: number;
|
|
8
4
|
fontWeight700: number;
|
|
9
|
-
fontWeight800: number;
|
|
10
|
-
fontWeight801: number;
|
|
11
|
-
fontWeight900: number;
|
|
12
5
|
fontFamily010: {
|
|
13
6
|
fontFamily: string;
|
|
14
7
|
};
|
|
@@ -27,33 +20,23 @@ declare const fonts: {
|
|
|
27
20
|
fontSize130: string;
|
|
28
21
|
fontSize140: string;
|
|
29
22
|
fontSize150: string;
|
|
30
|
-
|
|
31
|
-
fontSize170: string;
|
|
32
|
-
fontSize180: string;
|
|
33
|
-
fontSize190: string;
|
|
34
|
-
letterSpacing010: string;
|
|
35
|
-
letterSpacing020: string;
|
|
36
|
-
letterSpacing030: string;
|
|
37
|
-
letterSpacing040: string;
|
|
38
|
-
letterSpacing050: string;
|
|
23
|
+
fontLetterSpacing010: string;
|
|
39
24
|
fontLineHeight010: number;
|
|
40
25
|
fontLineHeight020: number;
|
|
41
26
|
fontLineHeight030: number;
|
|
42
27
|
fontLineHeight040: number;
|
|
43
28
|
fontLineHeight050: number;
|
|
44
29
|
fontLineHeight060: number;
|
|
30
|
+
fontLineHeight070: number;
|
|
31
|
+
fontLineHeight080: number;
|
|
32
|
+
fontLineHeight090: number;
|
|
33
|
+
fontLineHeight100: number;
|
|
34
|
+
fontLineHeight110: number;
|
|
35
|
+
fontLineHeight120: number;
|
|
36
|
+
fontLineHeight130: number;
|
|
37
|
+
fontLineHeight140: number;
|
|
45
38
|
fontStyleNormal: string;
|
|
46
39
|
fontStyleItalic: string;
|
|
47
40
|
fontStyleOblique: string;
|
|
48
|
-
fontStretch010: string;
|
|
49
|
-
fontStretch020: string;
|
|
50
|
-
fontStretch030: string;
|
|
51
|
-
fontStretch031: string;
|
|
52
|
-
fontStretch040: string;
|
|
53
|
-
fontStretch050: string;
|
|
54
|
-
fontStretch060: string;
|
|
55
|
-
fontStretch070: string;
|
|
56
|
-
fontStretch080: string;
|
|
57
|
-
fontStretch090: string;
|
|
58
41
|
};
|
|
59
42
|
export { fonts };
|
|
@@ -1,68 +1,4 @@
|
|
|
1
1
|
declare const typographyPresets: {
|
|
2
|
-
editorialDisplay001: {
|
|
3
|
-
fontFamily: string;
|
|
4
|
-
fontWeight: number;
|
|
5
|
-
lineHeight: number;
|
|
6
|
-
fontSize: string;
|
|
7
|
-
letterSpacing: string;
|
|
8
|
-
fontStretch: string;
|
|
9
|
-
};
|
|
10
|
-
editorialDisplay002: {
|
|
11
|
-
fontFamily: string;
|
|
12
|
-
fontWeight: number;
|
|
13
|
-
lineHeight: number;
|
|
14
|
-
fontSize: string;
|
|
15
|
-
letterSpacing: string;
|
|
16
|
-
fontStretch: string;
|
|
17
|
-
};
|
|
18
|
-
editorialDisplay003: {
|
|
19
|
-
fontFamily: string;
|
|
20
|
-
fontWeight: number;
|
|
21
|
-
lineHeight: number;
|
|
22
|
-
fontSize: string;
|
|
23
|
-
letterSpacing: string;
|
|
24
|
-
fontStretch: string;
|
|
25
|
-
};
|
|
26
|
-
editorialDisplay004: {
|
|
27
|
-
fontFamily: string;
|
|
28
|
-
fontWeight: number;
|
|
29
|
-
lineHeight: number;
|
|
30
|
-
fontSize: string;
|
|
31
|
-
letterSpacing: string;
|
|
32
|
-
fontStretch: string;
|
|
33
|
-
};
|
|
34
|
-
editorialDisplay005: {
|
|
35
|
-
fontFamily: string;
|
|
36
|
-
fontWeight: number;
|
|
37
|
-
lineHeight: number;
|
|
38
|
-
fontSize: string;
|
|
39
|
-
letterSpacing: string;
|
|
40
|
-
fontStretch: string;
|
|
41
|
-
};
|
|
42
|
-
editorialDisplay006: {
|
|
43
|
-
fontFamily: string;
|
|
44
|
-
fontWeight: number;
|
|
45
|
-
lineHeight: number;
|
|
46
|
-
fontSize: string;
|
|
47
|
-
letterSpacing: string;
|
|
48
|
-
fontStretch: string;
|
|
49
|
-
};
|
|
50
|
-
editorialDisplay007: {
|
|
51
|
-
fontFamily: string;
|
|
52
|
-
fontWeight: number;
|
|
53
|
-
lineHeight: number;
|
|
54
|
-
fontSize: string;
|
|
55
|
-
letterSpacing: string;
|
|
56
|
-
fontStretch: string;
|
|
57
|
-
};
|
|
58
|
-
editorialDisplay008: {
|
|
59
|
-
fontFamily: string;
|
|
60
|
-
fontWeight: number;
|
|
61
|
-
lineHeight: number;
|
|
62
|
-
fontSize: string;
|
|
63
|
-
letterSpacing: string;
|
|
64
|
-
fontStretch: string;
|
|
65
|
-
};
|
|
66
2
|
editorialDisplay010: {
|
|
67
3
|
fontFamily: string;
|
|
68
4
|
fontWeight: number;
|
|
@@ -101,6 +37,7 @@ declare const typographyPresets: {
|
|
|
101
37
|
lineHeight: number;
|
|
102
38
|
fontSize: string;
|
|
103
39
|
letterSpacing: string;
|
|
40
|
+
fontStretch: string;
|
|
104
41
|
};
|
|
105
42
|
editorialHeadline020: {
|
|
106
43
|
fontFamily: string;
|
|
@@ -108,13 +45,7 @@ declare const typographyPresets: {
|
|
|
108
45
|
lineHeight: number;
|
|
109
46
|
fontSize: string;
|
|
110
47
|
letterSpacing: string;
|
|
111
|
-
|
|
112
|
-
editorialHeadline025: {
|
|
113
|
-
fontFamily: string;
|
|
114
|
-
fontWeight: number;
|
|
115
|
-
lineHeight: number;
|
|
116
|
-
fontSize: string;
|
|
117
|
-
letterSpacing: string;
|
|
48
|
+
fontStretch: string;
|
|
118
49
|
};
|
|
119
50
|
editorialHeadline030: {
|
|
120
51
|
fontFamily: string;
|
|
@@ -122,6 +53,7 @@ declare const typographyPresets: {
|
|
|
122
53
|
lineHeight: number;
|
|
123
54
|
fontSize: string;
|
|
124
55
|
letterSpacing: string;
|
|
56
|
+
fontStretch: string;
|
|
125
57
|
};
|
|
126
58
|
editorialHeadline040: {
|
|
127
59
|
fontFamily: string;
|
|
@@ -129,6 +61,7 @@ declare const typographyPresets: {
|
|
|
129
61
|
lineHeight: number;
|
|
130
62
|
fontSize: string;
|
|
131
63
|
letterSpacing: string;
|
|
64
|
+
fontStretch: string;
|
|
132
65
|
};
|
|
133
66
|
editorialHeadline050: {
|
|
134
67
|
fontFamily: string;
|
|
@@ -136,6 +69,7 @@ declare const typographyPresets: {
|
|
|
136
69
|
lineHeight: number;
|
|
137
70
|
fontSize: string;
|
|
138
71
|
letterSpacing: string;
|
|
72
|
+
fontStretch: string;
|
|
139
73
|
};
|
|
140
74
|
editorialHeadline060: {
|
|
141
75
|
fontFamily: string;
|
|
@@ -143,6 +77,7 @@ declare const typographyPresets: {
|
|
|
143
77
|
lineHeight: number;
|
|
144
78
|
fontSize: string;
|
|
145
79
|
letterSpacing: string;
|
|
80
|
+
fontStretch: string;
|
|
146
81
|
};
|
|
147
82
|
editorialHeadline070: {
|
|
148
83
|
fontFamily: string;
|
|
@@ -150,6 +85,7 @@ declare const typographyPresets: {
|
|
|
150
85
|
lineHeight: number;
|
|
151
86
|
fontSize: string;
|
|
152
87
|
letterSpacing: string;
|
|
88
|
+
fontStretch: string;
|
|
153
89
|
};
|
|
154
90
|
editorialHeadline080: {
|
|
155
91
|
fontFamily: string;
|
|
@@ -157,6 +93,7 @@ declare const typographyPresets: {
|
|
|
157
93
|
lineHeight: number;
|
|
158
94
|
fontSize: string;
|
|
159
95
|
letterSpacing: string;
|
|
96
|
+
fontStretch: string;
|
|
160
97
|
};
|
|
161
98
|
editorialSubheadline010: {
|
|
162
99
|
fontFamily: string;
|
|
@@ -164,6 +101,7 @@ declare const typographyPresets: {
|
|
|
164
101
|
lineHeight: number;
|
|
165
102
|
fontSize: string;
|
|
166
103
|
letterSpacing: string;
|
|
104
|
+
fontStretch: string;
|
|
167
105
|
};
|
|
168
106
|
editorialSubheadline020: {
|
|
169
107
|
fontFamily: string;
|
|
@@ -171,6 +109,7 @@ declare const typographyPresets: {
|
|
|
171
109
|
lineHeight: number;
|
|
172
110
|
fontSize: string;
|
|
173
111
|
letterSpacing: string;
|
|
112
|
+
fontStretch: string;
|
|
174
113
|
};
|
|
175
114
|
editorialSubheadline030: {
|
|
176
115
|
fontFamily: string;
|
|
@@ -178,6 +117,7 @@ declare const typographyPresets: {
|
|
|
178
117
|
lineHeight: number;
|
|
179
118
|
fontSize: string;
|
|
180
119
|
letterSpacing: string;
|
|
120
|
+
fontStretch: string;
|
|
181
121
|
};
|
|
182
122
|
editorialSubheadline040: {
|
|
183
123
|
fontFamily: string;
|
|
@@ -185,6 +125,7 @@ declare const typographyPresets: {
|
|
|
185
125
|
lineHeight: number;
|
|
186
126
|
fontSize: string;
|
|
187
127
|
letterSpacing: string;
|
|
128
|
+
fontStretch: string;
|
|
188
129
|
};
|
|
189
130
|
editorialSubheadline050: {
|
|
190
131
|
fontFamily: string;
|
|
@@ -192,6 +133,7 @@ declare const typographyPresets: {
|
|
|
192
133
|
lineHeight: number;
|
|
193
134
|
fontSize: string;
|
|
194
135
|
letterSpacing: string;
|
|
136
|
+
fontStretch: string;
|
|
195
137
|
};
|
|
196
138
|
editorialParagraph010: {
|
|
197
139
|
fontFamily: string;
|
|
@@ -199,6 +141,7 @@ declare const typographyPresets: {
|
|
|
199
141
|
lineHeight: number;
|
|
200
142
|
fontSize: string;
|
|
201
143
|
letterSpacing: string;
|
|
144
|
+
fontStretch: string;
|
|
202
145
|
};
|
|
203
146
|
editorialParagraph020: {
|
|
204
147
|
fontFamily: string;
|
|
@@ -206,6 +149,7 @@ declare const typographyPresets: {
|
|
|
206
149
|
lineHeight: number;
|
|
207
150
|
fontSize: string;
|
|
208
151
|
letterSpacing: string;
|
|
152
|
+
fontStretch: string;
|
|
209
153
|
};
|
|
210
154
|
editorialParagraph030: {
|
|
211
155
|
fontFamily: string;
|
|
@@ -213,6 +157,7 @@ declare const typographyPresets: {
|
|
|
213
157
|
lineHeight: number;
|
|
214
158
|
fontSize: string;
|
|
215
159
|
letterSpacing: string;
|
|
160
|
+
fontStretch: string;
|
|
216
161
|
};
|
|
217
162
|
editorialQuote010: {
|
|
218
163
|
fontFamily: string;
|
|
@@ -236,6 +181,7 @@ declare const typographyPresets: {
|
|
|
236
181
|
lineHeight: number;
|
|
237
182
|
fontSize: string;
|
|
238
183
|
letterSpacing: string;
|
|
184
|
+
fontStretch: string;
|
|
239
185
|
};
|
|
240
186
|
editorialLabel010: {
|
|
241
187
|
fontFamily: string;
|
|
@@ -267,6 +213,7 @@ declare const typographyPresets: {
|
|
|
267
213
|
lineHeight: number;
|
|
268
214
|
fontSize: string;
|
|
269
215
|
letterSpacing: string;
|
|
216
|
+
fontStretch: string;
|
|
270
217
|
};
|
|
271
218
|
utilityHeading020: {
|
|
272
219
|
fontFamily: string;
|
|
@@ -274,6 +221,7 @@ declare const typographyPresets: {
|
|
|
274
221
|
lineHeight: number;
|
|
275
222
|
fontSize: string;
|
|
276
223
|
letterSpacing: string;
|
|
224
|
+
fontStretch: string;
|
|
277
225
|
};
|
|
278
226
|
utilityHeading030: {
|
|
279
227
|
fontFamily: string;
|
|
@@ -281,6 +229,7 @@ declare const typographyPresets: {
|
|
|
281
229
|
lineHeight: number;
|
|
282
230
|
fontSize: string;
|
|
283
231
|
letterSpacing: string;
|
|
232
|
+
fontStretch: string;
|
|
284
233
|
};
|
|
285
234
|
utilityHeading040: {
|
|
286
235
|
fontFamily: string;
|
|
@@ -288,6 +237,7 @@ declare const typographyPresets: {
|
|
|
288
237
|
lineHeight: number;
|
|
289
238
|
fontSize: string;
|
|
290
239
|
letterSpacing: string;
|
|
240
|
+
fontStretch: string;
|
|
291
241
|
};
|
|
292
242
|
utilityHeading050: {
|
|
293
243
|
fontFamily: string;
|
|
@@ -295,41 +245,47 @@ declare const typographyPresets: {
|
|
|
295
245
|
lineHeight: number;
|
|
296
246
|
fontSize: string;
|
|
297
247
|
letterSpacing: string;
|
|
248
|
+
fontStretch: string;
|
|
298
249
|
};
|
|
299
|
-
|
|
250
|
+
utilitySubheadline010: {
|
|
300
251
|
fontFamily: string;
|
|
301
252
|
fontWeight: number;
|
|
302
253
|
lineHeight: number;
|
|
303
254
|
fontSize: string;
|
|
304
255
|
letterSpacing: string;
|
|
256
|
+
fontStretch: string;
|
|
305
257
|
};
|
|
306
|
-
|
|
258
|
+
utilitySubheadline020: {
|
|
307
259
|
fontFamily: string;
|
|
308
260
|
fontWeight: number;
|
|
309
261
|
lineHeight: number;
|
|
310
262
|
fontSize: string;
|
|
311
263
|
letterSpacing: string;
|
|
264
|
+
fontStretch: string;
|
|
312
265
|
};
|
|
313
|
-
|
|
266
|
+
utilitySubheadline030: {
|
|
314
267
|
fontFamily: string;
|
|
315
268
|
fontWeight: number;
|
|
316
269
|
lineHeight: number;
|
|
317
270
|
fontSize: string;
|
|
318
271
|
letterSpacing: string;
|
|
272
|
+
fontStretch: string;
|
|
319
273
|
};
|
|
320
|
-
|
|
274
|
+
utilitySubheadline040: {
|
|
321
275
|
fontFamily: string;
|
|
322
276
|
fontWeight: number;
|
|
323
277
|
lineHeight: number;
|
|
324
278
|
fontSize: string;
|
|
325
279
|
letterSpacing: string;
|
|
280
|
+
fontStretch: string;
|
|
326
281
|
};
|
|
327
|
-
|
|
282
|
+
utilitySubheadline050: {
|
|
328
283
|
fontFamily: string;
|
|
329
284
|
fontWeight: number;
|
|
330
285
|
lineHeight: number;
|
|
331
286
|
fontSize: string;
|
|
332
287
|
letterSpacing: string;
|
|
288
|
+
fontStretch: string;
|
|
333
289
|
};
|
|
334
290
|
utilityBody010: {
|
|
335
291
|
fontFamily: string;
|
|
@@ -337,6 +293,7 @@ declare const typographyPresets: {
|
|
|
337
293
|
lineHeight: number;
|
|
338
294
|
fontSize: string;
|
|
339
295
|
letterSpacing: string;
|
|
296
|
+
fontStretch: string;
|
|
340
297
|
};
|
|
341
298
|
utilityBody020: {
|
|
342
299
|
fontFamily: string;
|
|
@@ -344,6 +301,7 @@ declare const typographyPresets: {
|
|
|
344
301
|
lineHeight: number;
|
|
345
302
|
fontSize: string;
|
|
346
303
|
letterSpacing: string;
|
|
304
|
+
fontStretch: string;
|
|
347
305
|
};
|
|
348
306
|
utilityBody030: {
|
|
349
307
|
fontFamily: string;
|
|
@@ -351,6 +309,7 @@ declare const typographyPresets: {
|
|
|
351
309
|
lineHeight: number;
|
|
352
310
|
fontSize: string;
|
|
353
311
|
letterSpacing: string;
|
|
312
|
+
fontStretch: string;
|
|
354
313
|
};
|
|
355
314
|
utilityLabel010: {
|
|
356
315
|
fontFamily: string;
|
|
@@ -358,6 +317,7 @@ declare const typographyPresets: {
|
|
|
358
317
|
lineHeight: number;
|
|
359
318
|
fontSize: string;
|
|
360
319
|
letterSpacing: string;
|
|
320
|
+
fontStretch: string;
|
|
361
321
|
};
|
|
362
322
|
utilityLabel020: {
|
|
363
323
|
fontFamily: string;
|
|
@@ -365,6 +325,7 @@ declare const typographyPresets: {
|
|
|
365
325
|
lineHeight: number;
|
|
366
326
|
fontSize: string;
|
|
367
327
|
letterSpacing: string;
|
|
328
|
+
fontStretch: string;
|
|
368
329
|
};
|
|
369
330
|
utilityLabel030: {
|
|
370
331
|
fontFamily: string;
|
|
@@ -372,6 +333,7 @@ declare const typographyPresets: {
|
|
|
372
333
|
lineHeight: number;
|
|
373
334
|
fontSize: string;
|
|
374
335
|
letterSpacing: string;
|
|
336
|
+
fontStretch: string;
|
|
375
337
|
};
|
|
376
338
|
utilityButton010: {
|
|
377
339
|
fontFamily: string;
|
|
@@ -379,6 +341,7 @@ declare const typographyPresets: {
|
|
|
379
341
|
lineHeight: number;
|
|
380
342
|
fontSize: string;
|
|
381
343
|
letterSpacing: string;
|
|
344
|
+
fontStretch: string;
|
|
382
345
|
};
|
|
383
346
|
utilityButton020: {
|
|
384
347
|
fontFamily: string;
|
|
@@ -386,6 +349,7 @@ declare const typographyPresets: {
|
|
|
386
349
|
lineHeight: number;
|
|
387
350
|
fontSize: string;
|
|
388
351
|
letterSpacing: string;
|
|
352
|
+
fontStretch: string;
|
|
389
353
|
};
|
|
390
354
|
utilityButton030: {
|
|
391
355
|
fontFamily: string;
|
|
@@ -393,6 +357,7 @@ declare const typographyPresets: {
|
|
|
393
357
|
lineHeight: number;
|
|
394
358
|
fontSize: string;
|
|
395
359
|
letterSpacing: string;
|
|
360
|
+
fontStretch: string;
|
|
396
361
|
};
|
|
397
362
|
utilityMeta010: {
|
|
398
363
|
fontFamily: string;
|
|
@@ -400,6 +365,7 @@ declare const typographyPresets: {
|
|
|
400
365
|
lineHeight: number;
|
|
401
366
|
fontSize: string;
|
|
402
367
|
letterSpacing: string;
|
|
368
|
+
fontStretch: string;
|
|
403
369
|
};
|
|
404
370
|
utilityMeta020: {
|
|
405
371
|
fontFamily: string;
|
|
@@ -407,6 +373,7 @@ declare const typographyPresets: {
|
|
|
407
373
|
lineHeight: number;
|
|
408
374
|
fontSize: string;
|
|
409
375
|
letterSpacing: string;
|
|
376
|
+
fontStretch: string;
|
|
410
377
|
};
|
|
411
378
|
};
|
|
412
379
|
export { typographyPresets };
|
|
@@ -1,29 +1,5 @@
|
|
|
1
1
|
import TheSunLight from '@newskit-themes/the-sun/TheSun-light.json';
|
|
2
2
|
var typographyPresets = TheSunLight.typographyPresets;
|
|
3
|
-
Object.assign(typographyPresets.editorialDisplay001, {
|
|
4
|
-
fontFamily: 'var(--the-sun), "The Sun"',
|
|
5
|
-
});
|
|
6
|
-
Object.assign(typographyPresets.editorialDisplay002, {
|
|
7
|
-
fontFamily: 'var(--the-sun), "The Sun"',
|
|
8
|
-
});
|
|
9
|
-
Object.assign(typographyPresets.editorialDisplay003, {
|
|
10
|
-
fontFamily: 'var(--the-sun), "The Sun"',
|
|
11
|
-
});
|
|
12
|
-
Object.assign(typographyPresets.editorialDisplay004, {
|
|
13
|
-
fontFamily: 'var(--the-sun), "The Sun"',
|
|
14
|
-
});
|
|
15
|
-
Object.assign(typographyPresets.editorialDisplay005, {
|
|
16
|
-
fontFamily: 'var(--the-sun), "The Sun"',
|
|
17
|
-
});
|
|
18
|
-
Object.assign(typographyPresets.editorialDisplay006, {
|
|
19
|
-
fontFamily: 'var(--the-sun), "The Sun"',
|
|
20
|
-
});
|
|
21
|
-
Object.assign(typographyPresets.editorialDisplay007, {
|
|
22
|
-
fontFamily: 'var(--the-sun), "The Sun"',
|
|
23
|
-
});
|
|
24
|
-
Object.assign(typographyPresets.editorialDisplay008, {
|
|
25
|
-
fontFamily: 'var(--the-sun), "The Sun"',
|
|
26
|
-
});
|
|
27
3
|
Object.assign(typographyPresets.editorialDisplay010, {
|
|
28
4
|
fontFamily: 'var(--the-sun), "The Sun"',
|
|
29
5
|
});
|
|
@@ -114,21 +90,6 @@ Object.assign(typographyPresets.utilityHeading040, {
|
|
|
114
90
|
Object.assign(typographyPresets.utilityHeading050, {
|
|
115
91
|
fontFamily: 'var(--the-sun), "The Sun"',
|
|
116
92
|
});
|
|
117
|
-
Object.assign(typographyPresets.utilitySubheading010, {
|
|
118
|
-
fontFamily: 'var(--the-sun), "The Sun"',
|
|
119
|
-
});
|
|
120
|
-
Object.assign(typographyPresets.utilitySubheading020, {
|
|
121
|
-
fontFamily: 'var(--the-sun), "The Sun"',
|
|
122
|
-
});
|
|
123
|
-
Object.assign(typographyPresets.utilitySubheading030, {
|
|
124
|
-
fontFamily: 'var(--the-sun), "The Sun"',
|
|
125
|
-
});
|
|
126
|
-
Object.assign(typographyPresets.utilitySubheading040, {
|
|
127
|
-
fontFamily: 'var(--the-sun), "The Sun"',
|
|
128
|
-
});
|
|
129
|
-
Object.assign(typographyPresets.utilitySubheading050, {
|
|
130
|
-
fontFamily: 'var(--the-sun), "The Sun"',
|
|
131
|
-
});
|
|
132
93
|
Object.assign(typographyPresets.utilityBody010, {
|
|
133
94
|
fontFamily: 'var(--the-sun), "The Sun"',
|
|
134
95
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography-presets.js","sourceRoot":"","sources":["../../../../src/theme/sunTheme/typography-presets.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,2CAA2C,CAAA;AAE3D,IAAA,iBAAiB,GAAK,WAAW,kBAAhB,CAAgB;AAEzC,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,mBAAmB,EAAE;IACnD,UAAU,EAAE,2BAA2B;CACxC,CAAC,CAAA;AACF,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,mBAAmB,EAAE;IACnD,UAAU,EAAE,2BAA2B;CACxC,CAAC,CAAA;AACF,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,mBAAmB,EAAE;IACnD,UAAU,EAAE,2BAA2B;CACxC,CAAC,CAAA;AACF,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,
|
|
1
|
+
{"version":3,"file":"typography-presets.js","sourceRoot":"","sources":["../../../../src/theme/sunTheme/typography-presets.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,2CAA2C,CAAA;AAE3D,IAAA,iBAAiB,GAAK,WAAW,kBAAhB,CAAgB;AAEzC,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,mBAAmB,EAAE;IACnD,UAAU,EAAE,2BAA2B;CACxC,CAAC,CAAA;AACF,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,mBAAmB,EAAE;IACnD,UAAU,EAAE,2BAA2B;CACxC,CAAC,CAAA;AACF,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,mBAAmB,EAAE;IACnD,UAAU,EAAE,2BAA2B;CACxC,CAAC,CAAA;AACF,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,oBAAoB,EAAE;IACpD,UAAU,EAAE,2BAA2B;CACxC,CAAC,CAAA;AACF,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,oBAAoB,EAAE;IACpD,UAAU,EAAE,2BAA2B;CACxC,CAAC,CAAA;AACF,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,oBAAoB,EAAE;IACpD,UAAU,EAAE,2BAA2B;CACxC,CAAC,CAAA;AACF,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAA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.6.0",
|
|
4
4
|
"description": "Newskit Render Shared Components",
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@emotion/react": "11.9.3",
|
|
33
33
|
"@emotion/styled": "11.9.3",
|
|
34
34
|
"@hookform/resolvers": "2.9.10",
|
|
35
|
-
"@newskit-themes/the-sun": "
|
|
35
|
+
"@newskit-themes/the-sun": "^3.0.0",
|
|
36
36
|
"@newskit-themes/the-times": "0.1.1",
|
|
37
37
|
"@newskit-themes/tls": "0.0.0",
|
|
38
38
|
"cookie": "0.5.0",
|