@neuravision/construct 2.0.3 → 2.1.2
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 +318 -0
- package/README.md +158 -149
- package/behaviors/combobox.js +486 -0
- package/behaviors/drawer.js +18 -0
- package/behaviors/dropdown.js +310 -0
- package/behaviors/index.d.ts +335 -0
- package/behaviors/index.js +9 -0
- package/behaviors/internal/dialog-controller.js +421 -0
- package/behaviors/internal/dom.js +408 -0
- package/behaviors/internal/overlay.js +241 -0
- package/behaviors/internal/popup-layer.js +190 -0
- package/behaviors/modal.js +17 -0
- package/behaviors/popover.js +278 -0
- package/behaviors/select-menu.js +344 -0
- package/behaviors/tabs.js +241 -0
- package/behaviors/toggle-group.js +266 -0
- package/behaviors/tooltip.js +257 -0
- package/components/README.md +319 -83
- package/components/_shared.css +22 -10
- package/components/_shell-shared.css +20 -4
- package/components/accordion.css +8 -0
- package/components/app-shell-v2.css +28 -14
- package/components/app-shell.css +30 -14
- package/components/badge.css +15 -0
- package/components/banner.css +32 -1
- package/components/button.css +103 -15
- package/components/card.css +67 -8
- package/components/chart.css +26 -0
- package/components/checkbox.css +35 -2
- package/components/chip.css +30 -2
- package/components/combobox.css +21 -0
- package/components/datepicker.css +58 -9
- package/components/datum.css +277 -0
- package/components/dropdown.css +23 -3
- package/components/field.css +6 -4
- package/components/file-upload.css +1 -1
- package/components/index.css +5 -0
- package/components/list.css +28 -2
- package/components/meter.css +182 -0
- package/components/navbar.css +102 -4
- package/components/pagination.css +18 -0
- package/components/progress-bar.css +22 -1
- package/components/select-menu.css +8 -0
- package/components/select.css +8 -0
- package/components/sidebar.css +15 -2
- package/components/skip-link.css +6 -2
- package/components/slider.css +7 -1
- package/components/status.css +107 -0
- package/components/switch.css +66 -5
- package/components/table.css +53 -4
- package/components/tabs.css +55 -3
- package/components/toast.css +10 -1
- package/components/toggle-group.css +16 -5
- package/components/toolbar.css +17 -1
- package/components/tooltip.css +4 -0
- package/components/tree.css +30 -0
- package/docs/architecture.md +79 -0
- package/docs/behaviors.md +122 -0
- package/docs/fonts.md +70 -0
- package/docs/governance.md +85 -0
- package/docs/guidelines.md +72 -25
- package/examples/react/README.md +20 -0
- package/examples/react/SettingsModal.jsx +66 -0
- package/examples/react/construct.css +5 -0
- package/fonts.css +10 -0
- package/foundations.css +14 -1
- package/package.json +76 -21
- package/schemas/components.schema.json +122 -0
- package/schemas/examples/theme.example.json +27 -0
- package/schemas/primitives.schema.json +135 -0
- package/schemas/semantic.schema.json +224 -0
- package/schemas/theme.schema.json +63 -0
- package/scripts/build-tokens.mjs +1499 -0
- package/scripts/construct-theme.mjs +43 -0
- package/scripts/validate-tokens.mjs +25 -0
- package/standalone/accordion.css +3 -0
- package/standalone/alert.css +3 -0
- package/standalone/app-shell-v2.css +4 -0
- package/standalone/app-shell.css +4 -0
- package/standalone/avatar.css +3 -0
- package/standalone/badge.css +3 -0
- package/standalone/banner.css +3 -0
- package/standalone/breadcrumbs.css +3 -0
- package/standalone/button.css +3 -0
- package/standalone/card.css +3 -0
- package/standalone/chart.css +3 -0
- package/standalone/checkbox.css +3 -0
- package/standalone/chip.css +3 -0
- package/standalone/combobox.css +3 -0
- package/standalone/core.css +4 -0
- package/standalone/data-table.css +3 -0
- package/standalone/datepicker.css +3 -0
- package/standalone/datum.css +3 -0
- package/standalone/divider.css +3 -0
- package/standalone/drawer.css +3 -0
- package/standalone/dropdown.css +3 -0
- package/standalone/empty-state.css +3 -0
- package/standalone/field.css +3 -0
- package/standalone/file-upload.css +3 -0
- package/standalone/icon.css +3 -0
- package/standalone/input.css +3 -0
- package/standalone/list.css +3 -0
- package/standalone/meter.css +3 -0
- package/standalone/modal.css +3 -0
- package/standalone/navbar.css +3 -0
- package/standalone/pagination.css +3 -0
- package/standalone/popover.css +3 -0
- package/standalone/progress-bar.css +3 -0
- package/standalone/select-menu.css +3 -0
- package/standalone/select.css +3 -0
- package/standalone/sidebar.css +3 -0
- package/standalone/skeleton.css +3 -0
- package/standalone/skip-link.css +3 -0
- package/standalone/slider.css +3 -0
- package/standalone/spinner.css +3 -0
- package/standalone/status.css +3 -0
- package/standalone/switch.css +3 -0
- package/standalone/table.css +3 -0
- package/standalone/tabs.css +3 -0
- package/standalone/textarea.css +3 -0
- package/standalone/toast.css +3 -0
- package/standalone/toggle-group.css +3 -0
- package/standalone/toolbar.css +3 -0
- package/standalone/tooltip.css +3 -0
- package/standalone/tree.css +3 -0
- package/themes/README.md +37 -0
- package/themes/walnut.theme.json +106 -0
- package/tokens/README.md +135 -123
- package/tokens/components.json +64 -0
- package/tokens/primitives.json +268 -0
- package/tokens/semantic.dark.json +94 -0
- package/tokens/semantic.high-contrast-dark.json +94 -0
- package/tokens/semantic.high-contrast.json +94 -0
- package/tokens/semantic.light.json +179 -0
- package/tokens/tokens.css +960 -58
- package/tokens/tokens.js +729 -120
- package/tokens/tokens.json +1158 -116
- package/tokens/tokens.ts +729 -120
package/tokens/tokens.ts
CHANGED
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
/* Generated by
|
|
1
|
+
/* Generated by scripts/build-tokens.mjs. Do not edit directly. */
|
|
2
|
+
|
|
3
|
+
export const tokenMetadata = {
|
|
4
|
+
"formatVersion": 1,
|
|
5
|
+
"layers": [
|
|
6
|
+
"primitives",
|
|
7
|
+
"semantic",
|
|
8
|
+
"components"
|
|
9
|
+
],
|
|
10
|
+
"themes": [
|
|
11
|
+
"light",
|
|
12
|
+
"dark",
|
|
13
|
+
"high-contrast",
|
|
14
|
+
"high-contrast-dark"
|
|
15
|
+
]
|
|
16
|
+
} as const;
|
|
2
17
|
|
|
3
18
|
export const primitives = {
|
|
4
19
|
"color": {
|
|
@@ -127,28 +142,30 @@ export const primitives = {
|
|
|
127
142
|
"extrabold": "800"
|
|
128
143
|
},
|
|
129
144
|
"size": {
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
"
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
"
|
|
145
|
+
"2xs": "0.625rem",
|
|
146
|
+
"xs": "0.75rem",
|
|
147
|
+
"sm": "0.875rem",
|
|
148
|
+
"md": "1rem",
|
|
149
|
+
"lg": "1.125rem",
|
|
150
|
+
"xl": "1.25rem",
|
|
151
|
+
"2xl": "1.5rem",
|
|
152
|
+
"3xl": "1.75rem",
|
|
153
|
+
"4xl": "2rem",
|
|
154
|
+
"5xl": "2.5rem",
|
|
155
|
+
"6xl": "3rem"
|
|
140
156
|
},
|
|
141
157
|
"lineHeight": {
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"
|
|
147
|
-
"
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
"
|
|
151
|
-
"
|
|
158
|
+
"2xs": "0.875rem",
|
|
159
|
+
"xs": "1rem",
|
|
160
|
+
"sm": "1.25rem",
|
|
161
|
+
"md": "1.5rem",
|
|
162
|
+
"lg": "1.75rem",
|
|
163
|
+
"xl": "2rem",
|
|
164
|
+
"2xl": "2.25rem",
|
|
165
|
+
"3xl": "2.5rem",
|
|
166
|
+
"4xl": "2.75rem",
|
|
167
|
+
"5xl": "3.25rem",
|
|
168
|
+
"6xl": "3.75rem"
|
|
152
169
|
},
|
|
153
170
|
"letterSpacing": {
|
|
154
171
|
"tight": "-0.3px",
|
|
@@ -274,8 +291,9 @@ export const semantic = {
|
|
|
274
291
|
"primaryHover": "#353128",
|
|
275
292
|
"primaryActive": "#211E18",
|
|
276
293
|
"accent": "#F4581C",
|
|
277
|
-
"accentHover": "#
|
|
278
|
-
"accentActive": "#
|
|
294
|
+
"accentHover": "#FB6E2E",
|
|
295
|
+
"accentActive": "#FF9462",
|
|
296
|
+
"accentStrong": "#DD4A0F",
|
|
279
297
|
"onAccent": "#16130F"
|
|
280
298
|
},
|
|
281
299
|
"text": {
|
|
@@ -289,17 +307,19 @@ export const semantic = {
|
|
|
289
307
|
"canvas": "#FAFAF8",
|
|
290
308
|
"surface": "#F1F0EB",
|
|
291
309
|
"elevated": "#FFFFFF",
|
|
292
|
-
"muted": "#E4E2DB"
|
|
310
|
+
"muted": "#E4E2DB",
|
|
311
|
+
"subtle": "#F1F0EB"
|
|
293
312
|
},
|
|
294
313
|
"border": {
|
|
295
314
|
"subtle": "#E4E2DB",
|
|
296
|
-
"default": "#
|
|
297
|
-
"strong": "#
|
|
315
|
+
"default": "#8E887A",
|
|
316
|
+
"strong": "#66604E",
|
|
317
|
+
"muted": "#E4E2DB"
|
|
298
318
|
},
|
|
299
319
|
"state": {
|
|
300
320
|
"info": "#1F5BA6",
|
|
301
|
-
"success": "#
|
|
302
|
-
"warning": "#
|
|
321
|
+
"success": "#1B6145",
|
|
322
|
+
"warning": "#694B00",
|
|
303
323
|
"danger": "#BE1F3D",
|
|
304
324
|
"onSolid": "#FFFFFF"
|
|
305
325
|
},
|
|
@@ -369,64 +389,64 @@ export const semantic = {
|
|
|
369
389
|
"typography": {
|
|
370
390
|
"display": {
|
|
371
391
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
372
|
-
"fontSize": "
|
|
373
|
-
"lineHeight": "
|
|
392
|
+
"fontSize": "3rem",
|
|
393
|
+
"lineHeight": "3.75rem",
|
|
374
394
|
"fontWeight": "800",
|
|
375
395
|
"letterSpacing": "-0.3px"
|
|
376
396
|
},
|
|
377
397
|
"h1": {
|
|
378
398
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
379
|
-
"fontSize": "
|
|
380
|
-
"lineHeight": "
|
|
399
|
+
"fontSize": "2.5rem",
|
|
400
|
+
"lineHeight": "3.25rem",
|
|
381
401
|
"fontWeight": "700",
|
|
382
402
|
"letterSpacing": "-0.3px"
|
|
383
403
|
},
|
|
384
404
|
"h2": {
|
|
385
405
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
386
|
-
"fontSize": "
|
|
387
|
-
"lineHeight": "
|
|
406
|
+
"fontSize": "2rem",
|
|
407
|
+
"lineHeight": "2.75rem",
|
|
388
408
|
"fontWeight": "600",
|
|
389
409
|
"letterSpacing": "0px"
|
|
390
410
|
},
|
|
391
411
|
"h3": {
|
|
392
412
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
393
|
-
"fontSize": "
|
|
394
|
-
"lineHeight": "
|
|
413
|
+
"fontSize": "1.75rem",
|
|
414
|
+
"lineHeight": "2.5rem",
|
|
395
415
|
"fontWeight": "600",
|
|
396
416
|
"letterSpacing": "0px"
|
|
397
417
|
},
|
|
398
418
|
"h4": {
|
|
399
419
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
400
|
-
"fontSize": "
|
|
401
|
-
"lineHeight": "
|
|
420
|
+
"fontSize": "1.5rem",
|
|
421
|
+
"lineHeight": "2.25rem",
|
|
402
422
|
"fontWeight": "600",
|
|
403
423
|
"letterSpacing": "0px"
|
|
404
424
|
},
|
|
405
425
|
"body": {
|
|
406
426
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
407
|
-
"fontSize": "
|
|
408
|
-
"lineHeight": "
|
|
427
|
+
"fontSize": "1rem",
|
|
428
|
+
"lineHeight": "1.5rem",
|
|
409
429
|
"fontWeight": "400",
|
|
410
430
|
"letterSpacing": "0px"
|
|
411
431
|
},
|
|
412
432
|
"bodySm": {
|
|
413
433
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
414
|
-
"fontSize": "
|
|
415
|
-
"lineHeight": "
|
|
434
|
+
"fontSize": "0.875rem",
|
|
435
|
+
"lineHeight": "1.25rem",
|
|
416
436
|
"fontWeight": "400",
|
|
417
437
|
"letterSpacing": "0px"
|
|
418
438
|
},
|
|
419
439
|
"label": {
|
|
420
440
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
421
|
-
"fontSize": "
|
|
422
|
-
"lineHeight": "
|
|
441
|
+
"fontSize": "0.875rem",
|
|
442
|
+
"lineHeight": "1.25rem",
|
|
423
443
|
"fontWeight": "600",
|
|
424
444
|
"letterSpacing": "0.3px"
|
|
425
445
|
},
|
|
426
446
|
"caption": {
|
|
427
447
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
428
|
-
"fontSize": "
|
|
429
|
-
"lineHeight": "
|
|
448
|
+
"fontSize": "0.75rem",
|
|
449
|
+
"lineHeight": "1rem",
|
|
430
450
|
"fontWeight": "400",
|
|
431
451
|
"letterSpacing": "0px"
|
|
432
452
|
}
|
|
@@ -444,6 +464,71 @@ export const semantic = {
|
|
|
444
464
|
}
|
|
445
465
|
} as const;
|
|
446
466
|
|
|
467
|
+
export const components = {
|
|
468
|
+
"button": {
|
|
469
|
+
"background": "#16130F",
|
|
470
|
+
"backgroundHover": "#353128",
|
|
471
|
+
"backgroundActive": "#211E18",
|
|
472
|
+
"border": "#16130F",
|
|
473
|
+
"color": "#FFFFFF",
|
|
474
|
+
"height": "40px",
|
|
475
|
+
"paddingX": "16px",
|
|
476
|
+
"fontSize": "0.875rem",
|
|
477
|
+
"lineHeight": "1.25rem",
|
|
478
|
+
"fontWeight": "600",
|
|
479
|
+
"radius": "8px",
|
|
480
|
+
"gap": "6px",
|
|
481
|
+
"loadingSpinnerSize": "20px"
|
|
482
|
+
},
|
|
483
|
+
"control": {
|
|
484
|
+
"background": "#FFFFFF",
|
|
485
|
+
"backgroundHover": "#F1F0EB",
|
|
486
|
+
"backgroundDisabled": "#E4E2DB",
|
|
487
|
+
"border": "#8E887A",
|
|
488
|
+
"borderHover": "#66604E",
|
|
489
|
+
"borderFocus": "#DD4A0F",
|
|
490
|
+
"text": "#16130F",
|
|
491
|
+
"placeholder": "#66604E",
|
|
492
|
+
"radius": "8px"
|
|
493
|
+
},
|
|
494
|
+
"card": {
|
|
495
|
+
"background": "#FFFFFF",
|
|
496
|
+
"border": "#E4E2DB",
|
|
497
|
+
"radius": "12px",
|
|
498
|
+
"padding": "16px",
|
|
499
|
+
"shadow": "0 2px 6px rgba(28, 20, 10, 0.09)",
|
|
500
|
+
"shadowHover": "0 8px 20px rgba(28, 20, 10, 0.11)"
|
|
501
|
+
},
|
|
502
|
+
"status": {
|
|
503
|
+
"gap": "4px",
|
|
504
|
+
"fontSize": "0.875rem",
|
|
505
|
+
"iconSize": "16px"
|
|
506
|
+
},
|
|
507
|
+
"metric": {
|
|
508
|
+
"background": "#FFFFFF",
|
|
509
|
+
"border": "#E4E2DB",
|
|
510
|
+
"radius": "12px",
|
|
511
|
+
"padding": "16px",
|
|
512
|
+
"valueFontSize": "1.5rem",
|
|
513
|
+
"labelFontSize": "0.875rem"
|
|
514
|
+
},
|
|
515
|
+
"meter": {
|
|
516
|
+
"height": "6px",
|
|
517
|
+
"radius": "999px",
|
|
518
|
+
"track": "#E4E2DB"
|
|
519
|
+
},
|
|
520
|
+
"datum": {
|
|
521
|
+
"edgeWidth": "3px",
|
|
522
|
+
"tickWidth": "24px",
|
|
523
|
+
"tickHeight": "3px",
|
|
524
|
+
"originLength": "48px",
|
|
525
|
+
"markSize": "18px",
|
|
526
|
+
"scaleHeight": "9px",
|
|
527
|
+
"scaleMinorStep": "12px",
|
|
528
|
+
"scaleMajorStep": "60px"
|
|
529
|
+
}
|
|
530
|
+
} as const;
|
|
531
|
+
|
|
447
532
|
export const semanticThemes = {
|
|
448
533
|
"light": {
|
|
449
534
|
"color": {
|
|
@@ -452,8 +537,9 @@ export const semanticThemes = {
|
|
|
452
537
|
"primaryHover": "#353128",
|
|
453
538
|
"primaryActive": "#211E18",
|
|
454
539
|
"accent": "#F4581C",
|
|
455
|
-
"accentHover": "#
|
|
456
|
-
"accentActive": "#
|
|
540
|
+
"accentHover": "#FB6E2E",
|
|
541
|
+
"accentActive": "#FF9462",
|
|
542
|
+
"accentStrong": "#DD4A0F",
|
|
457
543
|
"onAccent": "#16130F"
|
|
458
544
|
},
|
|
459
545
|
"text": {
|
|
@@ -467,17 +553,19 @@ export const semanticThemes = {
|
|
|
467
553
|
"canvas": "#FAFAF8",
|
|
468
554
|
"surface": "#F1F0EB",
|
|
469
555
|
"elevated": "#FFFFFF",
|
|
470
|
-
"muted": "#E4E2DB"
|
|
556
|
+
"muted": "#E4E2DB",
|
|
557
|
+
"subtle": "#F1F0EB"
|
|
471
558
|
},
|
|
472
559
|
"border": {
|
|
473
560
|
"subtle": "#E4E2DB",
|
|
474
|
-
"default": "#
|
|
475
|
-
"strong": "#
|
|
561
|
+
"default": "#8E887A",
|
|
562
|
+
"strong": "#66604E",
|
|
563
|
+
"muted": "#E4E2DB"
|
|
476
564
|
},
|
|
477
565
|
"state": {
|
|
478
566
|
"info": "#1F5BA6",
|
|
479
|
-
"success": "#
|
|
480
|
-
"warning": "#
|
|
567
|
+
"success": "#1B6145",
|
|
568
|
+
"warning": "#694B00",
|
|
481
569
|
"danger": "#BE1F3D",
|
|
482
570
|
"onSolid": "#FFFFFF"
|
|
483
571
|
},
|
|
@@ -547,64 +635,64 @@ export const semanticThemes = {
|
|
|
547
635
|
"typography": {
|
|
548
636
|
"display": {
|
|
549
637
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
550
|
-
"fontSize": "
|
|
551
|
-
"lineHeight": "
|
|
638
|
+
"fontSize": "3rem",
|
|
639
|
+
"lineHeight": "3.75rem",
|
|
552
640
|
"fontWeight": "800",
|
|
553
641
|
"letterSpacing": "-0.3px"
|
|
554
642
|
},
|
|
555
643
|
"h1": {
|
|
556
644
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
557
|
-
"fontSize": "
|
|
558
|
-
"lineHeight": "
|
|
645
|
+
"fontSize": "2.5rem",
|
|
646
|
+
"lineHeight": "3.25rem",
|
|
559
647
|
"fontWeight": "700",
|
|
560
648
|
"letterSpacing": "-0.3px"
|
|
561
649
|
},
|
|
562
650
|
"h2": {
|
|
563
651
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
564
|
-
"fontSize": "
|
|
565
|
-
"lineHeight": "
|
|
652
|
+
"fontSize": "2rem",
|
|
653
|
+
"lineHeight": "2.75rem",
|
|
566
654
|
"fontWeight": "600",
|
|
567
655
|
"letterSpacing": "0px"
|
|
568
656
|
},
|
|
569
657
|
"h3": {
|
|
570
658
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
571
|
-
"fontSize": "
|
|
572
|
-
"lineHeight": "
|
|
659
|
+
"fontSize": "1.75rem",
|
|
660
|
+
"lineHeight": "2.5rem",
|
|
573
661
|
"fontWeight": "600",
|
|
574
662
|
"letterSpacing": "0px"
|
|
575
663
|
},
|
|
576
664
|
"h4": {
|
|
577
665
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
578
|
-
"fontSize": "
|
|
579
|
-
"lineHeight": "
|
|
666
|
+
"fontSize": "1.5rem",
|
|
667
|
+
"lineHeight": "2.25rem",
|
|
580
668
|
"fontWeight": "600",
|
|
581
669
|
"letterSpacing": "0px"
|
|
582
670
|
},
|
|
583
671
|
"body": {
|
|
584
672
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
585
|
-
"fontSize": "
|
|
586
|
-
"lineHeight": "
|
|
673
|
+
"fontSize": "1rem",
|
|
674
|
+
"lineHeight": "1.5rem",
|
|
587
675
|
"fontWeight": "400",
|
|
588
676
|
"letterSpacing": "0px"
|
|
589
677
|
},
|
|
590
678
|
"bodySm": {
|
|
591
679
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
592
|
-
"fontSize": "
|
|
593
|
-
"lineHeight": "
|
|
680
|
+
"fontSize": "0.875rem",
|
|
681
|
+
"lineHeight": "1.25rem",
|
|
594
682
|
"fontWeight": "400",
|
|
595
683
|
"letterSpacing": "0px"
|
|
596
684
|
},
|
|
597
685
|
"label": {
|
|
598
686
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
599
|
-
"fontSize": "
|
|
600
|
-
"lineHeight": "
|
|
687
|
+
"fontSize": "0.875rem",
|
|
688
|
+
"lineHeight": "1.25rem",
|
|
601
689
|
"fontWeight": "600",
|
|
602
690
|
"letterSpacing": "0.3px"
|
|
603
691
|
},
|
|
604
692
|
"caption": {
|
|
605
693
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
606
|
-
"fontSize": "
|
|
607
|
-
"lineHeight": "
|
|
694
|
+
"fontSize": "0.75rem",
|
|
695
|
+
"lineHeight": "1rem",
|
|
608
696
|
"fontWeight": "400",
|
|
609
697
|
"letterSpacing": "0px"
|
|
610
698
|
}
|
|
@@ -630,12 +718,13 @@ export const semanticThemes = {
|
|
|
630
718
|
"accent": "#FB6E2E",
|
|
631
719
|
"accentHover": "#FF9462",
|
|
632
720
|
"accentActive": "#F4581C",
|
|
721
|
+
"accentStrong": "#FB6E2E",
|
|
633
722
|
"onAccent": "#16130F"
|
|
634
723
|
},
|
|
635
724
|
"text": {
|
|
636
725
|
"primary": "#FFFFFF",
|
|
637
726
|
"secondary": "#E4E2DB",
|
|
638
|
-
"muted": "#
|
|
727
|
+
"muted": "#D3D0C7",
|
|
639
728
|
"inverse": "#FFFFFF",
|
|
640
729
|
"onPrimary": "#16130F"
|
|
641
730
|
},
|
|
@@ -643,12 +732,14 @@ export const semanticThemes = {
|
|
|
643
732
|
"canvas": "#16130F",
|
|
644
733
|
"surface": "#353128",
|
|
645
734
|
"elevated": "#4B473E",
|
|
646
|
-
"muted": "#211E18"
|
|
735
|
+
"muted": "#211E18",
|
|
736
|
+
"subtle": "#353128"
|
|
647
737
|
},
|
|
648
738
|
"border": {
|
|
649
|
-
"subtle": "#
|
|
650
|
-
"default": "#
|
|
651
|
-
"strong": "#
|
|
739
|
+
"subtle": "#66604E",
|
|
740
|
+
"default": "#B4AFA1",
|
|
741
|
+
"strong": "#D3D0C7",
|
|
742
|
+
"muted": "#66604E"
|
|
652
743
|
},
|
|
653
744
|
"state": {
|
|
654
745
|
"info": "#76A6DC",
|
|
@@ -673,7 +764,7 @@ export const semanticThemes = {
|
|
|
673
764
|
"info": "#A6C6EA",
|
|
674
765
|
"success": "#9EDCC0",
|
|
675
766
|
"warning": "#EDC85F",
|
|
676
|
-
"danger": "#
|
|
767
|
+
"danger": "#F7C6CF"
|
|
677
768
|
},
|
|
678
769
|
"overlay": {
|
|
679
770
|
"scrim": "rgba(8, 6, 4, 0.72)"
|
|
@@ -723,64 +814,64 @@ export const semanticThemes = {
|
|
|
723
814
|
"typography": {
|
|
724
815
|
"display": {
|
|
725
816
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
726
|
-
"fontSize": "
|
|
727
|
-
"lineHeight": "
|
|
817
|
+
"fontSize": "3rem",
|
|
818
|
+
"lineHeight": "3.75rem",
|
|
728
819
|
"fontWeight": "800",
|
|
729
820
|
"letterSpacing": "-0.3px"
|
|
730
821
|
},
|
|
731
822
|
"h1": {
|
|
732
823
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
733
|
-
"fontSize": "
|
|
734
|
-
"lineHeight": "
|
|
824
|
+
"fontSize": "2.5rem",
|
|
825
|
+
"lineHeight": "3.25rem",
|
|
735
826
|
"fontWeight": "700",
|
|
736
827
|
"letterSpacing": "-0.3px"
|
|
737
828
|
},
|
|
738
829
|
"h2": {
|
|
739
830
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
740
|
-
"fontSize": "
|
|
741
|
-
"lineHeight": "
|
|
831
|
+
"fontSize": "2rem",
|
|
832
|
+
"lineHeight": "2.75rem",
|
|
742
833
|
"fontWeight": "600",
|
|
743
834
|
"letterSpacing": "0px"
|
|
744
835
|
},
|
|
745
836
|
"h3": {
|
|
746
837
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
747
|
-
"fontSize": "
|
|
748
|
-
"lineHeight": "
|
|
838
|
+
"fontSize": "1.75rem",
|
|
839
|
+
"lineHeight": "2.5rem",
|
|
749
840
|
"fontWeight": "600",
|
|
750
841
|
"letterSpacing": "0px"
|
|
751
842
|
},
|
|
752
843
|
"h4": {
|
|
753
844
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
754
|
-
"fontSize": "
|
|
755
|
-
"lineHeight": "
|
|
845
|
+
"fontSize": "1.5rem",
|
|
846
|
+
"lineHeight": "2.25rem",
|
|
756
847
|
"fontWeight": "600",
|
|
757
848
|
"letterSpacing": "0px"
|
|
758
849
|
},
|
|
759
850
|
"body": {
|
|
760
851
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
761
|
-
"fontSize": "
|
|
762
|
-
"lineHeight": "
|
|
852
|
+
"fontSize": "1rem",
|
|
853
|
+
"lineHeight": "1.5rem",
|
|
763
854
|
"fontWeight": "400",
|
|
764
855
|
"letterSpacing": "0px"
|
|
765
856
|
},
|
|
766
857
|
"bodySm": {
|
|
767
858
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
768
|
-
"fontSize": "
|
|
769
|
-
"lineHeight": "
|
|
859
|
+
"fontSize": "0.875rem",
|
|
860
|
+
"lineHeight": "1.25rem",
|
|
770
861
|
"fontWeight": "400",
|
|
771
862
|
"letterSpacing": "0px"
|
|
772
863
|
},
|
|
773
864
|
"label": {
|
|
774
865
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
775
|
-
"fontSize": "
|
|
776
|
-
"lineHeight": "
|
|
866
|
+
"fontSize": "0.875rem",
|
|
867
|
+
"lineHeight": "1.25rem",
|
|
777
868
|
"fontWeight": "600",
|
|
778
869
|
"letterSpacing": "0.3px"
|
|
779
870
|
},
|
|
780
871
|
"caption": {
|
|
781
872
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
782
|
-
"fontSize": "
|
|
783
|
-
"lineHeight": "
|
|
873
|
+
"fontSize": "0.75rem",
|
|
874
|
+
"lineHeight": "1rem",
|
|
784
875
|
"fontWeight": "400",
|
|
785
876
|
"letterSpacing": "0px"
|
|
786
877
|
}
|
|
@@ -805,7 +896,8 @@ export const semanticThemes = {
|
|
|
805
896
|
"primaryActive": "#353128",
|
|
806
897
|
"accent": "#B23C0C",
|
|
807
898
|
"accentHover": "#882D09",
|
|
808
|
-
"accentActive": "#
|
|
899
|
+
"accentActive": "#5C1E06",
|
|
900
|
+
"accentStrong": "#882D09",
|
|
809
901
|
"onAccent": "#FFFFFF"
|
|
810
902
|
},
|
|
811
903
|
"text": {
|
|
@@ -819,12 +911,14 @@ export const semanticThemes = {
|
|
|
819
911
|
"canvas": "#FFFFFF",
|
|
820
912
|
"surface": "#FFFFFF",
|
|
821
913
|
"elevated": "#FFFFFF",
|
|
822
|
-
"muted": "#
|
|
914
|
+
"muted": "#E4E2DB",
|
|
915
|
+
"subtle": "#FFFFFF"
|
|
823
916
|
},
|
|
824
917
|
"border": {
|
|
825
|
-
"subtle": "#
|
|
918
|
+
"subtle": "#8E887A",
|
|
826
919
|
"default": "#4B473E",
|
|
827
|
-
"strong": "#16130F"
|
|
920
|
+
"strong": "#16130F",
|
|
921
|
+
"muted": "#8E887A"
|
|
828
922
|
},
|
|
829
923
|
"state": {
|
|
830
924
|
"info": "#123356",
|
|
@@ -899,64 +993,243 @@ export const semanticThemes = {
|
|
|
899
993
|
"typography": {
|
|
900
994
|
"display": {
|
|
901
995
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
902
|
-
"fontSize": "
|
|
903
|
-
"lineHeight": "
|
|
996
|
+
"fontSize": "3rem",
|
|
997
|
+
"lineHeight": "3.75rem",
|
|
998
|
+
"fontWeight": "800",
|
|
999
|
+
"letterSpacing": "-0.3px"
|
|
1000
|
+
},
|
|
1001
|
+
"h1": {
|
|
1002
|
+
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
1003
|
+
"fontSize": "2.5rem",
|
|
1004
|
+
"lineHeight": "3.25rem",
|
|
1005
|
+
"fontWeight": "700",
|
|
1006
|
+
"letterSpacing": "-0.3px"
|
|
1007
|
+
},
|
|
1008
|
+
"h2": {
|
|
1009
|
+
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
1010
|
+
"fontSize": "2rem",
|
|
1011
|
+
"lineHeight": "2.75rem",
|
|
1012
|
+
"fontWeight": "600",
|
|
1013
|
+
"letterSpacing": "0px"
|
|
1014
|
+
},
|
|
1015
|
+
"h3": {
|
|
1016
|
+
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
1017
|
+
"fontSize": "1.75rem",
|
|
1018
|
+
"lineHeight": "2.5rem",
|
|
1019
|
+
"fontWeight": "600",
|
|
1020
|
+
"letterSpacing": "0px"
|
|
1021
|
+
},
|
|
1022
|
+
"h4": {
|
|
1023
|
+
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
1024
|
+
"fontSize": "1.5rem",
|
|
1025
|
+
"lineHeight": "2.25rem",
|
|
1026
|
+
"fontWeight": "600",
|
|
1027
|
+
"letterSpacing": "0px"
|
|
1028
|
+
},
|
|
1029
|
+
"body": {
|
|
1030
|
+
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
1031
|
+
"fontSize": "1rem",
|
|
1032
|
+
"lineHeight": "1.5rem",
|
|
1033
|
+
"fontWeight": "400",
|
|
1034
|
+
"letterSpacing": "0px"
|
|
1035
|
+
},
|
|
1036
|
+
"bodySm": {
|
|
1037
|
+
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
1038
|
+
"fontSize": "0.875rem",
|
|
1039
|
+
"lineHeight": "1.25rem",
|
|
1040
|
+
"fontWeight": "400",
|
|
1041
|
+
"letterSpacing": "0px"
|
|
1042
|
+
},
|
|
1043
|
+
"label": {
|
|
1044
|
+
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
1045
|
+
"fontSize": "0.875rem",
|
|
1046
|
+
"lineHeight": "1.25rem",
|
|
1047
|
+
"fontWeight": "600",
|
|
1048
|
+
"letterSpacing": "0.3px"
|
|
1049
|
+
},
|
|
1050
|
+
"caption": {
|
|
1051
|
+
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
1052
|
+
"fontSize": "0.75rem",
|
|
1053
|
+
"lineHeight": "1rem",
|
|
1054
|
+
"fontWeight": "400",
|
|
1055
|
+
"letterSpacing": "0px"
|
|
1056
|
+
}
|
|
1057
|
+
},
|
|
1058
|
+
"radius": {
|
|
1059
|
+
"control": "8px",
|
|
1060
|
+
"card": "12px",
|
|
1061
|
+
"modal": "16px",
|
|
1062
|
+
"pill": "999px"
|
|
1063
|
+
},
|
|
1064
|
+
"shadow": {
|
|
1065
|
+
"card": "0 2px 6px rgba(28, 20, 10, 0.09)",
|
|
1066
|
+
"dropdown": "0 8px 20px rgba(28, 20, 10, 0.11)",
|
|
1067
|
+
"modal": "0 16px 36px rgba(28, 20, 10, 0.13)"
|
|
1068
|
+
}
|
|
1069
|
+
},
|
|
1070
|
+
"highContrastDark": {
|
|
1071
|
+
"color": {
|
|
1072
|
+
"brand": {
|
|
1073
|
+
"primary": "#FFFFFF",
|
|
1074
|
+
"primaryHover": "#F1F0EB",
|
|
1075
|
+
"primaryActive": "#E4E2DB",
|
|
1076
|
+
"accent": "#FF9462",
|
|
1077
|
+
"accentHover": "#FFBE9C",
|
|
1078
|
+
"accentActive": "#FB6E2E",
|
|
1079
|
+
"accentStrong": "#FF9462",
|
|
1080
|
+
"onAccent": "#16130F"
|
|
1081
|
+
},
|
|
1082
|
+
"text": {
|
|
1083
|
+
"primary": "#FFFFFF",
|
|
1084
|
+
"secondary": "#F1F0EB",
|
|
1085
|
+
"muted": "#E4E2DB",
|
|
1086
|
+
"inverse": "#16130F",
|
|
1087
|
+
"onPrimary": "#16130F"
|
|
1088
|
+
},
|
|
1089
|
+
"background": {
|
|
1090
|
+
"canvas": "#16130F",
|
|
1091
|
+
"surface": "#16130F",
|
|
1092
|
+
"elevated": "#211E18",
|
|
1093
|
+
"muted": "#353128",
|
|
1094
|
+
"subtle": "#16130F"
|
|
1095
|
+
},
|
|
1096
|
+
"border": {
|
|
1097
|
+
"subtle": "#8E887A",
|
|
1098
|
+
"default": "#D3D0C7",
|
|
1099
|
+
"strong": "#FFFFFF",
|
|
1100
|
+
"muted": "#8E887A"
|
|
1101
|
+
},
|
|
1102
|
+
"state": {
|
|
1103
|
+
"info": "#A6C6EA",
|
|
1104
|
+
"success": "#9EDCC0",
|
|
1105
|
+
"warning": "#EDC85F",
|
|
1106
|
+
"danger": "#EF98A8",
|
|
1107
|
+
"onSolid": "#16130F"
|
|
1108
|
+
},
|
|
1109
|
+
"stateSurface": {
|
|
1110
|
+
"info": "#0C2238",
|
|
1111
|
+
"success": "#0C2E22",
|
|
1112
|
+
"warning": "#2F2100",
|
|
1113
|
+
"danger": "#330610"
|
|
1114
|
+
},
|
|
1115
|
+
"stateBorder": {
|
|
1116
|
+
"info": "#76A6DC",
|
|
1117
|
+
"success": "#70CBA3",
|
|
1118
|
+
"warning": "#DFAB1F",
|
|
1119
|
+
"danger": "#E4647C"
|
|
1120
|
+
},
|
|
1121
|
+
"stateText": {
|
|
1122
|
+
"info": "#CFE0F4",
|
|
1123
|
+
"success": "#C7EAD9",
|
|
1124
|
+
"warning": "#F6E3A6",
|
|
1125
|
+
"danger": "#F7C6CF"
|
|
1126
|
+
},
|
|
1127
|
+
"overlay": {
|
|
1128
|
+
"scrim": "rgba(0, 0, 0, 0.82)"
|
|
1129
|
+
},
|
|
1130
|
+
"focus": {
|
|
1131
|
+
"ring": "#FF9462"
|
|
1132
|
+
},
|
|
1133
|
+
"avatarSeed": {
|
|
1134
|
+
"1Bg": "#0C2238",
|
|
1135
|
+
"1Fg": "#CFE0F4",
|
|
1136
|
+
"2Bg": "#0A3533",
|
|
1137
|
+
"2Fg": "#C5ECEA",
|
|
1138
|
+
"3Bg": "#2F2100",
|
|
1139
|
+
"3Fg": "#F6E3A6",
|
|
1140
|
+
"4Bg": "#330610",
|
|
1141
|
+
"4Fg": "#F7C6CF",
|
|
1142
|
+
"5Bg": "#0C2E22",
|
|
1143
|
+
"5Fg": "#C7EAD9",
|
|
1144
|
+
"6Bg": "#1A0F2C",
|
|
1145
|
+
"6Fg": "#E5D7F4",
|
|
1146
|
+
"7Bg": "#29080F",
|
|
1147
|
+
"7Fg": "#F5CDDC",
|
|
1148
|
+
"8Bg": "#353128",
|
|
1149
|
+
"8Fg": "#F1F0EB"
|
|
1150
|
+
},
|
|
1151
|
+
"chartSeries": {
|
|
1152
|
+
"1": "#A6C6EA",
|
|
1153
|
+
"2": "#EDC85F",
|
|
1154
|
+
"3": "#9EDCC0",
|
|
1155
|
+
"4": "#C9B0E6",
|
|
1156
|
+
"5": "#EA9CB7",
|
|
1157
|
+
"6": "#93DAD6",
|
|
1158
|
+
"7": "#EF98A8",
|
|
1159
|
+
"8": "#E4E2DB"
|
|
1160
|
+
}
|
|
1161
|
+
},
|
|
1162
|
+
"theme": {
|
|
1163
|
+
"colorScheme": "dark"
|
|
1164
|
+
},
|
|
1165
|
+
"font": {
|
|
1166
|
+
"family": {
|
|
1167
|
+
"heading": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
1168
|
+
"body": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
1169
|
+
"code": "\"JetBrains Mono\", \"SFMono-Regular\", Menlo, monospace"
|
|
1170
|
+
}
|
|
1171
|
+
},
|
|
1172
|
+
"typography": {
|
|
1173
|
+
"display": {
|
|
1174
|
+
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
1175
|
+
"fontSize": "3rem",
|
|
1176
|
+
"lineHeight": "3.75rem",
|
|
904
1177
|
"fontWeight": "800",
|
|
905
1178
|
"letterSpacing": "-0.3px"
|
|
906
1179
|
},
|
|
907
1180
|
"h1": {
|
|
908
1181
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
909
|
-
"fontSize": "
|
|
910
|
-
"lineHeight": "
|
|
1182
|
+
"fontSize": "2.5rem",
|
|
1183
|
+
"lineHeight": "3.25rem",
|
|
911
1184
|
"fontWeight": "700",
|
|
912
1185
|
"letterSpacing": "-0.3px"
|
|
913
1186
|
},
|
|
914
1187
|
"h2": {
|
|
915
1188
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
916
|
-
"fontSize": "
|
|
917
|
-
"lineHeight": "
|
|
1189
|
+
"fontSize": "2rem",
|
|
1190
|
+
"lineHeight": "2.75rem",
|
|
918
1191
|
"fontWeight": "600",
|
|
919
1192
|
"letterSpacing": "0px"
|
|
920
1193
|
},
|
|
921
1194
|
"h3": {
|
|
922
1195
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
923
|
-
"fontSize": "
|
|
924
|
-
"lineHeight": "
|
|
1196
|
+
"fontSize": "1.75rem",
|
|
1197
|
+
"lineHeight": "2.5rem",
|
|
925
1198
|
"fontWeight": "600",
|
|
926
1199
|
"letterSpacing": "0px"
|
|
927
1200
|
},
|
|
928
1201
|
"h4": {
|
|
929
1202
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
930
|
-
"fontSize": "
|
|
931
|
-
"lineHeight": "
|
|
1203
|
+
"fontSize": "1.5rem",
|
|
1204
|
+
"lineHeight": "2.25rem",
|
|
932
1205
|
"fontWeight": "600",
|
|
933
1206
|
"letterSpacing": "0px"
|
|
934
1207
|
},
|
|
935
1208
|
"body": {
|
|
936
1209
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
937
|
-
"fontSize": "
|
|
938
|
-
"lineHeight": "
|
|
1210
|
+
"fontSize": "1rem",
|
|
1211
|
+
"lineHeight": "1.5rem",
|
|
939
1212
|
"fontWeight": "400",
|
|
940
1213
|
"letterSpacing": "0px"
|
|
941
1214
|
},
|
|
942
1215
|
"bodySm": {
|
|
943
1216
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
944
|
-
"fontSize": "
|
|
945
|
-
"lineHeight": "
|
|
1217
|
+
"fontSize": "0.875rem",
|
|
1218
|
+
"lineHeight": "1.25rem",
|
|
946
1219
|
"fontWeight": "400",
|
|
947
1220
|
"letterSpacing": "0px"
|
|
948
1221
|
},
|
|
949
1222
|
"label": {
|
|
950
1223
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
951
|
-
"fontSize": "
|
|
952
|
-
"lineHeight": "
|
|
1224
|
+
"fontSize": "0.875rem",
|
|
1225
|
+
"lineHeight": "1.25rem",
|
|
953
1226
|
"fontWeight": "600",
|
|
954
1227
|
"letterSpacing": "0.3px"
|
|
955
1228
|
},
|
|
956
1229
|
"caption": {
|
|
957
1230
|
"fontFamily": "\"Lato\", \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif",
|
|
958
|
-
"fontSize": "
|
|
959
|
-
"lineHeight": "
|
|
1231
|
+
"fontSize": "0.75rem",
|
|
1232
|
+
"lineHeight": "1rem",
|
|
960
1233
|
"fontWeight": "400",
|
|
961
1234
|
"letterSpacing": "0px"
|
|
962
1235
|
}
|
|
@@ -975,6 +1248,265 @@ export const semanticThemes = {
|
|
|
975
1248
|
}
|
|
976
1249
|
} as const;
|
|
977
1250
|
|
|
1251
|
+
export const componentThemes = {
|
|
1252
|
+
"light": {
|
|
1253
|
+
"button": {
|
|
1254
|
+
"background": "#16130F",
|
|
1255
|
+
"backgroundHover": "#353128",
|
|
1256
|
+
"backgroundActive": "#211E18",
|
|
1257
|
+
"border": "#16130F",
|
|
1258
|
+
"color": "#FFFFFF",
|
|
1259
|
+
"height": "40px",
|
|
1260
|
+
"paddingX": "16px",
|
|
1261
|
+
"fontSize": "0.875rem",
|
|
1262
|
+
"lineHeight": "1.25rem",
|
|
1263
|
+
"fontWeight": "600",
|
|
1264
|
+
"radius": "8px",
|
|
1265
|
+
"gap": "6px",
|
|
1266
|
+
"loadingSpinnerSize": "20px"
|
|
1267
|
+
},
|
|
1268
|
+
"control": {
|
|
1269
|
+
"background": "#FFFFFF",
|
|
1270
|
+
"backgroundHover": "#F1F0EB",
|
|
1271
|
+
"backgroundDisabled": "#E4E2DB",
|
|
1272
|
+
"border": "#8E887A",
|
|
1273
|
+
"borderHover": "#66604E",
|
|
1274
|
+
"borderFocus": "#DD4A0F",
|
|
1275
|
+
"text": "#16130F",
|
|
1276
|
+
"placeholder": "#66604E",
|
|
1277
|
+
"radius": "8px"
|
|
1278
|
+
},
|
|
1279
|
+
"card": {
|
|
1280
|
+
"background": "#FFFFFF",
|
|
1281
|
+
"border": "#E4E2DB",
|
|
1282
|
+
"radius": "12px",
|
|
1283
|
+
"padding": "16px",
|
|
1284
|
+
"shadow": "0 2px 6px rgba(28, 20, 10, 0.09)",
|
|
1285
|
+
"shadowHover": "0 8px 20px rgba(28, 20, 10, 0.11)"
|
|
1286
|
+
},
|
|
1287
|
+
"status": {
|
|
1288
|
+
"gap": "4px",
|
|
1289
|
+
"fontSize": "0.875rem",
|
|
1290
|
+
"iconSize": "16px"
|
|
1291
|
+
},
|
|
1292
|
+
"metric": {
|
|
1293
|
+
"background": "#FFFFFF",
|
|
1294
|
+
"border": "#E4E2DB",
|
|
1295
|
+
"radius": "12px",
|
|
1296
|
+
"padding": "16px",
|
|
1297
|
+
"valueFontSize": "1.5rem",
|
|
1298
|
+
"labelFontSize": "0.875rem"
|
|
1299
|
+
},
|
|
1300
|
+
"meter": {
|
|
1301
|
+
"height": "6px",
|
|
1302
|
+
"radius": "999px",
|
|
1303
|
+
"track": "#E4E2DB"
|
|
1304
|
+
},
|
|
1305
|
+
"datum": {
|
|
1306
|
+
"edgeWidth": "3px",
|
|
1307
|
+
"tickWidth": "24px",
|
|
1308
|
+
"tickHeight": "3px",
|
|
1309
|
+
"originLength": "48px",
|
|
1310
|
+
"markSize": "18px",
|
|
1311
|
+
"scaleHeight": "9px",
|
|
1312
|
+
"scaleMinorStep": "12px",
|
|
1313
|
+
"scaleMajorStep": "60px"
|
|
1314
|
+
}
|
|
1315
|
+
},
|
|
1316
|
+
"dark": {
|
|
1317
|
+
"button": {
|
|
1318
|
+
"background": "#F1F0EB",
|
|
1319
|
+
"backgroundHover": "#FFFFFF",
|
|
1320
|
+
"backgroundActive": "#E4E2DB",
|
|
1321
|
+
"border": "#F1F0EB",
|
|
1322
|
+
"color": "#16130F",
|
|
1323
|
+
"height": "40px",
|
|
1324
|
+
"paddingX": "16px",
|
|
1325
|
+
"fontSize": "0.875rem",
|
|
1326
|
+
"lineHeight": "1.25rem",
|
|
1327
|
+
"fontWeight": "600",
|
|
1328
|
+
"radius": "8px",
|
|
1329
|
+
"gap": "6px",
|
|
1330
|
+
"loadingSpinnerSize": "20px"
|
|
1331
|
+
},
|
|
1332
|
+
"control": {
|
|
1333
|
+
"background": "#4B473E",
|
|
1334
|
+
"backgroundHover": "#353128",
|
|
1335
|
+
"backgroundDisabled": "#211E18",
|
|
1336
|
+
"border": "#B4AFA1",
|
|
1337
|
+
"borderHover": "#D3D0C7",
|
|
1338
|
+
"borderFocus": "#FB6E2E",
|
|
1339
|
+
"text": "#FFFFFF",
|
|
1340
|
+
"placeholder": "#D3D0C7",
|
|
1341
|
+
"radius": "8px"
|
|
1342
|
+
},
|
|
1343
|
+
"card": {
|
|
1344
|
+
"background": "#4B473E",
|
|
1345
|
+
"border": "#66604E",
|
|
1346
|
+
"radius": "12px",
|
|
1347
|
+
"padding": "16px",
|
|
1348
|
+
"shadow": "0 2px 6px rgba(28, 20, 10, 0.09)",
|
|
1349
|
+
"shadowHover": "0 8px 20px rgba(28, 20, 10, 0.11)"
|
|
1350
|
+
},
|
|
1351
|
+
"status": {
|
|
1352
|
+
"gap": "4px",
|
|
1353
|
+
"fontSize": "0.875rem",
|
|
1354
|
+
"iconSize": "16px"
|
|
1355
|
+
},
|
|
1356
|
+
"metric": {
|
|
1357
|
+
"background": "#4B473E",
|
|
1358
|
+
"border": "#66604E",
|
|
1359
|
+
"radius": "12px",
|
|
1360
|
+
"padding": "16px",
|
|
1361
|
+
"valueFontSize": "1.5rem",
|
|
1362
|
+
"labelFontSize": "0.875rem"
|
|
1363
|
+
},
|
|
1364
|
+
"meter": {
|
|
1365
|
+
"height": "6px",
|
|
1366
|
+
"radius": "999px",
|
|
1367
|
+
"track": "#211E18"
|
|
1368
|
+
},
|
|
1369
|
+
"datum": {
|
|
1370
|
+
"edgeWidth": "3px",
|
|
1371
|
+
"tickWidth": "24px",
|
|
1372
|
+
"tickHeight": "3px",
|
|
1373
|
+
"originLength": "48px",
|
|
1374
|
+
"markSize": "18px",
|
|
1375
|
+
"scaleHeight": "9px",
|
|
1376
|
+
"scaleMinorStep": "12px",
|
|
1377
|
+
"scaleMajorStep": "60px"
|
|
1378
|
+
}
|
|
1379
|
+
},
|
|
1380
|
+
"highContrast": {
|
|
1381
|
+
"button": {
|
|
1382
|
+
"background": "#16130F",
|
|
1383
|
+
"backgroundHover": "#211E18",
|
|
1384
|
+
"backgroundActive": "#353128",
|
|
1385
|
+
"border": "#16130F",
|
|
1386
|
+
"color": "#FFFFFF",
|
|
1387
|
+
"height": "40px",
|
|
1388
|
+
"paddingX": "16px",
|
|
1389
|
+
"fontSize": "0.875rem",
|
|
1390
|
+
"lineHeight": "1.25rem",
|
|
1391
|
+
"fontWeight": "600",
|
|
1392
|
+
"radius": "8px",
|
|
1393
|
+
"gap": "6px",
|
|
1394
|
+
"loadingSpinnerSize": "20px"
|
|
1395
|
+
},
|
|
1396
|
+
"control": {
|
|
1397
|
+
"background": "#FFFFFF",
|
|
1398
|
+
"backgroundHover": "#FFFFFF",
|
|
1399
|
+
"backgroundDisabled": "#E4E2DB",
|
|
1400
|
+
"border": "#4B473E",
|
|
1401
|
+
"borderHover": "#16130F",
|
|
1402
|
+
"borderFocus": "#B23C0C",
|
|
1403
|
+
"text": "#16130F",
|
|
1404
|
+
"placeholder": "#4B473E",
|
|
1405
|
+
"radius": "8px"
|
|
1406
|
+
},
|
|
1407
|
+
"card": {
|
|
1408
|
+
"background": "#FFFFFF",
|
|
1409
|
+
"border": "#8E887A",
|
|
1410
|
+
"radius": "12px",
|
|
1411
|
+
"padding": "16px",
|
|
1412
|
+
"shadow": "0 2px 6px rgba(28, 20, 10, 0.09)",
|
|
1413
|
+
"shadowHover": "0 8px 20px rgba(28, 20, 10, 0.11)"
|
|
1414
|
+
},
|
|
1415
|
+
"status": {
|
|
1416
|
+
"gap": "4px",
|
|
1417
|
+
"fontSize": "0.875rem",
|
|
1418
|
+
"iconSize": "16px"
|
|
1419
|
+
},
|
|
1420
|
+
"metric": {
|
|
1421
|
+
"background": "#FFFFFF",
|
|
1422
|
+
"border": "#8E887A",
|
|
1423
|
+
"radius": "12px",
|
|
1424
|
+
"padding": "16px",
|
|
1425
|
+
"valueFontSize": "1.5rem",
|
|
1426
|
+
"labelFontSize": "0.875rem"
|
|
1427
|
+
},
|
|
1428
|
+
"meter": {
|
|
1429
|
+
"height": "6px",
|
|
1430
|
+
"radius": "999px",
|
|
1431
|
+
"track": "#E4E2DB"
|
|
1432
|
+
},
|
|
1433
|
+
"datum": {
|
|
1434
|
+
"edgeWidth": "3px",
|
|
1435
|
+
"tickWidth": "24px",
|
|
1436
|
+
"tickHeight": "3px",
|
|
1437
|
+
"originLength": "48px",
|
|
1438
|
+
"markSize": "18px",
|
|
1439
|
+
"scaleHeight": "9px",
|
|
1440
|
+
"scaleMinorStep": "12px",
|
|
1441
|
+
"scaleMajorStep": "60px"
|
|
1442
|
+
}
|
|
1443
|
+
},
|
|
1444
|
+
"highContrastDark": {
|
|
1445
|
+
"button": {
|
|
1446
|
+
"background": "#FFFFFF",
|
|
1447
|
+
"backgroundHover": "#F1F0EB",
|
|
1448
|
+
"backgroundActive": "#E4E2DB",
|
|
1449
|
+
"border": "#FFFFFF",
|
|
1450
|
+
"color": "#16130F",
|
|
1451
|
+
"height": "40px",
|
|
1452
|
+
"paddingX": "16px",
|
|
1453
|
+
"fontSize": "0.875rem",
|
|
1454
|
+
"lineHeight": "1.25rem",
|
|
1455
|
+
"fontWeight": "600",
|
|
1456
|
+
"radius": "8px",
|
|
1457
|
+
"gap": "6px",
|
|
1458
|
+
"loadingSpinnerSize": "20px"
|
|
1459
|
+
},
|
|
1460
|
+
"control": {
|
|
1461
|
+
"background": "#211E18",
|
|
1462
|
+
"backgroundHover": "#16130F",
|
|
1463
|
+
"backgroundDisabled": "#353128",
|
|
1464
|
+
"border": "#D3D0C7",
|
|
1465
|
+
"borderHover": "#FFFFFF",
|
|
1466
|
+
"borderFocus": "#FF9462",
|
|
1467
|
+
"text": "#FFFFFF",
|
|
1468
|
+
"placeholder": "#E4E2DB",
|
|
1469
|
+
"radius": "8px"
|
|
1470
|
+
},
|
|
1471
|
+
"card": {
|
|
1472
|
+
"background": "#211E18",
|
|
1473
|
+
"border": "#8E887A",
|
|
1474
|
+
"radius": "12px",
|
|
1475
|
+
"padding": "16px",
|
|
1476
|
+
"shadow": "0 2px 6px rgba(28, 20, 10, 0.09)",
|
|
1477
|
+
"shadowHover": "0 8px 20px rgba(28, 20, 10, 0.11)"
|
|
1478
|
+
},
|
|
1479
|
+
"status": {
|
|
1480
|
+
"gap": "4px",
|
|
1481
|
+
"fontSize": "0.875rem",
|
|
1482
|
+
"iconSize": "16px"
|
|
1483
|
+
},
|
|
1484
|
+
"metric": {
|
|
1485
|
+
"background": "#211E18",
|
|
1486
|
+
"border": "#8E887A",
|
|
1487
|
+
"radius": "12px",
|
|
1488
|
+
"padding": "16px",
|
|
1489
|
+
"valueFontSize": "1.5rem",
|
|
1490
|
+
"labelFontSize": "0.875rem"
|
|
1491
|
+
},
|
|
1492
|
+
"meter": {
|
|
1493
|
+
"height": "6px",
|
|
1494
|
+
"radius": "999px",
|
|
1495
|
+
"track": "#353128"
|
|
1496
|
+
},
|
|
1497
|
+
"datum": {
|
|
1498
|
+
"edgeWidth": "3px",
|
|
1499
|
+
"tickWidth": "24px",
|
|
1500
|
+
"tickHeight": "3px",
|
|
1501
|
+
"originLength": "48px",
|
|
1502
|
+
"markSize": "18px",
|
|
1503
|
+
"scaleHeight": "9px",
|
|
1504
|
+
"scaleMinorStep": "12px",
|
|
1505
|
+
"scaleMajorStep": "60px"
|
|
1506
|
+
}
|
|
1507
|
+
}
|
|
1508
|
+
} as const;
|
|
1509
|
+
|
|
978
1510
|
export const cssVars = {
|
|
979
1511
|
"primitives": {
|
|
980
1512
|
"color": {
|
|
@@ -1103,6 +1635,7 @@ export const cssVars = {
|
|
|
1103
1635
|
"extrabold": "var(--font-weight-extrabold)"
|
|
1104
1636
|
},
|
|
1105
1637
|
"size": {
|
|
1638
|
+
"2xs": "var(--font-size-2xs)",
|
|
1106
1639
|
"xs": "var(--font-size-xs)",
|
|
1107
1640
|
"sm": "var(--font-size-sm)",
|
|
1108
1641
|
"md": "var(--font-size-md)",
|
|
@@ -1115,6 +1648,7 @@ export const cssVars = {
|
|
|
1115
1648
|
"6xl": "var(--font-size-6xl)"
|
|
1116
1649
|
},
|
|
1117
1650
|
"lineHeight": {
|
|
1651
|
+
"2xs": "var(--line-height-2xs)",
|
|
1118
1652
|
"xs": "var(--line-height-xs)",
|
|
1119
1653
|
"sm": "var(--line-height-sm)",
|
|
1120
1654
|
"md": "var(--line-height-md)",
|
|
@@ -1251,6 +1785,7 @@ export const cssVars = {
|
|
|
1251
1785
|
"accent": "var(--color-brand-accent)",
|
|
1252
1786
|
"accentHover": "var(--color-brand-accent-hover)",
|
|
1253
1787
|
"accentActive": "var(--color-brand-accent-active)",
|
|
1788
|
+
"accentStrong": "var(--color-brand-accent-strong)",
|
|
1254
1789
|
"onAccent": "var(--color-brand-on-accent)"
|
|
1255
1790
|
},
|
|
1256
1791
|
"text": {
|
|
@@ -1264,12 +1799,14 @@ export const cssVars = {
|
|
|
1264
1799
|
"canvas": "var(--color-bg-canvas)",
|
|
1265
1800
|
"surface": "var(--color-bg-surface)",
|
|
1266
1801
|
"elevated": "var(--color-bg-elevated)",
|
|
1267
|
-
"muted": "var(--color-bg-muted)"
|
|
1802
|
+
"muted": "var(--color-bg-muted)",
|
|
1803
|
+
"subtle": "var(--color-bg-subtle)"
|
|
1268
1804
|
},
|
|
1269
1805
|
"border": {
|
|
1270
1806
|
"subtle": "var(--color-border-subtle)",
|
|
1271
1807
|
"default": "var(--color-border-default)",
|
|
1272
|
-
"strong": "var(--color-border-strong)"
|
|
1808
|
+
"strong": "var(--color-border-strong)",
|
|
1809
|
+
"muted": "var(--color-border-muted)"
|
|
1273
1810
|
},
|
|
1274
1811
|
"state": {
|
|
1275
1812
|
"info": "var(--color-state-info)",
|
|
@@ -1417,7 +1954,79 @@ export const cssVars = {
|
|
|
1417
1954
|
"dropdown": "var(--shadow-dropdown)",
|
|
1418
1955
|
"modal": "var(--shadow-modal)"
|
|
1419
1956
|
}
|
|
1957
|
+
},
|
|
1958
|
+
"components": {
|
|
1959
|
+
"button": {
|
|
1960
|
+
"background": "var(--component-button-background)",
|
|
1961
|
+
"backgroundHover": "var(--component-button-background-hover)",
|
|
1962
|
+
"backgroundActive": "var(--component-button-background-active)",
|
|
1963
|
+
"border": "var(--component-button-border)",
|
|
1964
|
+
"color": "var(--component-button-color)",
|
|
1965
|
+
"height": "var(--component-button-height)",
|
|
1966
|
+
"paddingX": "var(--component-button-padding-x)",
|
|
1967
|
+
"fontSize": "var(--component-button-font-size)",
|
|
1968
|
+
"lineHeight": "var(--component-button-line-height)",
|
|
1969
|
+
"fontWeight": "var(--component-button-font-weight)",
|
|
1970
|
+
"radius": "var(--component-button-radius)",
|
|
1971
|
+
"gap": "var(--component-button-gap)",
|
|
1972
|
+
"loadingSpinnerSize": "var(--component-button-loading-spinner-size)"
|
|
1973
|
+
},
|
|
1974
|
+
"control": {
|
|
1975
|
+
"background": "var(--component-control-background)",
|
|
1976
|
+
"backgroundHover": "var(--component-control-background-hover)",
|
|
1977
|
+
"backgroundDisabled": "var(--component-control-background-disabled)",
|
|
1978
|
+
"border": "var(--component-control-border)",
|
|
1979
|
+
"borderHover": "var(--component-control-border-hover)",
|
|
1980
|
+
"borderFocus": "var(--component-control-border-focus)",
|
|
1981
|
+
"text": "var(--component-control-text)",
|
|
1982
|
+
"placeholder": "var(--component-control-placeholder)",
|
|
1983
|
+
"radius": "var(--component-control-radius)"
|
|
1984
|
+
},
|
|
1985
|
+
"card": {
|
|
1986
|
+
"background": "var(--component-card-background)",
|
|
1987
|
+
"border": "var(--component-card-border)",
|
|
1988
|
+
"radius": "var(--component-card-radius)",
|
|
1989
|
+
"padding": "var(--component-card-padding)",
|
|
1990
|
+
"shadow": "var(--component-card-shadow)",
|
|
1991
|
+
"shadowHover": "var(--component-card-shadow-hover)"
|
|
1992
|
+
},
|
|
1993
|
+
"status": {
|
|
1994
|
+
"gap": "var(--component-status-gap)",
|
|
1995
|
+
"fontSize": "var(--component-status-font-size)",
|
|
1996
|
+
"iconSize": "var(--component-status-icon-size)"
|
|
1997
|
+
},
|
|
1998
|
+
"metric": {
|
|
1999
|
+
"background": "var(--component-metric-background)",
|
|
2000
|
+
"border": "var(--component-metric-border)",
|
|
2001
|
+
"radius": "var(--component-metric-radius)",
|
|
2002
|
+
"padding": "var(--component-metric-padding)",
|
|
2003
|
+
"valueFontSize": "var(--component-metric-value-font-size)",
|
|
2004
|
+
"labelFontSize": "var(--component-metric-label-font-size)"
|
|
2005
|
+
},
|
|
2006
|
+
"meter": {
|
|
2007
|
+
"height": "var(--component-meter-height)",
|
|
2008
|
+
"radius": "var(--component-meter-radius)",
|
|
2009
|
+
"track": "var(--component-meter-track)"
|
|
2010
|
+
},
|
|
2011
|
+
"datum": {
|
|
2012
|
+
"edgeWidth": "var(--component-datum-edge-width)",
|
|
2013
|
+
"tickWidth": "var(--component-datum-tick-width)",
|
|
2014
|
+
"tickHeight": "var(--component-datum-tick-height)",
|
|
2015
|
+
"originLength": "var(--component-datum-origin-length)",
|
|
2016
|
+
"markSize": "var(--component-datum-mark-size)",
|
|
2017
|
+
"scaleHeight": "var(--component-datum-scale-height)",
|
|
2018
|
+
"scaleMinorStep": "var(--component-datum-scale-minor-step)",
|
|
2019
|
+
"scaleMajorStep": "var(--component-datum-scale-major-step)"
|
|
2020
|
+
}
|
|
1420
2021
|
}
|
|
1421
2022
|
} as const;
|
|
1422
2023
|
|
|
1423
|
-
export const tokens = {
|
|
2024
|
+
export const tokens = {
|
|
2025
|
+
metadata: tokenMetadata,
|
|
2026
|
+
primitives,
|
|
2027
|
+
semantic,
|
|
2028
|
+
components,
|
|
2029
|
+
semanticThemes,
|
|
2030
|
+
componentThemes,
|
|
2031
|
+
cssVars,
|
|
2032
|
+
} as const;
|