@splunk/themes 0.23.0 → 1.0.0-beta.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.
Files changed (66) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/CHANGELOG.v1.md +70 -0
  3. package/design-tokens/colors.js +495 -0
  4. package/design-tokens/dataViz.js +486 -0
  5. package/design-tokens/deprecated.js +249 -0
  6. package/design-tokens/elevation.js +44 -0
  7. package/design-tokens/index.js +23 -0
  8. package/design-tokens/spacing-sizing.js +39 -0
  9. package/design-tokens/typography.js +67 -0
  10. package/enterprise/comfortable.js +20 -10
  11. package/enterprise/compact.js +20 -14
  12. package/enterprise/dark.js +182 -40
  13. package/enterprise/dataViz.js +491 -0
  14. package/enterprise/index.js +1 -6
  15. package/enterprise/light.js +317 -265
  16. package/index.js +8 -0
  17. package/mixins/index.js +39 -1
  18. package/mixins/layout.js +42 -0
  19. package/mixins/prose.js +67 -0
  20. package/mixins/tests/prose.unit.js +49 -0
  21. package/mixins/tests/typography.unit.js +15 -18
  22. package/mixins/tests/utilityMixins.unit.js +1 -1
  23. package/mixins/typography.js +141 -144
  24. package/mixins/utilityMixins.js +2 -5
  25. package/package.json +5 -8
  26. package/prisma/base.js +22 -23
  27. package/prisma/comfortable.js +1 -7
  28. package/prisma/compact.js +1 -7
  29. package/prisma/dark.js +77 -19
  30. package/prisma/dataViz.js +33 -38
  31. package/prisma/light.js +78 -20
  32. package/splunk-magnetic/index.js +178 -0
  33. package/splunk-magnetic/magneticTokensDark.js +706 -0
  34. package/splunk-magnetic/magneticTokensLight.js +706 -0
  35. package/storybook-addon-splunk-themes/withSplunkTheme.js +8 -4
  36. package/types/design-tokens/colors.d.ts +875 -0
  37. package/types/design-tokens/dataViz.d.ts +433 -0
  38. package/types/design-tokens/deprecated.d.ts +468 -0
  39. package/types/design-tokens/elevation.d.ts +49 -0
  40. package/types/design-tokens/index.d.ts +541 -0
  41. package/types/design-tokens/spacing-sizing.d.ts +39 -0
  42. package/types/design-tokens/typography.d.ts +79 -0
  43. package/types/enterprise/comfortable.d.ts +11 -17
  44. package/types/enterprise/compact.d.ts +11 -21
  45. package/types/enterprise/dark.d.ts +412 -113
  46. package/types/enterprise/dataViz.d.ts +14 -0
  47. package/types/enterprise/index.d.ts +1 -2
  48. package/types/enterprise/light.d.ts +439 -139
  49. package/types/index.d.ts +1 -0
  50. package/types/mixins/index.d.ts +8 -0
  51. package/types/mixins/layout.d.ts +21 -0
  52. package/types/mixins/prose.d.ts +41 -0
  53. package/types/mixins/tests/prose.unit.d.ts +1 -0
  54. package/types/mixins/typography.d.ts +5 -12
  55. package/types/prisma/base.d.ts +12 -16
  56. package/types/prisma/comfortable.d.ts +2 -17
  57. package/types/prisma/compact.d.ts +2 -17
  58. package/types/prisma/dark.d.ts +60 -9
  59. package/types/prisma/dataViz.d.ts +8 -426
  60. package/types/prisma/light.d.ts +62 -11
  61. package/types/splunk-magnetic/index.d.ts +2941 -0
  62. package/types/splunk-magnetic/magneticTokensDark.d.ts +700 -0
  63. package/types/splunk-magnetic/magneticTokensLight.d.ts +700 -0
  64. package/types/storybook-addon-splunk-themes/SplunkThemesTool.d.ts +1 -1
  65. package/enterprise/prismaAliases.js +0 -95
  66. package/types/enterprise/prismaAliases.d.ts +0 -47
@@ -0,0 +1,875 @@
1
+ /**
2
+ * #### Action colors
3
+ *
4
+ * Action colors are used **exclusively** for Button borders and backgrounds.
5
+ * They define interaction states for primary, secondary, subtle, and destructive buttons.
6
+ *
7
+ * @categoryColor
8
+ */
9
+ declare const actionColors: {
10
+ /**
11
+ * Default background for Primary Buttons.
12
+ */
13
+ actionColorBackgroundPrimary: string;
14
+ /**
15
+ * Active (pressed) background for Primary Buttons.
16
+ */
17
+ actionColorBackgroundPrimaryActive: string;
18
+ /**
19
+ * Disabled background for Primary Buttons.
20
+ */
21
+ actionColorBackgroundPrimaryDisabled: string;
22
+ /**
23
+ * Hover background for Primary Buttons.
24
+ */
25
+ actionColorBackgroundPrimaryHover: string;
26
+ /**
27
+ * Default background for Secondary Buttons.
28
+ */
29
+ actionColorBackgroundSecondary: string;
30
+ /**
31
+ * Active (pressed) background for Secondary Buttons.
32
+ */
33
+ actionColorBackgroundSecondaryActive: string;
34
+ /**
35
+ * Disabled background for Secondary Buttons.
36
+ */
37
+ actionColorBackgroundSecondaryDisabled: string;
38
+ /**
39
+ * Hover background for Secondary Buttons.
40
+ */
41
+ actionColorBackgroundSecondaryHover: string;
42
+ /**
43
+ * Default background for Subtle Buttons.
44
+ */
45
+ actionColorBackgroundSubtle: string;
46
+ /**
47
+ * Active (pressed) background for Subtle Buttons.
48
+ */
49
+ actionColorBackgroundSubtleActive: string;
50
+ /**
51
+ * Disabled background for Subtle Buttons.
52
+ */
53
+ actionColorBackgroundSubtleDisabled: string;
54
+ /**
55
+ * Hover background for Subtle Buttons.
56
+ */
57
+ actionColorBackgroundSubtleHover: string;
58
+ /**
59
+ * Default background for Destructive Buttons.
60
+ */
61
+ actionColorBackgroundDestructive: string;
62
+ /**
63
+ * Active (pressed) background for Destructive Buttons.
64
+ */
65
+ actionColorBackgroundDestructiveActive: string;
66
+ /**
67
+ * Disabled background for Destructive Buttons.
68
+ */
69
+ actionColorBackgroundDestructiveDisabled: string;
70
+ /**
71
+ * Hover background for Destructive Buttons.
72
+ */
73
+ actionColorBackgroundDestructiveHover: string;
74
+ /**
75
+ * Default background for Destructive Secondary Buttons.
76
+ */
77
+ actionColorBackgroundDestructiveSecondary: string;
78
+ /**
79
+ * Active (pressed) background for Destructive Secondary Buttons
80
+ */
81
+ actionColorBackgroundDestructiveSecondaryActive: string;
82
+ /**
83
+ * Disabled background for Destructive Secondary Buttons.
84
+ */
85
+ actionColorBackgroundDestructiveSecondaryDisabled: string;
86
+ /**
87
+ * Hover background for Destructive Secondary Buttons.
88
+ */
89
+ actionColorBackgroundDestructiveSecondaryHover: string;
90
+ /**
91
+ * Default border color for Secondary Buttons.
92
+ */
93
+ actionColorBorderSecondary: string;
94
+ /**
95
+ * Active (pressed) border color for Secondary Buttons.
96
+ */
97
+ actionColorBorderSecondaryActive: string;
98
+ /**
99
+ * Disabled border color for Secondary Buttons.
100
+ */
101
+ actionColorBorderSecondaryDisabled: string;
102
+ /**
103
+ * Hover border color for Secondary Buttons.
104
+ */
105
+ actionColorBorderSecondaryHover: string;
106
+ /**
107
+ * Default border color for Destructive Secondary Buttons.
108
+ */
109
+ actionColorBorderDestructiveSecondary: string;
110
+ /**
111
+ * Active (pressed) border color for Destructive Secondary Buttons.
112
+ */
113
+ actionColorBorderDestructiveSecondaryActive: string;
114
+ /**
115
+ * Disabled border color for Destructive Secondary Buttons.
116
+ */
117
+ actionColorBorderDestructiveSecondaryDisabled: string;
118
+ /**
119
+ * Hover border color for Destructive Secondary Buttons.
120
+ */
121
+ actionColorBorderDestructiveSecondaryHover: string;
122
+ };
123
+ /**
124
+ * #### Interactive colors
125
+ *
126
+ * Interactive colors should be used **exclusively** for styling Data Entry components: Input, Select, etc.
127
+ *
128
+ * @categoryColor
129
+ */
130
+ declare const interactiveColors: {
131
+ /**
132
+ * Primary color for interactive elements in Data entry components.
133
+ */
134
+ interactiveColorPrimary: string;
135
+ /**
136
+ * Default border color for Data entry components.
137
+ */
138
+ interactiveColorBorder: string;
139
+ /**
140
+ * Active (pressed) border color for Data entry components.
141
+ */
142
+ interactiveColorBorderActive: string;
143
+ /**
144
+ * Hover border color for Data entry components.
145
+ */
146
+ interactiveColorBorderHover: string;
147
+ /**
148
+ * Disabled border color for Data entry components.
149
+ */
150
+ interactiveColorBorderDisabled: string;
151
+ /**
152
+ * Background overlay color for selected in Data entry components.
153
+ */
154
+ interactiveColorOverlaySelected: string;
155
+ /**
156
+ * Background overlay color for hover in Data entry components.
157
+ */
158
+ interactiveColorOverlayHover: string;
159
+ /**
160
+ * Background overlay color for active (pressed) in Data entry components.
161
+ */
162
+ interactiveColorOverlayActive: string;
163
+ /**
164
+ * Background overlay color for drag in Data entry components.
165
+ */
166
+ interactiveColorOverlayDrag: string;
167
+ /**
168
+ * Default background color for Data entry components.
169
+ */
170
+ interactiveColorBackground: string;
171
+ /**
172
+ * Background color for disabled Data entry components.
173
+ */
174
+ interactiveColorBackgroundDisabled: string;
175
+ /**
176
+ * Brand accent color for Data entry components.
177
+ */
178
+ interactiveColorAccent: string;
179
+ /**
180
+ * Error color for Data entry components.
181
+ */
182
+ interactiveColorAccentError: string;
183
+ /**
184
+ * Stronger error color for emphasis in Data Entry components. Used for hover interaction.
185
+ */
186
+ interactiveColorAccentErrorStrong: string;
187
+ };
188
+ /**
189
+ * #### Neutral colors
190
+ *
191
+ * Neutral colors should be used sparingly. Prefer to use more semantic tokens for backgrounds and borders.
192
+ * These colors must not be used for content as they will not pass the required contrast ratio (instead, use [Content colors](#Content Colors)).
193
+ *
194
+ * @categoryColor
195
+ */
196
+ declare const neutralColors: {
197
+ /**
198
+ * Alternate background color in dark color schemes and inverted background in light color schemes.
199
+ */
200
+ black: string;
201
+ /**
202
+ * Least visually emphasized. Do not use this as the background for Data Entry components, does not pass 3:1 graphical contrast.
203
+ */
204
+ neutral100: string;
205
+ /**
206
+ * Not for text, does not pass 3:1 graphical contrast in light & dark color schemes.
207
+ */
208
+ neutral200: string;
209
+ /**
210
+ * Not for text, does not pass 3:1 graphical contrast in light & dark color schemes.
211
+ */
212
+ neutral300: string;
213
+ /**
214
+ * Not for text, does not pass 3:1 graphical contrast in light color schemes.
215
+ */
216
+ neutral400: string;
217
+ /**
218
+ * Most visually emphasized, not for text, does not pass 3:1 graphical contrast in light color schemes.
219
+ */
220
+ neutral500: string;
221
+ /**
222
+ * Alternate background color in light color schemes and inverted background in dark color schemes.
223
+ */
224
+ white: string;
225
+ /**
226
+ * Transparent background color.
227
+ */
228
+ transparent: string;
229
+ };
230
+ /**
231
+ * #### Background colors
232
+ * Use background colors for page backgrounds and containers such as cards, modals, panels or popups.
233
+ *
234
+ * @categoryColor
235
+ */
236
+ declare const backgroundColors: {
237
+ /**
238
+ * Default background color for the navigation headers.
239
+ */
240
+ backgroundColorNavigation: string;
241
+ /**
242
+ * Primary background color for pages.
243
+ */
244
+ backgroundColorPage: string;
245
+ /**
246
+ * Background color for side panels and navigation panels.
247
+ */
248
+ backgroundColorSidebar: string;
249
+ /**
250
+ * Used for cards or to create visual separation in the UI.
251
+ */
252
+ backgroundColorSection: string;
253
+ /**
254
+ * Default background color for modals.
255
+ */
256
+ backgroundColorDialog: string;
257
+ /**
258
+ * Default background color for popovers and tooltips.
259
+ */
260
+ backgroundColorPopup: string;
261
+ /**
262
+ * Background color for inverted color schemes.
263
+ */
264
+ backgroundColorFloating: string;
265
+ /**
266
+ * Used for page overlays under modals or when masking UI.
267
+ */
268
+ backgroundColorScrim: string;
269
+ };
270
+ /**
271
+ * #### Content colors
272
+ * Use content colors to create visual hierarchy, convey status or importance for plain text content.
273
+ *
274
+ * @categoryFont
275
+ */
276
+ declare const contentColors: {
277
+ contentBackgroundColorNegativeWeak: string;
278
+ /**
279
+ * Text color for links.
280
+ */
281
+ contentColorLink: string;
282
+ /**
283
+ * Brand accent text color.
284
+ */
285
+ contentColorAccent: string;
286
+ /**
287
+ * Brighter brand accent text color for emphasis.
288
+ */
289
+ contentColorAccentStrong: string;
290
+ /**
291
+ * Brand accent text color that does not pass 4.5:1 contrast ratio.
292
+ */
293
+ contentColorAccentWeak: string;
294
+ /**
295
+ * Text color for headings, titles, and prominent text content.
296
+ */
297
+ contentColorActive: string;
298
+ /**
299
+ * Text color for paragraphs and standard content.
300
+ */
301
+ contentColorDefault: string;
302
+ /**
303
+ * Text color for disabled content that does not pass 4.5:1 contrast.
304
+ */
305
+ contentColorDisabled: string;
306
+ /**
307
+ * Text color used to convey informational context or status.
308
+ */
309
+ contentColorInfo: string;
310
+ /**
311
+ * Text color used on top of inverted backgrounds.
312
+ */
313
+ contentColorInverted: string;
314
+ /**
315
+ * Subdued text color for less prominent content (use sparingly).
316
+ */
317
+ contentColorMuted: string;
318
+ /**
319
+ * Text color for error or negative status messaging.
320
+ */
321
+ contentColorNegative: string;
322
+ /**
323
+ * Stronger negative text color for greater emphasis.
324
+ */
325
+ contentColorNegativeStrong: string;
326
+ /**
327
+ * Disabled negative text color that does not pass 4.5:1 contrast.
328
+ */
329
+ contentColorNegativeWeak: string;
330
+ /**
331
+ * Text color for success or positive status messaging.
332
+ */
333
+ contentColorPositive: string;
334
+ /**
335
+ * Text color for cautionary or warning status messaging.
336
+ */
337
+ contentColorWarning: string;
338
+ };
339
+ /**
340
+ * #### UI Colors
341
+ *
342
+ * @categoryColor
343
+ */
344
+ declare const uiColors: {
345
+ /**
346
+ * Visual focus ring color used for focus box-shadow. Should not be directly applied to UI elements.
347
+ */
348
+ focusColor: string;
349
+ };
350
+ /**
351
+ * #### Status colors
352
+ * * Use status colors to convey informative, positive, caution or negative content status. Weak variants do not meet graphical or text contrast and should only be used as decorative.
353
+ *
354
+ * @categoryColor
355
+ */
356
+ declare const statusColors: {
357
+ /**
358
+ * Default color for informational messages and notifications.
359
+ */
360
+ statusColorInfo: string;
361
+ /**
362
+ * Weaker, less prominent informational color, does not pass 3:1 graphical or 4.5:1 text contrast.
363
+ */
364
+ statusColorInfoWeak: string;
365
+ /**
366
+ * Brighter, more prominent informational color.
367
+ */
368
+ statusColorInfoStrong: string;
369
+ /**
370
+ * Default color for neutral or standard status messages.
371
+ */
372
+ statusColorNormal: string;
373
+ /**
374
+ * Weaker, less prominent normal color, does not pass 3:1 graphical or 4.5:1 text contrast.
375
+ */
376
+ statusColorNormalWeak: string;
377
+ /**
378
+ * Brighter, more prominent normal color.
379
+ */
380
+ statusColorNormalStrong: string;
381
+ /**
382
+ * Default color for low-priority status messages.
383
+ */
384
+ statusColorLow: string;
385
+ /**
386
+ * Weaker, less prominent low-priority color, does not pass 3:1 graphical or 4.5:1 text contrast.
387
+ */
388
+ statusColorLowWeak: string;
389
+ /**
390
+ * Brighter, more prominent low-priority color.
391
+ */
392
+ statusColorLowStrong: string;
393
+ /**
394
+ * Default color for medium-priority status messages.
395
+ */
396
+ statusColorMedium: string;
397
+ /**
398
+ * Weaker, less prominent medium-priority color, does not pass 3:1 graphical or 4.5:1 text contrast.
399
+ */
400
+ statusColorMediumWeak: string;
401
+ /**
402
+ * Brighter, more prominent medium-priority color.
403
+ */
404
+ statusColorMediumStrong: string;
405
+ /**
406
+ * Default color for high-priority status messages.
407
+ */
408
+ statusColorHigh: string;
409
+ /**
410
+ * Weaker, less prominent high-priority color, does not pass 3:1 graphical or 4.5:1 text contrast.
411
+ */
412
+ statusColorHighWeak: string;
413
+ /**
414
+ * Brighter, more prominent high-priority color.
415
+ */
416
+ statusColorHighStrong: string;
417
+ /**
418
+ * Default color for critical alerts or urgent messages.
419
+ */
420
+ statusColorCritical: string;
421
+ /**
422
+ * Weaker, less prominent critical color, does not pass 3:1 graphical or 4.5:1 text contrast.
423
+ */
424
+ statusColorCriticalWeak: string;
425
+ /**
426
+ * Brighter, more prominent critical color.
427
+ */
428
+ statusColorCriticalStrong: string;
429
+ };
430
+ /**
431
+ * #### Syntax colors
432
+ *
433
+ * These colors should be used for syntax highlighting in programming languages.
434
+ * The colors chosen for tokens depend on the language, its features, and aesthetics.
435
+ * Prefer to use the `Code` component rather than these tokens directly as it does this mapping automatically.
436
+ * See [Content Colors](#Content Colors)
437
+ *
438
+ * @categoryFont
439
+ */
440
+ declare const syntaxColors: {
441
+ syntaxBlue: string;
442
+ syntaxBrown: string;
443
+ syntaxGray: string;
444
+ syntaxGreen: string;
445
+ syntaxOrange: string;
446
+ syntaxPink: string;
447
+ syntaxPurple: string;
448
+ syntaxRed: string;
449
+ syntaxTeal: string;
450
+ };
451
+ /**
452
+ * #### Border colors
453
+ *
454
+ * Border color should be used to outline or divide content and UI elements.
455
+ *
456
+ * @categoryColor
457
+ */
458
+ declare const borderColors: {
459
+ /**
460
+ * Default border color for elements that meets 3:1 graphical contrast (e.g., menu dividers).
461
+ */
462
+ borderColor: string;
463
+ /**
464
+ * Decorative-only border color that does not meet 3:1 graphical contrast.
465
+ */
466
+ borderColorWeak: string;
467
+ /**
468
+ * Border color with stronger visual emphasis that meets 3:1 graphical contrast.
469
+ */
470
+ borderColorStrong: string;
471
+ };
472
+ declare const colors: {
473
+ /**
474
+ * Default border color for elements that meets 3:1 graphical contrast (e.g., menu dividers).
475
+ */
476
+ borderColor: string;
477
+ /**
478
+ * Decorative-only border color that does not meet 3:1 graphical contrast.
479
+ */
480
+ borderColorWeak: string;
481
+ /**
482
+ * Border color with stronger visual emphasis that meets 3:1 graphical contrast.
483
+ */
484
+ borderColorStrong: string;
485
+ syntaxBlue: string;
486
+ syntaxBrown: string;
487
+ syntaxGray: string;
488
+ syntaxGreen: string;
489
+ syntaxOrange: string;
490
+ syntaxPink: string;
491
+ syntaxPurple: string;
492
+ syntaxRed: string;
493
+ syntaxTeal: string;
494
+ /**
495
+ * Default color for informational messages and notifications.
496
+ */
497
+ statusColorInfo: string;
498
+ /**
499
+ * Weaker, less prominent informational color, does not pass 3:1 graphical or 4.5:1 text contrast.
500
+ */
501
+ statusColorInfoWeak: string;
502
+ /**
503
+ * Brighter, more prominent informational color.
504
+ */
505
+ statusColorInfoStrong: string;
506
+ /**
507
+ * Default color for neutral or standard status messages.
508
+ */
509
+ statusColorNormal: string;
510
+ /**
511
+ * Weaker, less prominent normal color, does not pass 3:1 graphical or 4.5:1 text contrast.
512
+ */
513
+ statusColorNormalWeak: string;
514
+ /**
515
+ * Brighter, more prominent normal color.
516
+ */
517
+ statusColorNormalStrong: string;
518
+ /**
519
+ * Default color for low-priority status messages.
520
+ */
521
+ statusColorLow: string;
522
+ /**
523
+ * Weaker, less prominent low-priority color, does not pass 3:1 graphical or 4.5:1 text contrast.
524
+ */
525
+ statusColorLowWeak: string;
526
+ /**
527
+ * Brighter, more prominent low-priority color.
528
+ */
529
+ statusColorLowStrong: string;
530
+ /**
531
+ * Default color for medium-priority status messages.
532
+ */
533
+ statusColorMedium: string;
534
+ /**
535
+ * Weaker, less prominent medium-priority color, does not pass 3:1 graphical or 4.5:1 text contrast.
536
+ */
537
+ statusColorMediumWeak: string;
538
+ /**
539
+ * Brighter, more prominent medium-priority color.
540
+ */
541
+ statusColorMediumStrong: string;
542
+ /**
543
+ * Default color for high-priority status messages.
544
+ */
545
+ statusColorHigh: string;
546
+ /**
547
+ * Weaker, less prominent high-priority color, does not pass 3:1 graphical or 4.5:1 text contrast.
548
+ */
549
+ statusColorHighWeak: string;
550
+ /**
551
+ * Brighter, more prominent high-priority color.
552
+ */
553
+ statusColorHighStrong: string;
554
+ /**
555
+ * Default color for critical alerts or urgent messages.
556
+ */
557
+ statusColorCritical: string;
558
+ /**
559
+ * Weaker, less prominent critical color, does not pass 3:1 graphical or 4.5:1 text contrast.
560
+ */
561
+ statusColorCriticalWeak: string;
562
+ /**
563
+ * Brighter, more prominent critical color.
564
+ */
565
+ statusColorCriticalStrong: string;
566
+ /**
567
+ * Visual focus ring color used for focus box-shadow. Should not be directly applied to UI elements.
568
+ */
569
+ focusColor: string;
570
+ contentBackgroundColorNegativeWeak: string;
571
+ /**
572
+ * Text color for links.
573
+ */
574
+ contentColorLink: string;
575
+ /**
576
+ * Brand accent text color.
577
+ */
578
+ contentColorAccent: string;
579
+ /**
580
+ * Brighter brand accent text color for emphasis.
581
+ */
582
+ contentColorAccentStrong: string;
583
+ /**
584
+ * Brand accent text color that does not pass 4.5:1 contrast ratio.
585
+ */
586
+ contentColorAccentWeak: string;
587
+ /**
588
+ * Text color for headings, titles, and prominent text content.
589
+ */
590
+ contentColorActive: string;
591
+ /**
592
+ * Text color for paragraphs and standard content.
593
+ */
594
+ contentColorDefault: string;
595
+ /**
596
+ * Text color for disabled content that does not pass 4.5:1 contrast.
597
+ */
598
+ contentColorDisabled: string;
599
+ /**
600
+ * Text color used to convey informational context or status.
601
+ */
602
+ contentColorInfo: string;
603
+ /**
604
+ * Text color used on top of inverted backgrounds.
605
+ */
606
+ contentColorInverted: string;
607
+ /**
608
+ * Subdued text color for less prominent content (use sparingly).
609
+ */
610
+ contentColorMuted: string;
611
+ /**
612
+ * Text color for error or negative status messaging.
613
+ */
614
+ contentColorNegative: string;
615
+ /**
616
+ * Stronger negative text color for greater emphasis.
617
+ */
618
+ contentColorNegativeStrong: string;
619
+ /**
620
+ * Disabled negative text color that does not pass 4.5:1 contrast.
621
+ */
622
+ contentColorNegativeWeak: string;
623
+ /**
624
+ * Text color for success or positive status messaging.
625
+ */
626
+ contentColorPositive: string;
627
+ /**
628
+ * Text color for cautionary or warning status messaging.
629
+ */
630
+ contentColorWarning: string;
631
+ /**
632
+ * Default background color for the navigation headers.
633
+ */
634
+ backgroundColorNavigation: string;
635
+ /**
636
+ * Primary background color for pages.
637
+ */
638
+ backgroundColorPage: string;
639
+ /**
640
+ * Background color for side panels and navigation panels.
641
+ */
642
+ backgroundColorSidebar: string;
643
+ /**
644
+ * Used for cards or to create visual separation in the UI.
645
+ */
646
+ backgroundColorSection: string;
647
+ /**
648
+ * Default background color for modals.
649
+ */
650
+ backgroundColorDialog: string;
651
+ /**
652
+ * Default background color for popovers and tooltips.
653
+ */
654
+ backgroundColorPopup: string;
655
+ /**
656
+ * Background color for inverted color schemes.
657
+ */
658
+ backgroundColorFloating: string;
659
+ /**
660
+ * Used for page overlays under modals or when masking UI.
661
+ */
662
+ backgroundColorScrim: string;
663
+ /**
664
+ * Alternate background color in dark color schemes and inverted background in light color schemes.
665
+ */
666
+ black: string;
667
+ /**
668
+ * Least visually emphasized. Do not use this as the background for Data Entry components, does not pass 3:1 graphical contrast.
669
+ */
670
+ neutral100: string;
671
+ /**
672
+ * Not for text, does not pass 3:1 graphical contrast in light & dark color schemes.
673
+ */
674
+ neutral200: string;
675
+ /**
676
+ * Not for text, does not pass 3:1 graphical contrast in light & dark color schemes.
677
+ */
678
+ neutral300: string;
679
+ /**
680
+ * Not for text, does not pass 3:1 graphical contrast in light color schemes.
681
+ */
682
+ neutral400: string;
683
+ /**
684
+ * Most visually emphasized, not for text, does not pass 3:1 graphical contrast in light color schemes.
685
+ */
686
+ neutral500: string;
687
+ /**
688
+ * Alternate background color in light color schemes and inverted background in dark color schemes.
689
+ */
690
+ white: string;
691
+ /**
692
+ * Transparent background color.
693
+ */
694
+ transparent: string;
695
+ /**
696
+ * Primary color for interactive elements in Data entry components.
697
+ */
698
+ interactiveColorPrimary: string;
699
+ /**
700
+ * Default border color for Data entry components.
701
+ */
702
+ interactiveColorBorder: string;
703
+ /**
704
+ * Active (pressed) border color for Data entry components.
705
+ */
706
+ interactiveColorBorderActive: string;
707
+ /**
708
+ * Hover border color for Data entry components.
709
+ */
710
+ interactiveColorBorderHover: string;
711
+ /**
712
+ * Disabled border color for Data entry components.
713
+ */
714
+ interactiveColorBorderDisabled: string;
715
+ /**
716
+ * Background overlay color for selected in Data entry components.
717
+ */
718
+ interactiveColorOverlaySelected: string;
719
+ /**
720
+ * Background overlay color for hover in Data entry components.
721
+ */
722
+ interactiveColorOverlayHover: string;
723
+ /**
724
+ * Background overlay color for active (pressed) in Data entry components.
725
+ */
726
+ interactiveColorOverlayActive: string;
727
+ /**
728
+ * Background overlay color for drag in Data entry components.
729
+ */
730
+ interactiveColorOverlayDrag: string;
731
+ /**
732
+ * Default background color for Data entry components.
733
+ */
734
+ interactiveColorBackground: string;
735
+ /**
736
+ * Background color for disabled Data entry components.
737
+ */
738
+ interactiveColorBackgroundDisabled: string;
739
+ /**
740
+ * Brand accent color for Data entry components.
741
+ */
742
+ interactiveColorAccent: string;
743
+ /**
744
+ * Error color for Data entry components.
745
+ */
746
+ interactiveColorAccentError: string;
747
+ /**
748
+ * Stronger error color for emphasis in Data Entry components. Used for hover interaction.
749
+ */
750
+ interactiveColorAccentErrorStrong: string;
751
+ /**
752
+ * Default background for Primary Buttons.
753
+ */
754
+ actionColorBackgroundPrimary: string;
755
+ /**
756
+ * Active (pressed) background for Primary Buttons.
757
+ */
758
+ actionColorBackgroundPrimaryActive: string;
759
+ /**
760
+ * Disabled background for Primary Buttons.
761
+ */
762
+ actionColorBackgroundPrimaryDisabled: string;
763
+ /**
764
+ * Hover background for Primary Buttons.
765
+ */
766
+ actionColorBackgroundPrimaryHover: string;
767
+ /**
768
+ * Default background for Secondary Buttons.
769
+ */
770
+ actionColorBackgroundSecondary: string;
771
+ /**
772
+ * Active (pressed) background for Secondary Buttons.
773
+ */
774
+ actionColorBackgroundSecondaryActive: string;
775
+ /**
776
+ * Disabled background for Secondary Buttons.
777
+ */
778
+ actionColorBackgroundSecondaryDisabled: string;
779
+ /**
780
+ * Hover background for Secondary Buttons.
781
+ */
782
+ actionColorBackgroundSecondaryHover: string;
783
+ /**
784
+ * Default background for Subtle Buttons.
785
+ */
786
+ actionColorBackgroundSubtle: string;
787
+ /**
788
+ * Active (pressed) background for Subtle Buttons.
789
+ */
790
+ actionColorBackgroundSubtleActive: string;
791
+ /**
792
+ * Disabled background for Subtle Buttons.
793
+ */
794
+ actionColorBackgroundSubtleDisabled: string;
795
+ /**
796
+ * Hover background for Subtle Buttons.
797
+ */
798
+ actionColorBackgroundSubtleHover: string;
799
+ /**
800
+ * Default background for Destructive Buttons.
801
+ */
802
+ actionColorBackgroundDestructive: string;
803
+ /**
804
+ * Active (pressed) background for Destructive Buttons.
805
+ */
806
+ actionColorBackgroundDestructiveActive: string;
807
+ /**
808
+ * Disabled background for Destructive Buttons.
809
+ */
810
+ actionColorBackgroundDestructiveDisabled: string;
811
+ /**
812
+ * Hover background for Destructive Buttons.
813
+ */
814
+ actionColorBackgroundDestructiveHover: string;
815
+ /**
816
+ * Default background for Destructive Secondary Buttons.
817
+ */
818
+ actionColorBackgroundDestructiveSecondary: string;
819
+ /**
820
+ * Active (pressed) background for Destructive Secondary Buttons
821
+ */
822
+ actionColorBackgroundDestructiveSecondaryActive: string;
823
+ /**
824
+ * Disabled background for Destructive Secondary Buttons.
825
+ */
826
+ actionColorBackgroundDestructiveSecondaryDisabled: string;
827
+ /**
828
+ * Hover background for Destructive Secondary Buttons.
829
+ */
830
+ actionColorBackgroundDestructiveSecondaryHover: string;
831
+ /**
832
+ * Default border color for Secondary Buttons.
833
+ */
834
+ actionColorBorderSecondary: string;
835
+ /**
836
+ * Active (pressed) border color for Secondary Buttons.
837
+ */
838
+ actionColorBorderSecondaryActive: string;
839
+ /**
840
+ * Disabled border color for Secondary Buttons.
841
+ */
842
+ actionColorBorderSecondaryDisabled: string;
843
+ /**
844
+ * Hover border color for Secondary Buttons.
845
+ */
846
+ actionColorBorderSecondaryHover: string;
847
+ /**
848
+ * Default border color for Destructive Secondary Buttons.
849
+ */
850
+ actionColorBorderDestructiveSecondary: string;
851
+ /**
852
+ * Active (pressed) border color for Destructive Secondary Buttons.
853
+ */
854
+ actionColorBorderDestructiveSecondaryActive: string;
855
+ /**
856
+ * Disabled border color for Destructive Secondary Buttons.
857
+ */
858
+ actionColorBorderDestructiveSecondaryDisabled: string;
859
+ /**
860
+ * Hover border color for Destructive Secondary Buttons.
861
+ */
862
+ actionColorBorderDestructiveSecondaryHover: string;
863
+ };
864
+ type ActionColors = typeof actionColors;
865
+ type InteractiveColors = typeof interactiveColors;
866
+ type NeutralColors = typeof neutralColors;
867
+ type BackgroundColors = typeof backgroundColors;
868
+ type ContentColors = typeof contentColors;
869
+ type UIColors = typeof uiColors;
870
+ type StatusColors = typeof statusColors;
871
+ type SyntaxColors = typeof syntaxColors;
872
+ type BorderColors = typeof borderColors;
873
+ type Colors = typeof colors;
874
+ export default colors;
875
+ export type { ActionColors, InteractiveColors, NeutralColors, BackgroundColors, ContentColors, UIColors, StatusColors, SyntaxColors, BorderColors, Colors, };