@insymetri/styleguide 0.1.88 → 0.1.89
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/IIBadge/IIBadge.svelte +3 -3
- package/dist/IIButton/IIButton.svelte +24 -18
- package/dist/IICard/IICard.svelte +6 -6
- package/dist/IICheckbox/IICheckbox.svelte +3 -5
- package/dist/IIInput/IIInput.svelte +5 -5
- package/dist/IIModal/IIModal.svelte +4 -4
- package/dist/IISegmentedControl/IISegmentedControl.svelte +7 -13
- package/dist/IISwitch/IISwitch.svelte +4 -9
- package/dist/IITable/IITable.svelte +63 -55
- package/dist/IITooltip/IITooltip.svelte +1 -1
- package/dist/icons.d.ts +19 -0
- package/dist/icons.js +26 -0
- package/dist/style/base.css +31 -8
- package/dist/style/colors.css +21 -0
- package/dist/style/dark.css +17 -0
- package/dist/style/tailwind/colors.d.ts +5 -0
- package/dist/style/tailwind/colors.js +10 -0
- package/dist/style/tailwind/preset.d.ts +83 -30
- package/dist/style/tailwind/preset.js +21 -0
- package/dist/style/tailwind/shadows.d.ts +3 -3
- package/dist/style/tailwind/shadows.js +27 -28
- package/dist/style/tailwind/typography.d.ts +64 -27
- package/dist/style/tailwind/typography.js +64 -38
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const backgroundColor: {
|
|
2
2
|
primary: string;
|
|
3
3
|
'primary-hover': string;
|
|
4
|
+
'primary-soft': string;
|
|
4
5
|
accent: string;
|
|
5
6
|
'accent-hover': string;
|
|
6
7
|
secondary: string;
|
|
@@ -13,6 +14,10 @@ export declare const backgroundColor: {
|
|
|
13
14
|
'surface-raised': string;
|
|
14
15
|
background: string;
|
|
15
16
|
'background-alt': string;
|
|
17
|
+
app: string;
|
|
18
|
+
'success-soft': string;
|
|
19
|
+
'warning-soft': string;
|
|
20
|
+
'error-soft': string;
|
|
16
21
|
'background-l0': string;
|
|
17
22
|
'background-l1': string;
|
|
18
23
|
'background-l2': string;
|
|
@@ -23,6 +23,10 @@ export const backgroundColor = {
|
|
|
23
23
|
// Brand
|
|
24
24
|
primary: 'var(--ii-primary)',
|
|
25
25
|
'primary-hover': 'var(--ii-primary-hover)',
|
|
26
|
+
// The palette's "Primary (Soft)" — the opaque brand tint (#E0E7FF light).
|
|
27
|
+
// `primary-8`/`primary-15` below are the translucent equivalents; use this one
|
|
28
|
+
// where the tint must be opaque (it is what `info-bg` / `filter-bg` resolve to).
|
|
29
|
+
'primary-soft': 'var(--ii-primary-soft)',
|
|
26
30
|
accent: 'var(--ii-accent)',
|
|
27
31
|
'accent-hover': 'var(--ii-accent-hover)',
|
|
28
32
|
secondary: 'var(--ii-secondary)',
|
|
@@ -36,6 +40,12 @@ export const backgroundColor = {
|
|
|
36
40
|
'surface-raised': 'var(--ii-surface-raised)',
|
|
37
41
|
background: 'var(--ii-background)',
|
|
38
42
|
'background-alt': 'var(--ii-background-alt)',
|
|
43
|
+
app: 'var(--ii-app-bg)', // page substrate: rail, top bar, gutter around the content card
|
|
44
|
+
// Lighter, still-saturated semantic fills — for large filled areas where the full
|
|
45
|
+
// strength dominates and the `-bg` tint reads as disabled.
|
|
46
|
+
'success-soft': 'var(--ii-success-soft)',
|
|
47
|
+
'warning-soft': 'var(--ii-warning-soft)',
|
|
48
|
+
'error-soft': 'var(--ii-error-soft)',
|
|
39
49
|
'background-l0': 'var(--ii-background-l0)',
|
|
40
50
|
'background-l1': 'var(--ii-background-l1)',
|
|
41
51
|
'background-l2': 'var(--ii-background-l2)',
|
|
@@ -4,6 +4,7 @@ declare const _default: {
|
|
|
4
4
|
backgroundColor: {
|
|
5
5
|
primary: string;
|
|
6
6
|
'primary-hover': string;
|
|
7
|
+
'primary-soft': string;
|
|
7
8
|
accent: string;
|
|
8
9
|
'accent-hover': string;
|
|
9
10
|
secondary: string;
|
|
@@ -16,6 +17,10 @@ declare const _default: {
|
|
|
16
17
|
'surface-raised': string;
|
|
17
18
|
background: string;
|
|
18
19
|
'background-alt': string;
|
|
20
|
+
app: string;
|
|
21
|
+
'success-soft': string;
|
|
22
|
+
'warning-soft': string;
|
|
23
|
+
'error-soft': string;
|
|
19
24
|
'background-l0': string;
|
|
20
25
|
'background-l1': string;
|
|
21
26
|
'background-l2': string;
|
|
@@ -252,111 +257,148 @@ declare const _default: {
|
|
|
252
257
|
blue: string;
|
|
253
258
|
};
|
|
254
259
|
fontSize: {
|
|
255
|
-
readonly h1: readonly ["2.
|
|
256
|
-
readonly lineHeight: "3.
|
|
260
|
+
readonly h1: readonly ["2.6rem", {
|
|
261
|
+
readonly lineHeight: "3.0rem";
|
|
257
262
|
readonly fontWeight: "600";
|
|
263
|
+
readonly letterSpacing: "-0.02em";
|
|
258
264
|
}];
|
|
259
265
|
readonly h2: readonly ["2.0rem", {
|
|
260
|
-
readonly lineHeight: "2.
|
|
266
|
+
readonly lineHeight: "2.6rem";
|
|
261
267
|
readonly fontWeight: "600";
|
|
268
|
+
readonly letterSpacing: "-0.02em";
|
|
262
269
|
}];
|
|
263
270
|
readonly h3: readonly ["1.8rem", {
|
|
264
271
|
readonly lineHeight: "2.4rem";
|
|
265
272
|
readonly fontWeight: "600";
|
|
273
|
+
readonly letterSpacing: "-0.02em";
|
|
266
274
|
}];
|
|
267
|
-
readonly h4: readonly ["1.
|
|
275
|
+
readonly h4: readonly ["1.5rem", {
|
|
268
276
|
readonly lineHeight: "2.0rem";
|
|
269
277
|
readonly fontWeight: "600";
|
|
278
|
+
readonly letterSpacing: "-0.01em";
|
|
270
279
|
}];
|
|
271
280
|
readonly h5: readonly ["1.4rem", {
|
|
272
|
-
readonly lineHeight: "
|
|
281
|
+
readonly lineHeight: "1.9rem";
|
|
273
282
|
readonly fontWeight: "600";
|
|
283
|
+
readonly letterSpacing: "-0.01em";
|
|
274
284
|
}];
|
|
275
285
|
readonly h6: readonly ["1.3rem", {
|
|
276
|
-
readonly lineHeight: "1.
|
|
286
|
+
readonly lineHeight: "1.8rem";
|
|
277
287
|
readonly fontWeight: "600";
|
|
288
|
+
readonly letterSpacing: "-0.005em";
|
|
278
289
|
}];
|
|
279
290
|
readonly m1: readonly ["2.0rem", {
|
|
280
291
|
readonly lineHeight: "2.8rem";
|
|
281
292
|
readonly fontWeight: "300";
|
|
293
|
+
readonly letterSpacing: "-0.02em";
|
|
282
294
|
}];
|
|
283
295
|
readonly m2: readonly ["1.6rem", {
|
|
284
296
|
readonly lineHeight: "2.4rem";
|
|
285
297
|
readonly fontWeight: "300";
|
|
298
|
+
readonly letterSpacing: "-0.01em";
|
|
286
299
|
}];
|
|
287
300
|
readonly 'm2-emphasis': readonly ["1.6rem", {
|
|
288
301
|
readonly lineHeight: "2.4rem";
|
|
289
302
|
readonly fontWeight: "500";
|
|
303
|
+
readonly letterSpacing: "-0.01em";
|
|
290
304
|
}];
|
|
291
305
|
readonly m3: readonly ["1.4rem", {
|
|
292
306
|
readonly lineHeight: "2.0rem";
|
|
293
307
|
readonly fontWeight: "300";
|
|
308
|
+
readonly letterSpacing: "-0.005em";
|
|
294
309
|
}];
|
|
295
310
|
readonly 'm3-emphasis': readonly ["1.3rem", {
|
|
296
311
|
readonly lineHeight: "2.0rem";
|
|
297
312
|
readonly fontWeight: "500";
|
|
313
|
+
readonly letterSpacing: "-0.005em";
|
|
298
314
|
}];
|
|
299
315
|
readonly 'm3-small': readonly ["1.3rem", {
|
|
300
316
|
readonly lineHeight: "2.0rem";
|
|
301
317
|
readonly fontWeight: "400";
|
|
318
|
+
readonly letterSpacing: "-0.005em";
|
|
302
319
|
}];
|
|
303
|
-
readonly large: readonly ["1.
|
|
304
|
-
readonly lineHeight: "2.
|
|
320
|
+
readonly large: readonly ["1.5rem", {
|
|
321
|
+
readonly lineHeight: "2.2rem";
|
|
305
322
|
readonly fontWeight: "400";
|
|
323
|
+
readonly letterSpacing: "-0.01em";
|
|
306
324
|
}];
|
|
307
|
-
readonly 'large-emphasis': readonly ["1.
|
|
308
|
-
readonly lineHeight: "2.
|
|
325
|
+
readonly 'large-emphasis': readonly ["1.5rem", {
|
|
326
|
+
readonly lineHeight: "2.2rem";
|
|
309
327
|
readonly fontWeight: "500";
|
|
328
|
+
readonly letterSpacing: "-0.01em";
|
|
310
329
|
}];
|
|
311
330
|
readonly default: readonly ["1.3rem", {
|
|
312
|
-
readonly lineHeight: "1.
|
|
331
|
+
readonly lineHeight: "1.95rem";
|
|
313
332
|
readonly fontWeight: "400";
|
|
333
|
+
readonly letterSpacing: "-0.005em";
|
|
314
334
|
}];
|
|
315
335
|
readonly emphasis: readonly ["1.3rem", {
|
|
316
|
-
readonly lineHeight: "1.
|
|
336
|
+
readonly lineHeight: "1.95rem";
|
|
317
337
|
readonly fontWeight: "500";
|
|
338
|
+
readonly letterSpacing: "-0.005em";
|
|
318
339
|
}];
|
|
319
340
|
readonly strong: readonly ["1.3rem", {
|
|
320
|
-
readonly lineHeight: "1.
|
|
341
|
+
readonly lineHeight: "1.95rem";
|
|
321
342
|
readonly fontWeight: "600";
|
|
343
|
+
readonly letterSpacing: "-0.005em";
|
|
322
344
|
}];
|
|
323
|
-
readonly small: readonly ["1.
|
|
324
|
-
readonly lineHeight: "1.
|
|
345
|
+
readonly small: readonly ["1.25rem", {
|
|
346
|
+
readonly lineHeight: "1.7rem";
|
|
325
347
|
readonly fontWeight: "400";
|
|
348
|
+
readonly letterSpacing: "0";
|
|
326
349
|
}];
|
|
327
|
-
readonly 'small-emphasis': readonly ["1.
|
|
328
|
-
readonly lineHeight: "1.
|
|
350
|
+
readonly 'small-emphasis': readonly ["1.25rem", {
|
|
351
|
+
readonly lineHeight: "1.7rem";
|
|
329
352
|
readonly fontWeight: "500";
|
|
353
|
+
readonly letterSpacing: "0";
|
|
330
354
|
}];
|
|
331
|
-
readonly 'small-strong': readonly ["1.
|
|
332
|
-
readonly lineHeight: "1.
|
|
355
|
+
readonly 'small-strong': readonly ["1.25rem", {
|
|
356
|
+
readonly lineHeight: "1.7rem";
|
|
333
357
|
readonly fontWeight: "600";
|
|
358
|
+
readonly letterSpacing: "0";
|
|
334
359
|
}];
|
|
335
|
-
readonly tiny: readonly ["1.
|
|
336
|
-
readonly lineHeight: "1.
|
|
360
|
+
readonly tiny: readonly ["1.15rem", {
|
|
361
|
+
readonly lineHeight: "1.5rem";
|
|
337
362
|
readonly fontWeight: "400";
|
|
363
|
+
readonly letterSpacing: "0";
|
|
338
364
|
}];
|
|
339
|
-
readonly 'tiny-emphasis': readonly ["1.
|
|
340
|
-
readonly lineHeight: "1.
|
|
365
|
+
readonly 'tiny-emphasis': readonly ["1.15rem", {
|
|
366
|
+
readonly lineHeight: "1.5rem";
|
|
341
367
|
readonly fontWeight: "500";
|
|
368
|
+
readonly letterSpacing: "0";
|
|
342
369
|
}];
|
|
343
|
-
readonly 'tiny-strong': readonly ["1.
|
|
344
|
-
readonly lineHeight: "1.
|
|
370
|
+
readonly 'tiny-strong': readonly ["1.15rem", {
|
|
371
|
+
readonly lineHeight: "1.5rem";
|
|
345
372
|
readonly fontWeight: "600";
|
|
373
|
+
readonly letterSpacing: "0";
|
|
346
374
|
}];
|
|
347
|
-
readonly
|
|
348
|
-
readonly lineHeight: "1.
|
|
375
|
+
readonly micro: readonly ["1.05rem", {
|
|
376
|
+
readonly lineHeight: "1.575rem";
|
|
377
|
+
readonly fontWeight: "500";
|
|
378
|
+
readonly letterSpacing: "0.06em";
|
|
379
|
+
}];
|
|
380
|
+
readonly numeric: readonly ["1.3rem", {
|
|
381
|
+
readonly lineHeight: "1.8rem";
|
|
349
382
|
readonly fontWeight: "400";
|
|
383
|
+
readonly letterSpacing: "0";
|
|
384
|
+
}];
|
|
385
|
+
readonly amount: readonly ["2.6rem", {
|
|
386
|
+
readonly lineHeight: "2.9rem";
|
|
387
|
+
readonly fontWeight: "600";
|
|
388
|
+
readonly letterSpacing: "-0.03em";
|
|
350
389
|
}];
|
|
351
390
|
readonly 'display-lg': readonly ["4.0rem", {
|
|
352
391
|
readonly lineHeight: "1.1";
|
|
392
|
+
readonly letterSpacing: "-0.03em";
|
|
353
393
|
}];
|
|
354
394
|
readonly 'display-md': readonly ["3.0rem", {
|
|
355
395
|
readonly lineHeight: "1.2";
|
|
396
|
+
readonly letterSpacing: "-0.025em";
|
|
356
397
|
}];
|
|
357
398
|
readonly 'display-sm': readonly ["2.4rem", {
|
|
358
399
|
readonly lineHeight: "1.2";
|
|
359
400
|
readonly fontWeight: "500";
|
|
401
|
+
readonly letterSpacing: "-0.02em";
|
|
360
402
|
}];
|
|
361
403
|
};
|
|
362
404
|
spacing: Record<string, string>;
|
|
@@ -365,6 +407,7 @@ declare const _default: {
|
|
|
365
407
|
pill: string;
|
|
366
408
|
subtle: string;
|
|
367
409
|
card: string;
|
|
410
|
+
'comm-hover': string;
|
|
368
411
|
'card-hover': string;
|
|
369
412
|
dropdown: string;
|
|
370
413
|
submenu: string;
|
|
@@ -372,11 +415,10 @@ declare const _default: {
|
|
|
372
415
|
floating: string;
|
|
373
416
|
drawer: string;
|
|
374
417
|
toast: string;
|
|
375
|
-
'focus-ring': string;
|
|
376
|
-
'selection-ring': string;
|
|
377
|
-
'comm-hover': string;
|
|
378
418
|
'login-card': string;
|
|
379
419
|
'dialog-overlay': string;
|
|
420
|
+
'focus-ring': string;
|
|
421
|
+
'selection-ring': string;
|
|
380
422
|
};
|
|
381
423
|
borderRadius: Record<string, string>;
|
|
382
424
|
zIndex: Record<string, string>;
|
|
@@ -413,6 +455,15 @@ declare const _default: {
|
|
|
413
455
|
full: string;
|
|
414
456
|
screen: string;
|
|
415
457
|
};
|
|
458
|
+
letterSpacing: {
|
|
459
|
+
tighter: string;
|
|
460
|
+
tight: string;
|
|
461
|
+
snug: string;
|
|
462
|
+
normal: string;
|
|
463
|
+
none: string;
|
|
464
|
+
label: string;
|
|
465
|
+
wide: string;
|
|
466
|
+
};
|
|
416
467
|
extend: {
|
|
417
468
|
keyframes: {
|
|
418
469
|
loginFadeInUp: {
|
|
@@ -626,6 +677,8 @@ declare const _default: {
|
|
|
626
677
|
};
|
|
627
678
|
fontFamily: {
|
|
628
679
|
inherit: string;
|
|
680
|
+
sans: string;
|
|
681
|
+
mono: string;
|
|
629
682
|
};
|
|
630
683
|
textColor: {
|
|
631
684
|
inherit: string;
|
|
@@ -47,6 +47,18 @@ export default {
|
|
|
47
47
|
full: '100%',
|
|
48
48
|
screen: '100vh',
|
|
49
49
|
}),
|
|
50
|
+
letterSpacing: {
|
|
51
|
+
// Negative tracking scales with type size — see typography.ts.
|
|
52
|
+
tighter: '-0.03em',
|
|
53
|
+
tight: '-0.02em',
|
|
54
|
+
snug: '-0.01em',
|
|
55
|
+
normal: '-0.005em',
|
|
56
|
+
none: '0',
|
|
57
|
+
// Positive tracking, for the uppercase section labels only. Caps at
|
|
58
|
+
// 10–11px are unreadable without it.
|
|
59
|
+
label: '0.06em',
|
|
60
|
+
wide: '0.04em',
|
|
61
|
+
},
|
|
50
62
|
extend: {
|
|
51
63
|
keyframes,
|
|
52
64
|
animation,
|
|
@@ -86,8 +98,17 @@ export default {
|
|
|
86
98
|
'auto-340': 'repeat(auto-fill, minmax(340px, 1fr))',
|
|
87
99
|
'auto-fit-200': 'repeat(auto-fit, minmax(200px, 1fr))',
|
|
88
100
|
},
|
|
101
|
+
// Both go through the variables base.css defines, for the same reason the
|
|
102
|
+
// `body` rule does: this package ships no font files, so an app that has not
|
|
103
|
+
// self-hosted the face must be able to point `--font-family` somewhere else
|
|
104
|
+
// and have `font-sans` follow. Hardcoding the stack here would leave
|
|
105
|
+
// `font-sans` still asking for a font that 404s.
|
|
89
106
|
fontFamily: {
|
|
90
107
|
inherit: 'inherit',
|
|
108
|
+
sans: 'var(--font-family)',
|
|
109
|
+
// No mono FACE is shipped; `--font-family-mono` is the system stack, which
|
|
110
|
+
// is what `font-mono` resolved to before it was named.
|
|
111
|
+
mono: 'var(--font-family-mono)',
|
|
91
112
|
},
|
|
92
113
|
textColor: {
|
|
93
114
|
inherit: 'inherit',
|
|
@@ -3,6 +3,7 @@ export declare const boxShadow: {
|
|
|
3
3
|
pill: string;
|
|
4
4
|
subtle: string;
|
|
5
5
|
card: string;
|
|
6
|
+
'comm-hover': string;
|
|
6
7
|
'card-hover': string;
|
|
7
8
|
dropdown: string;
|
|
8
9
|
submenu: string;
|
|
@@ -10,9 +11,8 @@ export declare const boxShadow: {
|
|
|
10
11
|
floating: string;
|
|
11
12
|
drawer: string;
|
|
12
13
|
toast: string;
|
|
13
|
-
'focus-ring': string;
|
|
14
|
-
'selection-ring': string;
|
|
15
|
-
'comm-hover': string;
|
|
16
14
|
'login-card': string;
|
|
17
15
|
'dialog-overlay': string;
|
|
16
|
+
'focus-ring': string;
|
|
17
|
+
'selection-ring': string;
|
|
18
18
|
};
|
|
@@ -1,33 +1,32 @@
|
|
|
1
|
+
// Elevation maps onto the three tiers defined in style/colors.css (and swapped
|
|
2
|
+
// for dark surfaces in style/dark.css). Keeping the utility names stable means
|
|
3
|
+
// no call site changes; only what they resolve to does.
|
|
4
|
+
//
|
|
5
|
+
// tier 1 — hairline lift: buttons at rest, cards, active segment thumbs
|
|
6
|
+
// tier 2 — ambient float: menus, popovers, tooltips, raised/hovered cards
|
|
7
|
+
// tier 3 — modal scale: dialogs, drawers, toasts
|
|
8
|
+
const T1 = 'var(--ii-shadow-1)';
|
|
9
|
+
const T2 = 'var(--ii-shadow-2)';
|
|
10
|
+
const T3 = 'var(--ii-shadow-3)';
|
|
1
11
|
export const boxShadow = {
|
|
2
12
|
none: 'none',
|
|
3
|
-
//
|
|
4
|
-
pill:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
//
|
|
20
|
-
drawer: '0 25px 50px -12px rgba(0, 0, 0, 0.25)',
|
|
21
|
-
// Toast notifications
|
|
22
|
-
toast: '0 4px 24px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.08)',
|
|
23
|
-
// Focus ring — input/control focus state
|
|
13
|
+
// Tier 1 — at rest
|
|
14
|
+
pill: T1,
|
|
15
|
+
subtle: T1,
|
|
16
|
+
card: T1,
|
|
17
|
+
'comm-hover': T1,
|
|
18
|
+
// Tier 2 — floating above the page
|
|
19
|
+
'card-hover': T2,
|
|
20
|
+
dropdown: T2,
|
|
21
|
+
submenu: T2,
|
|
22
|
+
// Tier 3 — modal scale
|
|
23
|
+
modal: T3,
|
|
24
|
+
floating: T3,
|
|
25
|
+
drawer: T3,
|
|
26
|
+
toast: T3,
|
|
27
|
+
'login-card': T3,
|
|
28
|
+
'dialog-overlay': T3,
|
|
29
|
+
// Rings — the focus ring is the teal accent, never the near-black primary
|
|
24
30
|
'focus-ring': '0 0 0 3px var(--ii-focus-primary)',
|
|
25
|
-
// Selection ring — selected item indicator
|
|
26
31
|
'selection-ring': '0 0 0 2px var(--ii-primary-20)',
|
|
27
|
-
// Communication card hover
|
|
28
|
-
'comm-hover': '0 2px 8px var(--ii-shadow-subtle-color)',
|
|
29
|
-
// Login card — deep overlay shadow
|
|
30
|
-
'login-card': '0 20px 60px var(--ii-overlay), 0 0 1px var(--ii-hover-overlay)',
|
|
31
|
-
// Dialog overlay — elevated panel
|
|
32
|
-
'dialog-overlay': '0 20px 25px -5px var(--ii-hover-overlay), 0 10px 10px -5px var(--ii-shadow-xs)',
|
|
33
32
|
};
|
|
@@ -1,108 +1,145 @@
|
|
|
1
1
|
export declare const fontSize: {
|
|
2
|
-
readonly h1: readonly ["2.
|
|
3
|
-
readonly lineHeight: "3.
|
|
2
|
+
readonly h1: readonly ["2.6rem", {
|
|
3
|
+
readonly lineHeight: "3.0rem";
|
|
4
4
|
readonly fontWeight: "600";
|
|
5
|
+
readonly letterSpacing: "-0.02em";
|
|
5
6
|
}];
|
|
6
7
|
readonly h2: readonly ["2.0rem", {
|
|
7
|
-
readonly lineHeight: "2.
|
|
8
|
+
readonly lineHeight: "2.6rem";
|
|
8
9
|
readonly fontWeight: "600";
|
|
10
|
+
readonly letterSpacing: "-0.02em";
|
|
9
11
|
}];
|
|
10
12
|
readonly h3: readonly ["1.8rem", {
|
|
11
13
|
readonly lineHeight: "2.4rem";
|
|
12
14
|
readonly fontWeight: "600";
|
|
15
|
+
readonly letterSpacing: "-0.02em";
|
|
13
16
|
}];
|
|
14
|
-
readonly h4: readonly ["1.
|
|
17
|
+
readonly h4: readonly ["1.5rem", {
|
|
15
18
|
readonly lineHeight: "2.0rem";
|
|
16
19
|
readonly fontWeight: "600";
|
|
20
|
+
readonly letterSpacing: "-0.01em";
|
|
17
21
|
}];
|
|
18
22
|
readonly h5: readonly ["1.4rem", {
|
|
19
|
-
readonly lineHeight: "
|
|
23
|
+
readonly lineHeight: "1.9rem";
|
|
20
24
|
readonly fontWeight: "600";
|
|
25
|
+
readonly letterSpacing: "-0.01em";
|
|
21
26
|
}];
|
|
22
27
|
readonly h6: readonly ["1.3rem", {
|
|
23
|
-
readonly lineHeight: "1.
|
|
28
|
+
readonly lineHeight: "1.8rem";
|
|
24
29
|
readonly fontWeight: "600";
|
|
30
|
+
readonly letterSpacing: "-0.005em";
|
|
25
31
|
}];
|
|
26
32
|
readonly m1: readonly ["2.0rem", {
|
|
27
33
|
readonly lineHeight: "2.8rem";
|
|
28
34
|
readonly fontWeight: "300";
|
|
35
|
+
readonly letterSpacing: "-0.02em";
|
|
29
36
|
}];
|
|
30
37
|
readonly m2: readonly ["1.6rem", {
|
|
31
38
|
readonly lineHeight: "2.4rem";
|
|
32
39
|
readonly fontWeight: "300";
|
|
40
|
+
readonly letterSpacing: "-0.01em";
|
|
33
41
|
}];
|
|
34
42
|
readonly 'm2-emphasis': readonly ["1.6rem", {
|
|
35
43
|
readonly lineHeight: "2.4rem";
|
|
36
44
|
readonly fontWeight: "500";
|
|
45
|
+
readonly letterSpacing: "-0.01em";
|
|
37
46
|
}];
|
|
38
47
|
readonly m3: readonly ["1.4rem", {
|
|
39
48
|
readonly lineHeight: "2.0rem";
|
|
40
49
|
readonly fontWeight: "300";
|
|
50
|
+
readonly letterSpacing: "-0.005em";
|
|
41
51
|
}];
|
|
42
52
|
readonly 'm3-emphasis': readonly ["1.3rem", {
|
|
43
53
|
readonly lineHeight: "2.0rem";
|
|
44
54
|
readonly fontWeight: "500";
|
|
55
|
+
readonly letterSpacing: "-0.005em";
|
|
45
56
|
}];
|
|
46
57
|
readonly 'm3-small': readonly ["1.3rem", {
|
|
47
58
|
readonly lineHeight: "2.0rem";
|
|
48
59
|
readonly fontWeight: "400";
|
|
60
|
+
readonly letterSpacing: "-0.005em";
|
|
49
61
|
}];
|
|
50
|
-
readonly large: readonly ["1.
|
|
51
|
-
readonly lineHeight: "2.
|
|
62
|
+
readonly large: readonly ["1.5rem", {
|
|
63
|
+
readonly lineHeight: "2.2rem";
|
|
52
64
|
readonly fontWeight: "400";
|
|
65
|
+
readonly letterSpacing: "-0.01em";
|
|
53
66
|
}];
|
|
54
|
-
readonly 'large-emphasis': readonly ["1.
|
|
55
|
-
readonly lineHeight: "2.
|
|
67
|
+
readonly 'large-emphasis': readonly ["1.5rem", {
|
|
68
|
+
readonly lineHeight: "2.2rem";
|
|
56
69
|
readonly fontWeight: "500";
|
|
70
|
+
readonly letterSpacing: "-0.01em";
|
|
57
71
|
}];
|
|
58
72
|
readonly default: readonly ["1.3rem", {
|
|
59
|
-
readonly lineHeight: "1.
|
|
73
|
+
readonly lineHeight: "1.95rem";
|
|
60
74
|
readonly fontWeight: "400";
|
|
75
|
+
readonly letterSpacing: "-0.005em";
|
|
61
76
|
}];
|
|
62
77
|
readonly emphasis: readonly ["1.3rem", {
|
|
63
|
-
readonly lineHeight: "1.
|
|
78
|
+
readonly lineHeight: "1.95rem";
|
|
64
79
|
readonly fontWeight: "500";
|
|
80
|
+
readonly letterSpacing: "-0.005em";
|
|
65
81
|
}];
|
|
66
82
|
readonly strong: readonly ["1.3rem", {
|
|
67
|
-
readonly lineHeight: "1.
|
|
83
|
+
readonly lineHeight: "1.95rem";
|
|
68
84
|
readonly fontWeight: "600";
|
|
85
|
+
readonly letterSpacing: "-0.005em";
|
|
69
86
|
}];
|
|
70
|
-
readonly small: readonly ["1.
|
|
71
|
-
readonly lineHeight: "1.
|
|
87
|
+
readonly small: readonly ["1.25rem", {
|
|
88
|
+
readonly lineHeight: "1.7rem";
|
|
72
89
|
readonly fontWeight: "400";
|
|
90
|
+
readonly letterSpacing: "0";
|
|
73
91
|
}];
|
|
74
|
-
readonly 'small-emphasis': readonly ["1.
|
|
75
|
-
readonly lineHeight: "1.
|
|
92
|
+
readonly 'small-emphasis': readonly ["1.25rem", {
|
|
93
|
+
readonly lineHeight: "1.7rem";
|
|
76
94
|
readonly fontWeight: "500";
|
|
95
|
+
readonly letterSpacing: "0";
|
|
77
96
|
}];
|
|
78
|
-
readonly 'small-strong': readonly ["1.
|
|
79
|
-
readonly lineHeight: "1.
|
|
97
|
+
readonly 'small-strong': readonly ["1.25rem", {
|
|
98
|
+
readonly lineHeight: "1.7rem";
|
|
80
99
|
readonly fontWeight: "600";
|
|
100
|
+
readonly letterSpacing: "0";
|
|
81
101
|
}];
|
|
82
|
-
readonly tiny: readonly ["1.
|
|
83
|
-
readonly lineHeight: "1.
|
|
102
|
+
readonly tiny: readonly ["1.15rem", {
|
|
103
|
+
readonly lineHeight: "1.5rem";
|
|
84
104
|
readonly fontWeight: "400";
|
|
105
|
+
readonly letterSpacing: "0";
|
|
85
106
|
}];
|
|
86
|
-
readonly 'tiny-emphasis': readonly ["1.
|
|
87
|
-
readonly lineHeight: "1.
|
|
107
|
+
readonly 'tiny-emphasis': readonly ["1.15rem", {
|
|
108
|
+
readonly lineHeight: "1.5rem";
|
|
88
109
|
readonly fontWeight: "500";
|
|
110
|
+
readonly letterSpacing: "0";
|
|
89
111
|
}];
|
|
90
|
-
readonly 'tiny-strong': readonly ["1.
|
|
91
|
-
readonly lineHeight: "1.
|
|
112
|
+
readonly 'tiny-strong': readonly ["1.15rem", {
|
|
113
|
+
readonly lineHeight: "1.5rem";
|
|
92
114
|
readonly fontWeight: "600";
|
|
115
|
+
readonly letterSpacing: "0";
|
|
93
116
|
}];
|
|
94
|
-
readonly
|
|
95
|
-
readonly lineHeight: "1.
|
|
117
|
+
readonly micro: readonly ["1.05rem", {
|
|
118
|
+
readonly lineHeight: "1.575rem";
|
|
119
|
+
readonly fontWeight: "500";
|
|
120
|
+
readonly letterSpacing: "0.06em";
|
|
121
|
+
}];
|
|
122
|
+
readonly numeric: readonly ["1.3rem", {
|
|
123
|
+
readonly lineHeight: "1.8rem";
|
|
96
124
|
readonly fontWeight: "400";
|
|
125
|
+
readonly letterSpacing: "0";
|
|
126
|
+
}];
|
|
127
|
+
readonly amount: readonly ["2.6rem", {
|
|
128
|
+
readonly lineHeight: "2.9rem";
|
|
129
|
+
readonly fontWeight: "600";
|
|
130
|
+
readonly letterSpacing: "-0.03em";
|
|
97
131
|
}];
|
|
98
132
|
readonly 'display-lg': readonly ["4.0rem", {
|
|
99
133
|
readonly lineHeight: "1.1";
|
|
134
|
+
readonly letterSpacing: "-0.03em";
|
|
100
135
|
}];
|
|
101
136
|
readonly 'display-md': readonly ["3.0rem", {
|
|
102
137
|
readonly lineHeight: "1.2";
|
|
138
|
+
readonly letterSpacing: "-0.025em";
|
|
103
139
|
}];
|
|
104
140
|
readonly 'display-sm': readonly ["2.4rem", {
|
|
105
141
|
readonly lineHeight: "1.2";
|
|
106
142
|
readonly fontWeight: "500";
|
|
143
|
+
readonly letterSpacing: "-0.02em";
|
|
107
144
|
}];
|
|
108
145
|
};
|