@splunk/themes 1.0.0-beta.3 → 1.0.0-beta.4
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.v1.md +20 -0
- package/design-tokens/colors.js +1 -83
- package/design-tokens/deprecated.js +70 -0
- package/design-tokens/elevation.js +0 -1
- package/design-tokens/spacing-sizing.js +1 -0
- package/enterprise/comfortable.js +1 -0
- package/enterprise/compact.js +1 -0
- package/enterprise/dark.js +23 -25
- package/enterprise/light.js +23 -25
- package/package.json +4 -4
- package/prisma/base.js +1 -1
- package/prisma/comfortable.js +1 -0
- package/prisma/compact.js +1 -0
- package/prisma/dark.js +26 -25
- package/prisma/light.js +26 -25
- package/splunk-magnetic/index.js +3 -1
- package/types/design-tokens/colors.d.ts +1 -155
- package/types/design-tokens/deprecated.d.ts +140 -0
- package/types/design-tokens/elevation.d.ts +0 -2
- package/types/design-tokens/index.d.ts +20 -19
- package/types/design-tokens/spacing-sizing.d.ts +2 -0
- package/types/enterprise/comfortable.d.ts +1 -0
- package/types/enterprise/compact.d.ts +1 -0
- package/types/enterprise/dark.d.ts +20 -20
- package/types/enterprise/light.d.ts +20 -20
- package/types/getTheme.d.ts +0 -1
- package/types/mixins/index.d.ts +1 -1
- package/types/mixins/utilityMixins.d.ts +2 -2
- package/types/prisma/base.d.ts +1 -1
- package/types/prisma/dark.d.ts +18 -18
- package/types/prisma/light.d.ts +18 -18
- package/types/splunk-magnetic/index.d.ts +58 -52
- package/types/storybook-addon-splunk-themes/constants.d.ts +4 -4
- package/types/storybook-addon-splunk-themes/preview.d.ts +4 -4
- package/types/storybook-addon-splunk-themes/themes.d.ts +3 -4
- package/types/storybook-addon-splunk-themes/withSplunkTheme.d.ts +1 -1
- package/types/utils.d.ts +0 -1
|
@@ -393,87 +393,6 @@ declare const severityColors: {
|
|
|
393
393
|
severityColorCritical: string;
|
|
394
394
|
severityColorEmergency: string;
|
|
395
395
|
};
|
|
396
|
-
/**
|
|
397
|
-
* #### Status colors
|
|
398
|
-
* Use status colors to convey informative, positive, caution or negative content status.
|
|
399
|
-
* Weak variants do not meet graphical or text contrast and should only be used decoratively.
|
|
400
|
-
*
|
|
401
|
-
* @categoryColor
|
|
402
|
-
*/
|
|
403
|
-
declare const statusColors: {
|
|
404
|
-
/**
|
|
405
|
-
* Default color for informational messages and notifications.
|
|
406
|
-
*/
|
|
407
|
-
statusColorInfo: string;
|
|
408
|
-
/**
|
|
409
|
-
* Weaker, less prominent informational color, does not pass 3:1 graphical or 4.5:1 text contrast.
|
|
410
|
-
*/
|
|
411
|
-
statusColorInfoWeak: string;
|
|
412
|
-
/**
|
|
413
|
-
* Brighter, more prominent informational color.
|
|
414
|
-
*/
|
|
415
|
-
statusColorInfoStrong: string;
|
|
416
|
-
/**
|
|
417
|
-
* Default color for neutral or standard status messages.
|
|
418
|
-
*/
|
|
419
|
-
statusColorNormal: string;
|
|
420
|
-
/**
|
|
421
|
-
* Weaker, less prominent normal color, does not pass 3:1 graphical or 4.5:1 text contrast.
|
|
422
|
-
*/
|
|
423
|
-
statusColorNormalWeak: string;
|
|
424
|
-
/**
|
|
425
|
-
* Brighter, more prominent normal color.
|
|
426
|
-
*/
|
|
427
|
-
statusColorNormalStrong: string;
|
|
428
|
-
/**
|
|
429
|
-
* Default color for low-priority status messages.
|
|
430
|
-
*/
|
|
431
|
-
statusColorLow: string;
|
|
432
|
-
/**
|
|
433
|
-
* Weaker, less prominent low-priority color, does not pass 3:1 graphical or 4.5:1 text contrast.
|
|
434
|
-
*/
|
|
435
|
-
statusColorLowWeak: string;
|
|
436
|
-
/**
|
|
437
|
-
* Brighter, more prominent low-priority color.
|
|
438
|
-
*/
|
|
439
|
-
statusColorLowStrong: string;
|
|
440
|
-
/**
|
|
441
|
-
* Default color for medium-priority status messages.
|
|
442
|
-
*/
|
|
443
|
-
statusColorMedium: string;
|
|
444
|
-
/**
|
|
445
|
-
* Weaker, less prominent medium-priority color, does not pass 3:1 graphical or 4.5:1 text contrast.
|
|
446
|
-
*/
|
|
447
|
-
statusColorMediumWeak: string;
|
|
448
|
-
/**
|
|
449
|
-
* Brighter, more prominent medium-priority color.
|
|
450
|
-
*/
|
|
451
|
-
statusColorMediumStrong: string;
|
|
452
|
-
/**
|
|
453
|
-
* Default color for high-priority status messages.
|
|
454
|
-
*/
|
|
455
|
-
statusColorHigh: string;
|
|
456
|
-
/**
|
|
457
|
-
* Weaker, less prominent high-priority color, does not pass 3:1 graphical or 4.5:1 text contrast.
|
|
458
|
-
*/
|
|
459
|
-
statusColorHighWeak: string;
|
|
460
|
-
/**
|
|
461
|
-
* Brighter, more prominent high-priority color.
|
|
462
|
-
*/
|
|
463
|
-
statusColorHighStrong: string;
|
|
464
|
-
/**
|
|
465
|
-
* Default color for critical alerts or urgent messages.
|
|
466
|
-
*/
|
|
467
|
-
statusColorCritical: string;
|
|
468
|
-
/**
|
|
469
|
-
* Weaker, less prominent critical color, does not pass 3:1 graphical or 4.5:1 text contrast.
|
|
470
|
-
*/
|
|
471
|
-
statusColorCriticalWeak: string;
|
|
472
|
-
/**
|
|
473
|
-
* Brighter, more prominent critical color.
|
|
474
|
-
*/
|
|
475
|
-
statusColorCriticalStrong: string;
|
|
476
|
-
};
|
|
477
396
|
/**
|
|
478
397
|
* #### Syntax colors
|
|
479
398
|
*
|
|
@@ -538,78 +457,6 @@ declare const colors: {
|
|
|
538
457
|
syntaxPurple: string;
|
|
539
458
|
syntaxRed: string;
|
|
540
459
|
syntaxTeal: string;
|
|
541
|
-
/**
|
|
542
|
-
* Default color for informational messages and notifications.
|
|
543
|
-
*/
|
|
544
|
-
statusColorInfo: string;
|
|
545
|
-
/**
|
|
546
|
-
* Weaker, less prominent informational color, does not pass 3:1 graphical or 4.5:1 text contrast.
|
|
547
|
-
*/
|
|
548
|
-
statusColorInfoWeak: string;
|
|
549
|
-
/**
|
|
550
|
-
* Brighter, more prominent informational color.
|
|
551
|
-
*/
|
|
552
|
-
statusColorInfoStrong: string;
|
|
553
|
-
/**
|
|
554
|
-
* Default color for neutral or standard status messages.
|
|
555
|
-
*/
|
|
556
|
-
statusColorNormal: string;
|
|
557
|
-
/**
|
|
558
|
-
* Weaker, less prominent normal color, does not pass 3:1 graphical or 4.5:1 text contrast.
|
|
559
|
-
*/
|
|
560
|
-
statusColorNormalWeak: string;
|
|
561
|
-
/**
|
|
562
|
-
* Brighter, more prominent normal color.
|
|
563
|
-
*/
|
|
564
|
-
statusColorNormalStrong: string;
|
|
565
|
-
/**
|
|
566
|
-
* Default color for low-priority status messages.
|
|
567
|
-
*/
|
|
568
|
-
statusColorLow: string;
|
|
569
|
-
/**
|
|
570
|
-
* Weaker, less prominent low-priority color, does not pass 3:1 graphical or 4.5:1 text contrast.
|
|
571
|
-
*/
|
|
572
|
-
statusColorLowWeak: string;
|
|
573
|
-
/**
|
|
574
|
-
* Brighter, more prominent low-priority color.
|
|
575
|
-
*/
|
|
576
|
-
statusColorLowStrong: string;
|
|
577
|
-
/**
|
|
578
|
-
* Default color for medium-priority status messages.
|
|
579
|
-
*/
|
|
580
|
-
statusColorMedium: string;
|
|
581
|
-
/**
|
|
582
|
-
* Weaker, less prominent medium-priority color, does not pass 3:1 graphical or 4.5:1 text contrast.
|
|
583
|
-
*/
|
|
584
|
-
statusColorMediumWeak: string;
|
|
585
|
-
/**
|
|
586
|
-
* Brighter, more prominent medium-priority color.
|
|
587
|
-
*/
|
|
588
|
-
statusColorMediumStrong: string;
|
|
589
|
-
/**
|
|
590
|
-
* Default color for high-priority status messages.
|
|
591
|
-
*/
|
|
592
|
-
statusColorHigh: string;
|
|
593
|
-
/**
|
|
594
|
-
* Weaker, less prominent high-priority color, does not pass 3:1 graphical or 4.5:1 text contrast.
|
|
595
|
-
*/
|
|
596
|
-
statusColorHighWeak: string;
|
|
597
|
-
/**
|
|
598
|
-
* Brighter, more prominent high-priority color.
|
|
599
|
-
*/
|
|
600
|
-
statusColorHighStrong: string;
|
|
601
|
-
/**
|
|
602
|
-
* Default color for critical alerts or urgent messages.
|
|
603
|
-
*/
|
|
604
|
-
statusColorCritical: string;
|
|
605
|
-
/**
|
|
606
|
-
* Weaker, less prominent critical color, does not pass 3:1 graphical or 4.5:1 text contrast.
|
|
607
|
-
*/
|
|
608
|
-
statusColorCriticalWeak: string;
|
|
609
|
-
/**
|
|
610
|
-
* Brighter, more prominent critical color.
|
|
611
|
-
*/
|
|
612
|
-
statusColorCriticalStrong: string;
|
|
613
460
|
severityColorCustom: string;
|
|
614
461
|
severityColorUnknown: string;
|
|
615
462
|
severityColorInfo: string;
|
|
@@ -937,9 +784,8 @@ type ContentColors = typeof contentColors;
|
|
|
937
784
|
type UIColors = typeof uiColors;
|
|
938
785
|
type NotificationColors = typeof notificationColors;
|
|
939
786
|
type SeverityColors = typeof severityColors;
|
|
940
|
-
type StatusColors = typeof statusColors;
|
|
941
787
|
type SyntaxColors = typeof syntaxColors;
|
|
942
788
|
type BorderColors = typeof borderColors;
|
|
943
789
|
type Colors = typeof colors;
|
|
944
790
|
export default colors;
|
|
945
|
-
export type { ActionColors, InteractiveColors, NeutralColors, BackgroundColors, ContentColors, UIColors, NotificationColors, SeverityColors,
|
|
791
|
+
export type { ActionColors, InteractiveColors, NeutralColors, BackgroundColors, ContentColors, UIColors, NotificationColors, SeverityColors, SyntaxColors, BorderColors, Colors, };
|
|
@@ -76,6 +76,76 @@ declare const deprecated: {
|
|
|
76
76
|
* Use `interactiveColorOverlayHover` for Data Entry components or `actionColorBackgroundSecondaryHover` for Buttons.
|
|
77
77
|
*/
|
|
78
78
|
backgroundColorHover: string;
|
|
79
|
+
/**
|
|
80
|
+
* Don't use hover shadows - see notes on backgroundColorHover for hover affordances.
|
|
81
|
+
*/
|
|
82
|
+
hoverShadow: string;
|
|
83
|
+
/**
|
|
84
|
+
* Use `notificationColorInfo` or `severityColorInfo`
|
|
85
|
+
*/
|
|
86
|
+
statusColorInfo: string;
|
|
87
|
+
/**
|
|
88
|
+
* Use `notificationColorInfoWeak`
|
|
89
|
+
*/
|
|
90
|
+
statusColorInfoWeak: string;
|
|
91
|
+
/**
|
|
92
|
+
* Use `notificationColorInfoStrong`
|
|
93
|
+
*/
|
|
94
|
+
statusColorInfoStrong: string;
|
|
95
|
+
/**
|
|
96
|
+
* Use `notificationColorPositive` or `severityColorNormal`
|
|
97
|
+
*/
|
|
98
|
+
statusColorNormal: string;
|
|
99
|
+
/**
|
|
100
|
+
* Use `notificationColorPositiveWeak`
|
|
101
|
+
*/
|
|
102
|
+
statusColorNormalWeak: string;
|
|
103
|
+
/**
|
|
104
|
+
* Use `notificationColorPositiveStrong`
|
|
105
|
+
*/
|
|
106
|
+
statusColorNormalStrong: string;
|
|
107
|
+
/**
|
|
108
|
+
* Use `notificationColorCaution` or `severityColorNotice`
|
|
109
|
+
*/
|
|
110
|
+
statusColorLow: string;
|
|
111
|
+
/**
|
|
112
|
+
* Use `notificationColorCautionWeak`
|
|
113
|
+
*/
|
|
114
|
+
statusColorLowWeak: string;
|
|
115
|
+
/**
|
|
116
|
+
* Use `notificationColorCautionStrong`
|
|
117
|
+
*/
|
|
118
|
+
statusColorLowStrong: string;
|
|
119
|
+
/**
|
|
120
|
+
* Use `severityColorWarning`
|
|
121
|
+
*/
|
|
122
|
+
statusColorMedium: string;
|
|
123
|
+
statusColorMediumWeak: string;
|
|
124
|
+
statusColorMediumStrong: string;
|
|
125
|
+
/**
|
|
126
|
+
* Use `notificationColorNegative` or `severityColorAlert`
|
|
127
|
+
*/
|
|
128
|
+
statusColorHigh: string;
|
|
129
|
+
/**
|
|
130
|
+
* Use `notificationColorNegativeWeak`
|
|
131
|
+
*/
|
|
132
|
+
statusColorHighWeak: string;
|
|
133
|
+
/**
|
|
134
|
+
* Use `notificationColorNegativeStrong`
|
|
135
|
+
*/
|
|
136
|
+
statusColorHighStrong: string;
|
|
137
|
+
/**
|
|
138
|
+
* Default color for critical alerts or urgent messages.
|
|
139
|
+
*/
|
|
140
|
+
statusColorCritical: string;
|
|
141
|
+
/**
|
|
142
|
+
* Weaker, less prominent critical color, does not pass 3:1 graphical or 4.5:1 text contrast.
|
|
143
|
+
*/
|
|
144
|
+
statusColorCriticalWeak: string;
|
|
145
|
+
/**
|
|
146
|
+
* Brighter, more prominent critical color.
|
|
147
|
+
*/
|
|
148
|
+
statusColorCriticalStrong: string;
|
|
79
149
|
brandColorL50: string;
|
|
80
150
|
brandColorL40: string;
|
|
81
151
|
brandColorL30: string;
|
|
@@ -313,6 +383,76 @@ declare const _default: {
|
|
|
313
383
|
* Use `interactiveColorOverlayHover` for Data Entry components or `actionColorBackgroundSecondaryHover` for Buttons.
|
|
314
384
|
*/
|
|
315
385
|
backgroundColorHover: string;
|
|
386
|
+
/**
|
|
387
|
+
* Don't use hover shadows - see notes on backgroundColorHover for hover affordances.
|
|
388
|
+
*/
|
|
389
|
+
hoverShadow: string;
|
|
390
|
+
/**
|
|
391
|
+
* Use `notificationColorInfo` or `severityColorInfo`
|
|
392
|
+
*/
|
|
393
|
+
statusColorInfo: string;
|
|
394
|
+
/**
|
|
395
|
+
* Use `notificationColorInfoWeak`
|
|
396
|
+
*/
|
|
397
|
+
statusColorInfoWeak: string;
|
|
398
|
+
/**
|
|
399
|
+
* Use `notificationColorInfoStrong`
|
|
400
|
+
*/
|
|
401
|
+
statusColorInfoStrong: string;
|
|
402
|
+
/**
|
|
403
|
+
* Use `notificationColorPositive` or `severityColorNormal`
|
|
404
|
+
*/
|
|
405
|
+
statusColorNormal: string;
|
|
406
|
+
/**
|
|
407
|
+
* Use `notificationColorPositiveWeak`
|
|
408
|
+
*/
|
|
409
|
+
statusColorNormalWeak: string;
|
|
410
|
+
/**
|
|
411
|
+
* Use `notificationColorPositiveStrong`
|
|
412
|
+
*/
|
|
413
|
+
statusColorNormalStrong: string;
|
|
414
|
+
/**
|
|
415
|
+
* Use `notificationColorCaution` or `severityColorNotice`
|
|
416
|
+
*/
|
|
417
|
+
statusColorLow: string;
|
|
418
|
+
/**
|
|
419
|
+
* Use `notificationColorCautionWeak`
|
|
420
|
+
*/
|
|
421
|
+
statusColorLowWeak: string;
|
|
422
|
+
/**
|
|
423
|
+
* Use `notificationColorCautionStrong`
|
|
424
|
+
*/
|
|
425
|
+
statusColorLowStrong: string;
|
|
426
|
+
/**
|
|
427
|
+
* Use `severityColorWarning`
|
|
428
|
+
*/
|
|
429
|
+
statusColorMedium: string;
|
|
430
|
+
statusColorMediumWeak: string;
|
|
431
|
+
statusColorMediumStrong: string;
|
|
432
|
+
/**
|
|
433
|
+
* Use `notificationColorNegative` or `severityColorAlert`
|
|
434
|
+
*/
|
|
435
|
+
statusColorHigh: string;
|
|
436
|
+
/**
|
|
437
|
+
* Use `notificationColorNegativeWeak`
|
|
438
|
+
*/
|
|
439
|
+
statusColorHighWeak: string;
|
|
440
|
+
/**
|
|
441
|
+
* Use `notificationColorNegativeStrong`
|
|
442
|
+
*/
|
|
443
|
+
statusColorHighStrong: string;
|
|
444
|
+
/**
|
|
445
|
+
* Default color for critical alerts or urgent messages.
|
|
446
|
+
*/
|
|
447
|
+
statusColorCritical: string;
|
|
448
|
+
/**
|
|
449
|
+
* Weaker, less prominent critical color, does not pass 3:1 graphical or 4.5:1 text contrast.
|
|
450
|
+
*/
|
|
451
|
+
statusColorCriticalWeak: string;
|
|
452
|
+
/**
|
|
453
|
+
* Brighter, more prominent critical color.
|
|
454
|
+
*/
|
|
455
|
+
statusColorCriticalStrong: string;
|
|
316
456
|
brandColorL50: string;
|
|
317
457
|
brandColorL40: string;
|
|
318
458
|
brandColorL30: string;
|
|
@@ -25,7 +25,6 @@ declare const elevationShadows: {
|
|
|
25
25
|
modalShadow: string;
|
|
26
26
|
focusShadow: string;
|
|
27
27
|
focusShadowInset: string;
|
|
28
|
-
hoverShadow: string;
|
|
29
28
|
draggableBackground: string;
|
|
30
29
|
};
|
|
31
30
|
declare const elevation: {
|
|
@@ -35,7 +34,6 @@ declare const elevation: {
|
|
|
35
34
|
modalShadow: string;
|
|
36
35
|
focusShadow: string;
|
|
37
36
|
focusShadowInset: string;
|
|
38
|
-
hoverShadow: string;
|
|
39
37
|
draggableBackground: string;
|
|
40
38
|
zindexLayer: number;
|
|
41
39
|
zindexFixedNavbar: number;
|
|
@@ -228,6 +228,7 @@ declare const designTokens: {
|
|
|
228
228
|
serifFontFamily: string;
|
|
229
229
|
monoFontFamily: string;
|
|
230
230
|
borderRadius: string;
|
|
231
|
+
inputBorderWidth: string;
|
|
231
232
|
inputHeight: string;
|
|
232
233
|
spacingXSmall: string;
|
|
233
234
|
spacingSmall: string;
|
|
@@ -242,7 +243,6 @@ declare const designTokens: {
|
|
|
242
243
|
modalShadow: string;
|
|
243
244
|
focusShadow: string;
|
|
244
245
|
focusShadowInset: string;
|
|
245
|
-
hoverShadow: string;
|
|
246
246
|
draggableBackground: string;
|
|
247
247
|
zindexLayer: number;
|
|
248
248
|
zindexFixedNavbar: number;
|
|
@@ -270,6 +270,25 @@ declare const designTokens: {
|
|
|
270
270
|
borderLight: string;
|
|
271
271
|
borderActiveColor: string;
|
|
272
272
|
backgroundColorHover: string;
|
|
273
|
+
hoverShadow: string;
|
|
274
|
+
statusColorInfo: string;
|
|
275
|
+
statusColorInfoWeak: string;
|
|
276
|
+
statusColorInfoStrong: string;
|
|
277
|
+
statusColorNormal: string;
|
|
278
|
+
statusColorNormalWeak: string;
|
|
279
|
+
statusColorNormalStrong: string;
|
|
280
|
+
statusColorLow: string;
|
|
281
|
+
statusColorLowWeak: string;
|
|
282
|
+
statusColorLowStrong: string;
|
|
283
|
+
statusColorMedium: string;
|
|
284
|
+
statusColorMediumWeak: string;
|
|
285
|
+
statusColorMediumStrong: string;
|
|
286
|
+
statusColorHigh: string;
|
|
287
|
+
statusColorHighWeak: string;
|
|
288
|
+
statusColorHighStrong: string;
|
|
289
|
+
statusColorCritical: string;
|
|
290
|
+
statusColorCriticalWeak: string;
|
|
291
|
+
statusColorCriticalStrong: string;
|
|
273
292
|
brandColorL50: string;
|
|
274
293
|
brandColorL40: string;
|
|
275
294
|
brandColorL30: string;
|
|
@@ -443,24 +462,6 @@ declare const designTokens: {
|
|
|
443
462
|
syntaxPurple: string;
|
|
444
463
|
syntaxRed: string;
|
|
445
464
|
syntaxTeal: string;
|
|
446
|
-
statusColorInfo: string;
|
|
447
|
-
statusColorInfoWeak: string;
|
|
448
|
-
statusColorInfoStrong: string;
|
|
449
|
-
statusColorNormal: string;
|
|
450
|
-
statusColorNormalWeak: string;
|
|
451
|
-
statusColorNormalStrong: string;
|
|
452
|
-
statusColorLow: string;
|
|
453
|
-
statusColorLowWeak: string;
|
|
454
|
-
statusColorLowStrong: string;
|
|
455
|
-
statusColorMedium: string;
|
|
456
|
-
statusColorMediumWeak: string;
|
|
457
|
-
statusColorMediumStrong: string;
|
|
458
|
-
statusColorHigh: string;
|
|
459
|
-
statusColorHighWeak: string;
|
|
460
|
-
statusColorHighStrong: string;
|
|
461
|
-
statusColorCritical: string;
|
|
462
|
-
statusColorCriticalWeak: string;
|
|
463
|
-
statusColorCriticalStrong: string;
|
|
464
465
|
severityColorCustom: string;
|
|
465
466
|
severityColorUnknown: string;
|
|
466
467
|
severityColorInfo: string;
|
|
@@ -24,10 +24,12 @@ declare const spacing: {
|
|
|
24
24
|
*/
|
|
25
25
|
declare const measures: {
|
|
26
26
|
borderRadius: string;
|
|
27
|
+
inputBorderWidth: string;
|
|
27
28
|
inputHeight: string;
|
|
28
29
|
};
|
|
29
30
|
declare const spacingSizing: {
|
|
30
31
|
borderRadius: string;
|
|
32
|
+
inputBorderWidth: string;
|
|
31
33
|
inputHeight: string;
|
|
32
34
|
spacingXSmall: string;
|
|
33
35
|
spacingSmall: string;
|
|
@@ -15,6 +15,26 @@ declare const theme: {
|
|
|
15
15
|
border: string;
|
|
16
16
|
borderDark: string;
|
|
17
17
|
borderLight: string;
|
|
18
|
+
borderActiveColor: string;
|
|
19
|
+
backgroundColorHover: string;
|
|
20
|
+
statusColorInfo: string;
|
|
21
|
+
statusColorInfoWeak: string;
|
|
22
|
+
statusColorInfoStrong: string;
|
|
23
|
+
statusColorNormal: string;
|
|
24
|
+
statusColorNormalWeak: string;
|
|
25
|
+
statusColorNormalStrong: string;
|
|
26
|
+
statusColorLow: string;
|
|
27
|
+
statusColorLowWeak: string;
|
|
28
|
+
statusColorLowStrong: string;
|
|
29
|
+
statusColorMedium: string;
|
|
30
|
+
statusColorMediumWeak: string;
|
|
31
|
+
statusColorMediumStrong: string;
|
|
32
|
+
statusColorHigh: string;
|
|
33
|
+
statusColorHighWeak: string;
|
|
34
|
+
statusColorHighStrong: string;
|
|
35
|
+
statusColorCritical: string;
|
|
36
|
+
statusColorCriticalWeak: string;
|
|
37
|
+
statusColorCriticalStrong: string;
|
|
18
38
|
interactiveColorBorder: string;
|
|
19
39
|
interactiveColorBorderActive: string;
|
|
20
40
|
interactiveColorBorderHover: string;
|
|
@@ -76,24 +96,6 @@ declare const theme: {
|
|
|
76
96
|
backgroundColorPopup: string;
|
|
77
97
|
backgroundColorFloating: string;
|
|
78
98
|
backgroundColorScrim: string;
|
|
79
|
-
statusColorInfo: string;
|
|
80
|
-
statusColorInfoWeak: string;
|
|
81
|
-
statusColorInfoStrong: string;
|
|
82
|
-
statusColorNormal: string;
|
|
83
|
-
statusColorNormalWeak: string;
|
|
84
|
-
statusColorNormalStrong: string;
|
|
85
|
-
statusColorLow: string;
|
|
86
|
-
statusColorLowWeak: string;
|
|
87
|
-
statusColorLowStrong: string;
|
|
88
|
-
statusColorMedium: string;
|
|
89
|
-
statusColorMediumWeak: string;
|
|
90
|
-
statusColorMediumStrong: string;
|
|
91
|
-
statusColorHigh: string;
|
|
92
|
-
statusColorHighWeak: string;
|
|
93
|
-
statusColorHighStrong: string;
|
|
94
|
-
statusColorCritical: string;
|
|
95
|
-
statusColorCriticalWeak: string;
|
|
96
|
-
statusColorCriticalStrong: string;
|
|
97
99
|
severityColorCustom: string;
|
|
98
100
|
severityColorUnknown: string;
|
|
99
101
|
severityColorInfo: string;
|
|
@@ -143,11 +145,9 @@ declare const theme: {
|
|
|
143
145
|
actionColorBorderDestructiveSecondaryActive: string;
|
|
144
146
|
actionColorBorderDestructiveSecondaryDisabled: string;
|
|
145
147
|
actionColorBorderDestructiveSecondaryHover: string;
|
|
146
|
-
backgroundColorHover: string;
|
|
147
148
|
borderColor: string;
|
|
148
149
|
borderColorWeak: string;
|
|
149
150
|
borderColorStrong: string;
|
|
150
|
-
borderActiveColor: string;
|
|
151
151
|
brandColorL50: string;
|
|
152
152
|
brandColorL40: string;
|
|
153
153
|
brandColorL30: string;
|
|
@@ -12,6 +12,26 @@ declare const theme: {
|
|
|
12
12
|
textDisabledColor: string;
|
|
13
13
|
backgroundColor: string;
|
|
14
14
|
border: string;
|
|
15
|
+
borderActiveColor: string;
|
|
16
|
+
backgroundColorHover: string;
|
|
17
|
+
statusColorInfo: string;
|
|
18
|
+
statusColorInfoWeak: string;
|
|
19
|
+
statusColorInfoStrong: string;
|
|
20
|
+
statusColorNormal: string;
|
|
21
|
+
statusColorNormalWeak: string;
|
|
22
|
+
statusColorNormalStrong: string;
|
|
23
|
+
statusColorLow: string;
|
|
24
|
+
statusColorLowWeak: string;
|
|
25
|
+
statusColorLowStrong: string;
|
|
26
|
+
statusColorMedium: string;
|
|
27
|
+
statusColorMediumWeak: string;
|
|
28
|
+
statusColorMediumStrong: string;
|
|
29
|
+
statusColorHigh: string;
|
|
30
|
+
statusColorHighWeak: string;
|
|
31
|
+
statusColorHighStrong: string;
|
|
32
|
+
statusColorCritical: string;
|
|
33
|
+
statusColorCriticalWeak: string;
|
|
34
|
+
statusColorCriticalStrong: string;
|
|
15
35
|
brandColorL50: string;
|
|
16
36
|
brandColorL40: string;
|
|
17
37
|
brandColorL30: string;
|
|
@@ -407,8 +427,6 @@ declare const theme: {
|
|
|
407
427
|
focusShadow: string;
|
|
408
428
|
focusShadowInset: string;
|
|
409
429
|
draggableBackground: string;
|
|
410
|
-
borderActiveColor: string;
|
|
411
|
-
backgroundColorHover: string;
|
|
412
430
|
borderColor: string;
|
|
413
431
|
borderColorWeak: string;
|
|
414
432
|
borderColorStrong: string;
|
|
@@ -426,24 +444,6 @@ declare const theme: {
|
|
|
426
444
|
overlayShadow: string;
|
|
427
445
|
dragShadow: string;
|
|
428
446
|
modalShadow: string;
|
|
429
|
-
statusColorInfo: string;
|
|
430
|
-
statusColorInfoWeak: string;
|
|
431
|
-
statusColorInfoStrong: string;
|
|
432
|
-
statusColorNormal: string;
|
|
433
|
-
statusColorNormalWeak: string;
|
|
434
|
-
statusColorNormalStrong: string;
|
|
435
|
-
statusColorLow: string;
|
|
436
|
-
statusColorLowWeak: string;
|
|
437
|
-
statusColorLowStrong: string;
|
|
438
|
-
statusColorMedium: string;
|
|
439
|
-
statusColorMediumWeak: string;
|
|
440
|
-
statusColorMediumStrong: string;
|
|
441
|
-
statusColorHigh: string;
|
|
442
|
-
statusColorHighWeak: string;
|
|
443
|
-
statusColorHighStrong: string;
|
|
444
|
-
statusColorCritical: string;
|
|
445
|
-
statusColorCriticalWeak: string;
|
|
446
|
-
statusColorCriticalStrong: string;
|
|
447
447
|
severityColorCustom: string;
|
|
448
448
|
severityColorUnknown: string;
|
|
449
449
|
severityColorInfo: string;
|
package/types/getTheme.d.ts
CHANGED
package/types/mixins/index.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ declare const _default: {
|
|
|
12
12
|
layout: typeof layout;
|
|
13
13
|
prose: typeof prose;
|
|
14
14
|
typography: typeof typography;
|
|
15
|
-
reset: <T extends import("
|
|
15
|
+
reset: <T extends import("..").AnyTheme, A extends import("..").ThemedProps>(display?: string) => import("..").Interpolation<T, A>;
|
|
16
16
|
clearfix: typeof import("./utilityMixins").clearfix;
|
|
17
17
|
ellipsis: typeof import("./utilityMixins").ellipsis;
|
|
18
18
|
printWidth100Percent: typeof import("./utilityMixins").printWidth100Percent;
|
|
@@ -23,7 +23,7 @@ import { AnyTheme, Interpolation, ThemedProps, OptionalThemedProps } from '../ty
|
|
|
23
23
|
* @param {string} [display=inline] Set the `display` property (block, inline-block, …)
|
|
24
24
|
* @public
|
|
25
25
|
*/
|
|
26
|
-
export declare const reset: <T extends AnyTheme, A extends ThemedProps
|
|
26
|
+
export declare const reset: <T extends AnyTheme, A extends ThemedProps>(display?: string) => Interpolation<T, A>;
|
|
27
27
|
/**
|
|
28
28
|
* `clearfix` is used on a container to ensure its height is at least as tall as any floating
|
|
29
29
|
* children.
|
|
@@ -193,7 +193,7 @@ export declare function overlayColors<T extends AnyTheme>(c1: ColorParameter<T>,
|
|
|
193
193
|
*/
|
|
194
194
|
export declare function colorWithAlpha<T extends AnyTheme>(color: ColorParameter<T>, alpha: number): (props: OptionalThemedProps<T>) => string;
|
|
195
195
|
declare const _default: {
|
|
196
|
-
reset: <T extends AnyTheme, A extends ThemedProps
|
|
196
|
+
reset: <T extends AnyTheme, A extends ThemedProps>(display?: string) => Interpolation<T, A>;
|
|
197
197
|
clearfix: typeof clearfix;
|
|
198
198
|
ellipsis: typeof ellipsis;
|
|
199
199
|
printWidth100Percent: typeof printWidth100Percent;
|
package/types/prisma/base.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ declare function createPrismaBase({ colorScheme }: {
|
|
|
3
3
|
colorScheme: ColorScheme;
|
|
4
4
|
}): {
|
|
5
5
|
linkColor: string;
|
|
6
|
+
hoverShadow: string;
|
|
6
7
|
zindexLayer: number;
|
|
7
8
|
zindexFixedNavbar: number;
|
|
8
9
|
zindexModalBackdrop: number;
|
|
@@ -15,7 +16,6 @@ declare function createPrismaBase({ colorScheme }: {
|
|
|
15
16
|
borderColorStrong: string;
|
|
16
17
|
focusShadow: string;
|
|
17
18
|
focusShadowInset: string;
|
|
18
|
-
hoverShadow: string;
|
|
19
19
|
highLow4LHigh: string;
|
|
20
20
|
highLow4LLow: string;
|
|
21
21
|
highLow4DHigh: string;
|
package/types/prisma/dark.d.ts
CHANGED
|
@@ -4,6 +4,24 @@ declare const theme: {
|
|
|
4
4
|
accentColorWarning: string;
|
|
5
5
|
accentColorAlert: string;
|
|
6
6
|
accentColorNegative: string;
|
|
7
|
+
statusColorInfo: string;
|
|
8
|
+
statusColorInfoWeak: string;
|
|
9
|
+
statusColorInfoStrong: string;
|
|
10
|
+
statusColorNormal: string;
|
|
11
|
+
statusColorNormalWeak: string;
|
|
12
|
+
statusColorNormalStrong: string;
|
|
13
|
+
statusColorLow: string;
|
|
14
|
+
statusColorLowWeak: string;
|
|
15
|
+
statusColorLowStrong: string;
|
|
16
|
+
statusColorMedium: string;
|
|
17
|
+
statusColorMediumWeak: string;
|
|
18
|
+
statusColorMediumStrong: string;
|
|
19
|
+
statusColorHigh: string;
|
|
20
|
+
statusColorHighWeak: string;
|
|
21
|
+
statusColorHighStrong: string;
|
|
22
|
+
statusColorCritical: string;
|
|
23
|
+
statusColorCriticalWeak: string;
|
|
24
|
+
statusColorCriticalStrong: string;
|
|
7
25
|
syntaxBlue: string;
|
|
8
26
|
syntaxBrown: string;
|
|
9
27
|
syntaxGray: string;
|
|
@@ -66,24 +84,6 @@ declare const theme: {
|
|
|
66
84
|
overlayShadow: string;
|
|
67
85
|
dragShadow: string;
|
|
68
86
|
modalShadow: string;
|
|
69
|
-
statusColorInfo: string;
|
|
70
|
-
statusColorInfoWeak: string;
|
|
71
|
-
statusColorInfoStrong: string;
|
|
72
|
-
statusColorNormal: string;
|
|
73
|
-
statusColorNormalWeak: string;
|
|
74
|
-
statusColorNormalStrong: string;
|
|
75
|
-
statusColorLow: string;
|
|
76
|
-
statusColorLowWeak: string;
|
|
77
|
-
statusColorLowStrong: string;
|
|
78
|
-
statusColorMedium: string;
|
|
79
|
-
statusColorMediumWeak: string;
|
|
80
|
-
statusColorMediumStrong: string;
|
|
81
|
-
statusColorHigh: string;
|
|
82
|
-
statusColorHighWeak: string;
|
|
83
|
-
statusColorHighStrong: string;
|
|
84
|
-
statusColorCritical: string;
|
|
85
|
-
statusColorCriticalWeak: string;
|
|
86
|
-
statusColorCriticalStrong: string;
|
|
87
87
|
severityColorCustom: string;
|
|
88
88
|
severityColorUnknown: string;
|
|
89
89
|
severityColorInfo: string;
|