@splunk/themes 1.0.1 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +53 -30
- package/SplunkThemeProvider.js +3 -4
- package/design-tokens/typography.js +33 -1
- package/enterprise/dark.js +2 -2
- package/enterprise/light.js +14 -8
- package/mixins/index.js +13 -3
- package/mixins/resets.js +96 -0
- package/mixins/typography.js +9 -9
- package/mixins/utilityMixins.js +42 -51
- package/package.json +9 -9
- package/prisma/base.js +8 -1
- package/prisma/dark.js +2 -2
- package/prisma/light.js +11 -11
- package/splunk-magnetic/index.js +17 -1
- package/splunk-magnetic/magneticTokensCore.js +390 -0
- package/splunk-magnetic/magneticTokensDark.js +4 -0
- package/splunk-magnetic/magneticTokensLight.js +4 -0
- package/storybook-addon-splunk-themes/SplunkThemesTool.js +12 -3
- package/storybook-addon-splunk-themes/constants.js +3 -1
- package/storybook-addon-splunk-themes/withSplunkTheme.js +2 -3
- package/types/design-tokens/index.d.ts +7 -0
- package/types/design-tokens/typography.d.ts +58 -0
- package/types/enterprise/dark.d.ts +7 -0
- package/types/enterprise/light.d.ts +7 -0
- package/types/mixins/index.d.ts +4 -1
- package/types/mixins/resets.d.ts +47 -0
- package/types/mixins/tests/resets.unit.d.ts +1 -0
- package/types/mixins/utilityMixins.d.ts +25 -23
- package/types/prisma/base.d.ts +7 -0
- package/types/splunk-magnetic/index.d.ts +132 -90
- package/types/splunk-magnetic/magneticTokensCore.d.ts +384 -0
- package/types/storybook-addon-splunk-themes/constants.d.ts +1 -0
- package/useSplunkTheme.js +2 -2
- package/withSplunkTheme.js +3 -4
|
@@ -211,6 +211,13 @@ declare const designTokens: {
|
|
|
211
211
|
static20: string;
|
|
212
212
|
lineLength: string;
|
|
213
213
|
lineHeight: string;
|
|
214
|
+
lineHeightSingle: string;
|
|
215
|
+
lineHeightTight: string;
|
|
216
|
+
lineHeightSnug: string;
|
|
217
|
+
lineHeightComfortable: string;
|
|
218
|
+
lineHeightRelaxed: string;
|
|
219
|
+
lineHeightSpacious: string;
|
|
220
|
+
lineHeightNormal: string;
|
|
214
221
|
fontSizeSmall: string;
|
|
215
222
|
fontSize: string;
|
|
216
223
|
fontSizeLarge: string;
|
|
@@ -49,7 +49,36 @@ declare const fontMeasures: {
|
|
|
49
49
|
* in blocks of text by preventing overly long lines.
|
|
50
50
|
*/
|
|
51
51
|
lineLength: string;
|
|
52
|
+
/**
|
|
53
|
+
* Default line height.
|
|
54
|
+
*/
|
|
52
55
|
lineHeight: string;
|
|
56
|
+
/**
|
|
57
|
+
* Very tight. Use where space is extremely limited and text is not expected to wrap.
|
|
58
|
+
* Ideal for buttons, badges, input fields, and compact labels.
|
|
59
|
+
*/
|
|
60
|
+
lineHeightSingle: string;
|
|
61
|
+
/**
|
|
62
|
+
* Slightly more space than single, still compact
|
|
63
|
+
*/
|
|
64
|
+
lineHeightTight: string;
|
|
65
|
+
/**
|
|
66
|
+
* Compact but a bit more readable
|
|
67
|
+
*/
|
|
68
|
+
lineHeightSnug: string;
|
|
69
|
+
/**
|
|
70
|
+
* Balanced spacing for smaller text
|
|
71
|
+
*/
|
|
72
|
+
lineHeightComfortable: string;
|
|
73
|
+
/**
|
|
74
|
+
* Slightly looser for better readability
|
|
75
|
+
*/
|
|
76
|
+
lineHeightRelaxed: string;
|
|
77
|
+
lineHeightSpacious: string;
|
|
78
|
+
/**
|
|
79
|
+
* Default for body text; comfortable, standard line height same as `lineHeight`
|
|
80
|
+
*/
|
|
81
|
+
lineHeightNormal: string;
|
|
53
82
|
};
|
|
54
83
|
declare const typography: {
|
|
55
84
|
/**
|
|
@@ -57,7 +86,36 @@ declare const typography: {
|
|
|
57
86
|
* in blocks of text by preventing overly long lines.
|
|
58
87
|
*/
|
|
59
88
|
lineLength: string;
|
|
89
|
+
/**
|
|
90
|
+
* Default line height.
|
|
91
|
+
*/
|
|
60
92
|
lineHeight: string;
|
|
93
|
+
/**
|
|
94
|
+
* Very tight. Use where space is extremely limited and text is not expected to wrap.
|
|
95
|
+
* Ideal for buttons, badges, input fields, and compact labels.
|
|
96
|
+
*/
|
|
97
|
+
lineHeightSingle: string;
|
|
98
|
+
/**
|
|
99
|
+
* Slightly more space than single, still compact
|
|
100
|
+
*/
|
|
101
|
+
lineHeightTight: string;
|
|
102
|
+
/**
|
|
103
|
+
* Compact but a bit more readable
|
|
104
|
+
*/
|
|
105
|
+
lineHeightSnug: string;
|
|
106
|
+
/**
|
|
107
|
+
* Balanced spacing for smaller text
|
|
108
|
+
*/
|
|
109
|
+
lineHeightComfortable: string;
|
|
110
|
+
/**
|
|
111
|
+
* Slightly looser for better readability
|
|
112
|
+
*/
|
|
113
|
+
lineHeightRelaxed: string;
|
|
114
|
+
lineHeightSpacious: string;
|
|
115
|
+
/**
|
|
116
|
+
* Default for body text; comfortable, standard line height same as `lineHeight`
|
|
117
|
+
*/
|
|
118
|
+
lineHeightNormal: string;
|
|
61
119
|
fontSizeSmall: string;
|
|
62
120
|
fontSize: string;
|
|
63
121
|
fontSizeLarge: string;
|
|
@@ -495,6 +495,13 @@ declare const theme: {
|
|
|
495
495
|
zindexToastMessages: number;
|
|
496
496
|
lineLength: string;
|
|
497
497
|
lineHeight: string;
|
|
498
|
+
lineHeightSingle: string;
|
|
499
|
+
lineHeightTight: string;
|
|
500
|
+
lineHeightSnug: string;
|
|
501
|
+
lineHeightComfortable: string;
|
|
502
|
+
lineHeightRelaxed: string;
|
|
503
|
+
lineHeightSpacious: string;
|
|
504
|
+
lineHeightNormal: string;
|
|
498
505
|
fontSizeSmall: string;
|
|
499
506
|
fontSize: string;
|
|
500
507
|
fontSizeLarge: string;
|
|
@@ -408,6 +408,13 @@ declare const theme: {
|
|
|
408
408
|
contentColorWarning: string;
|
|
409
409
|
lineLength: string;
|
|
410
410
|
lineHeight: string;
|
|
411
|
+
lineHeightSingle: string;
|
|
412
|
+
lineHeightTight: string;
|
|
413
|
+
lineHeightSnug: string;
|
|
414
|
+
lineHeightComfortable: string;
|
|
415
|
+
lineHeightRelaxed: string;
|
|
416
|
+
lineHeightSpacious: string;
|
|
417
|
+
lineHeightNormal: string;
|
|
411
418
|
fontSizeSmall: string;
|
|
412
419
|
fontSize: string;
|
|
413
420
|
fontSizeLarge: string;
|
package/types/mixins/index.d.ts
CHANGED
|
@@ -6,13 +6,13 @@ export { default as layout } from './layout';
|
|
|
6
6
|
export * from './layout';
|
|
7
7
|
export { default as prose } from './prose';
|
|
8
8
|
export * from './prose';
|
|
9
|
+
export * from './resets';
|
|
9
10
|
export { default as typography } from './typography';
|
|
10
11
|
export * from './typography';
|
|
11
12
|
declare const _default: {
|
|
12
13
|
layout: typeof layout;
|
|
13
14
|
prose: typeof prose;
|
|
14
15
|
typography: typeof typography;
|
|
15
|
-
reset: <T extends import("..").AnyTheme, A extends import("..").ThemedProps>(display?: string | null) => 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;
|
|
@@ -20,7 +20,10 @@ declare const _default: {
|
|
|
20
20
|
printNoBackground: typeof import("./utilityMixins").printNoBackground;
|
|
21
21
|
printWrapAll: typeof import("./utilityMixins").printWrapAll;
|
|
22
22
|
screenReaderContent: typeof import("./utilityMixins").screenReaderContent;
|
|
23
|
+
skipLink: typeof import("./utilityMixins").skipLink;
|
|
23
24
|
colorWithAlpha: typeof import("./utilityMixins").colorWithAlpha;
|
|
24
25
|
overlayColors: typeof import("./utilityMixins").overlayColors;
|
|
26
|
+
pageBase: <T extends import("..").AnyTheme, A extends import("..").ThemedProps>() => import("..").Interpolation<T, A>;
|
|
27
|
+
reset: <T extends import("..").AnyTheme, A extends import("..").ThemedProps>(display?: string | null) => import("..").Interpolation<T, A>;
|
|
25
28
|
};
|
|
26
29
|
export default _default;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { AnyTheme, Interpolation, ThemedProps } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* The `pageBase` mixin provides essential base styling, intended for `html` and `body` elements.
|
|
4
|
+
* This should be used in global styles to establish consistent foundational styles
|
|
5
|
+
* including theme colors, typography, and layout basics.
|
|
6
|
+
*
|
|
7
|
+
* ##### Example
|
|
8
|
+
* ```js
|
|
9
|
+
* import styled from 'styled-components';
|
|
10
|
+
* import { pageBase } from '@splunk/themes/mixins';
|
|
11
|
+
*
|
|
12
|
+
* const GlobalStyle = createGlobalStyle`
|
|
13
|
+
* html,
|
|
14
|
+
* body {
|
|
15
|
+
* ${pageBase()}
|
|
16
|
+
* }
|
|
17
|
+
* `
|
|
18
|
+
* ```
|
|
19
|
+
* @name pageBase
|
|
20
|
+
* @kind function
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export declare const pageBase: <T extends AnyTheme, A extends ThemedProps>() => Interpolation<T, A>;
|
|
24
|
+
/**
|
|
25
|
+
* The `reset` mixin resets css properties to their browser defaults, plus many to
|
|
26
|
+
* theme-specific values. This ensures an element is not inheriting inappropriate styles.
|
|
27
|
+
*
|
|
28
|
+
* ##### Example
|
|
29
|
+
* ```js
|
|
30
|
+
* import styled from 'styled-components';
|
|
31
|
+
* import { reset } from '@splunk/themes/mixins';
|
|
32
|
+
*
|
|
33
|
+
* const myBlock = styled.div`
|
|
34
|
+
* ${reset('block')};
|
|
35
|
+
* `
|
|
36
|
+
* ```
|
|
37
|
+
* @name reset
|
|
38
|
+
* @kind function
|
|
39
|
+
* @param {string} [display=inline] Set the `display` property (block, inline-block, …)
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
export declare const reset: <T extends AnyTheme, A extends ThemedProps>(display?: string | null) => Interpolation<T, A>;
|
|
43
|
+
declare const _default: {
|
|
44
|
+
pageBase: <T extends AnyTheme, A extends ThemedProps>() => Interpolation<T, A>;
|
|
45
|
+
reset: <T extends AnyTheme, A extends ThemedProps>(display?: string | null) => Interpolation<T, A>;
|
|
46
|
+
};
|
|
47
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,29 +1,10 @@
|
|
|
1
1
|
import { CSSObject } from 'styled-components';
|
|
2
|
-
import { AnyTheme,
|
|
2
|
+
import { AnyTheme, OptionalThemedProps } from '../types';
|
|
3
3
|
/**
|
|
4
4
|
* @file
|
|
5
5
|
* A collection of style-related helper functions. All of them return a single object containing
|
|
6
6
|
* DOM CSS properties, for example: `{ display: …, fontFamily: … }`.
|
|
7
7
|
*/
|
|
8
|
-
/**
|
|
9
|
-
* The `reset` mixin resets css properties to their browser defaults, plus many to
|
|
10
|
-
* theme-specific values. This ensures an element is not inheriting inappropriate styles.
|
|
11
|
-
*
|
|
12
|
-
* ##### Example
|
|
13
|
-
* ```js
|
|
14
|
-
* import styled from 'styled-components';
|
|
15
|
-
* import { reset } from '@splunk/themes/mixins';
|
|
16
|
-
*
|
|
17
|
-
* const myBlock = styled.div`
|
|
18
|
-
* ${reset('block')};
|
|
19
|
-
* `
|
|
20
|
-
* ```
|
|
21
|
-
* @name reset
|
|
22
|
-
* @kind function
|
|
23
|
-
* @param {string} [display=inline] Set the `display` property (block, inline-block, …)
|
|
24
|
-
* @public
|
|
25
|
-
*/
|
|
26
|
-
export declare const reset: <T extends AnyTheme, A extends ThemedProps>(display?: string | null) => Interpolation<T, A>;
|
|
27
8
|
/**
|
|
28
9
|
* `clearfix` is used on a container to ensure its height is at least as tall as any floating
|
|
29
10
|
* children.
|
|
@@ -140,15 +121,36 @@ export declare function printWrapAll(): CSSObject;
|
|
|
140
121
|
*
|
|
141
122
|
* ##### Example
|
|
142
123
|
* ``` js
|
|
143
|
-
* import screenReaderContent from '@splunk/themes/mixins';
|
|
124
|
+
* import { screenReaderContent } from '@splunk/themes/mixins';
|
|
144
125
|
*
|
|
145
126
|
* .myElement {
|
|
146
|
-
* ${
|
|
127
|
+
* ${screenReaderContent()};
|
|
147
128
|
* }
|
|
148
129
|
* ```
|
|
149
130
|
* @public
|
|
150
131
|
*/
|
|
151
132
|
export declare function screenReaderContent(): CSSObject;
|
|
133
|
+
/**
|
|
134
|
+
* Visually hide interactive elements and reveal them on focus. Use this mixin to allow
|
|
135
|
+
* keyboard users to skip over repeated content, such as navigation menus
|
|
136
|
+
*
|
|
137
|
+
* ##### Example
|
|
138
|
+
* ```js
|
|
139
|
+
* import styled from 'styled-components';
|
|
140
|
+
* import Link from '@splunk/react-ui/Link';
|
|
141
|
+
* import mixins from '@splunk/themes';
|
|
142
|
+
*
|
|
143
|
+
* const skipLink = styled(Link)`
|
|
144
|
+
* ${mixins.skipLink()};
|
|
145
|
+
* `;
|
|
146
|
+
* // or if you have a container with several links inside it:
|
|
147
|
+
* const skipLinkContainer = styled.div`
|
|
148
|
+
* ${mixins.skipLink()};
|
|
149
|
+
* `;
|
|
150
|
+
* ```
|
|
151
|
+
* @public
|
|
152
|
+
*/
|
|
153
|
+
export declare function skipLink(): CSSObject;
|
|
152
154
|
type TemplateFunction<T extends AnyTheme> = (props: OptionalThemedProps<T>) => string | undefined;
|
|
153
155
|
type ColorParameter<T extends AnyTheme> = string | TemplateFunction<T>;
|
|
154
156
|
/**
|
|
@@ -193,7 +195,6 @@ export declare function overlayColors<T extends AnyTheme>(c1: ColorParameter<T>,
|
|
|
193
195
|
*/
|
|
194
196
|
export declare function colorWithAlpha<T extends AnyTheme>(color: ColorParameter<T>, alpha: number): (props: OptionalThemedProps<T>) => string;
|
|
195
197
|
declare const _default: {
|
|
196
|
-
reset: <T extends AnyTheme, A extends ThemedProps>(display?: string | null) => Interpolation<T, A>;
|
|
197
198
|
clearfix: typeof clearfix;
|
|
198
199
|
ellipsis: typeof ellipsis;
|
|
199
200
|
printWidth100Percent: typeof printWidth100Percent;
|
|
@@ -201,6 +202,7 @@ declare const _default: {
|
|
|
201
202
|
printNoBackground: typeof printNoBackground;
|
|
202
203
|
printWrapAll: typeof printWrapAll;
|
|
203
204
|
screenReaderContent: typeof screenReaderContent;
|
|
205
|
+
skipLink: typeof skipLink;
|
|
204
206
|
colorWithAlpha: typeof colorWithAlpha;
|
|
205
207
|
overlayColors: typeof overlayColors;
|
|
206
208
|
};
|
package/types/prisma/base.d.ts
CHANGED
|
@@ -223,6 +223,13 @@ declare function createPrismaBase({ colorScheme }: {
|
|
|
223
223
|
focusColor: string;
|
|
224
224
|
lineLength: string;
|
|
225
225
|
lineHeight: string;
|
|
226
|
+
lineHeightSingle: string;
|
|
227
|
+
lineHeightTight: string;
|
|
228
|
+
lineHeightSnug: string;
|
|
229
|
+
lineHeightComfortable: string;
|
|
230
|
+
lineHeightRelaxed: string;
|
|
231
|
+
lineHeightSpacious: string;
|
|
232
|
+
lineHeightNormal: string;
|
|
226
233
|
fontSizeSmall: string;
|
|
227
234
|
fontSize: string;
|
|
228
235
|
fontSizeLarge: string;
|
|
@@ -69,6 +69,12 @@ declare const splunkMagneticThemeCustomizer: (currentTheme: AnyTheme) => {
|
|
|
69
69
|
interactiveColorBorderHover: string;
|
|
70
70
|
linkColor: string;
|
|
71
71
|
modalShadow: string;
|
|
72
|
+
neutral50: string;
|
|
73
|
+
neutral100: string;
|
|
74
|
+
neutral200: string;
|
|
75
|
+
neutral300: string;
|
|
76
|
+
neutral400: string;
|
|
77
|
+
neutral500: string;
|
|
72
78
|
overlayShadow: string;
|
|
73
79
|
statusColorHigh: string;
|
|
74
80
|
statusColorHighStrong: string;
|
|
@@ -82,6 +88,15 @@ declare const splunkMagneticThemeCustomizer: (currentTheme: AnyTheme) => {
|
|
|
82
88
|
statusColorNormal: string;
|
|
83
89
|
statusColorNormalStrong: string;
|
|
84
90
|
statusColorNormalWeak: string;
|
|
91
|
+
syntaxBlue: string;
|
|
92
|
+
syntaxBrown: string;
|
|
93
|
+
syntaxGray: string;
|
|
94
|
+
syntaxGreen: string;
|
|
95
|
+
syntaxOrange: string;
|
|
96
|
+
syntaxPink: string;
|
|
97
|
+
syntaxPurple: string;
|
|
98
|
+
syntaxRed: string;
|
|
99
|
+
syntaxTeal: string;
|
|
85
100
|
categorical1D1: string;
|
|
86
101
|
categorical1D2: string;
|
|
87
102
|
categorical1D3: string;
|
|
@@ -466,6 +481,13 @@ declare const splunkMagneticThemeCustomizer: (currentTheme: AnyTheme) => {
|
|
|
466
481
|
contentColorWarning: string;
|
|
467
482
|
lineLength: string;
|
|
468
483
|
lineHeight: string;
|
|
484
|
+
lineHeightSingle: string;
|
|
485
|
+
lineHeightTight: string;
|
|
486
|
+
lineHeightSnug: string;
|
|
487
|
+
lineHeightComfortable: string;
|
|
488
|
+
lineHeightRelaxed: string;
|
|
489
|
+
lineHeightSpacious: string;
|
|
490
|
+
lineHeightNormal: string;
|
|
469
491
|
fontSizeSmall: string;
|
|
470
492
|
fontSize: string;
|
|
471
493
|
fontSizeLarge: string;
|
|
@@ -481,15 +503,6 @@ declare const splunkMagneticThemeCustomizer: (currentTheme: AnyTheme) => {
|
|
|
481
503
|
serifFontFamily: string;
|
|
482
504
|
focusShadowInset: string;
|
|
483
505
|
draggableBackground: string;
|
|
484
|
-
syntaxBlue: string;
|
|
485
|
-
syntaxBrown: string;
|
|
486
|
-
syntaxGray: string;
|
|
487
|
-
syntaxGreen: string;
|
|
488
|
-
syntaxOrange: string;
|
|
489
|
-
syntaxPink: string;
|
|
490
|
-
syntaxPurple: string;
|
|
491
|
-
syntaxRed: string;
|
|
492
|
-
syntaxTeal: string;
|
|
493
506
|
dragShadow: string;
|
|
494
507
|
severityColorCustom: string;
|
|
495
508
|
severityColorUnknown: string;
|
|
@@ -513,12 +526,6 @@ declare const splunkMagneticThemeCustomizer: (currentTheme: AnyTheme) => {
|
|
|
513
526
|
notificationColorNegative: string;
|
|
514
527
|
notificationColorNegativeStrong: string;
|
|
515
528
|
black: string;
|
|
516
|
-
neutral50: string;
|
|
517
|
-
neutral100: string;
|
|
518
|
-
neutral200: string;
|
|
519
|
-
neutral300: string;
|
|
520
|
-
neutral400: string;
|
|
521
|
-
neutral500: string;
|
|
522
529
|
white: string;
|
|
523
530
|
transparent: string;
|
|
524
531
|
backgroundColorFloating: string;
|
|
@@ -637,6 +644,12 @@ declare const splunkMagneticThemeCustomizer: (currentTheme: AnyTheme) => {
|
|
|
637
644
|
interactiveColorBorderHover: string;
|
|
638
645
|
linkColor: string;
|
|
639
646
|
modalShadow: string;
|
|
647
|
+
neutral50: string;
|
|
648
|
+
neutral100: string;
|
|
649
|
+
neutral200: string;
|
|
650
|
+
neutral300: string;
|
|
651
|
+
neutral400: string;
|
|
652
|
+
neutral500: string;
|
|
640
653
|
overlayShadow: string;
|
|
641
654
|
statusColorHigh: string;
|
|
642
655
|
statusColorHighStrong: string;
|
|
@@ -650,6 +663,15 @@ declare const splunkMagneticThemeCustomizer: (currentTheme: AnyTheme) => {
|
|
|
650
663
|
statusColorNormal: string;
|
|
651
664
|
statusColorNormalStrong: string;
|
|
652
665
|
statusColorNormalWeak: string;
|
|
666
|
+
syntaxBlue: string;
|
|
667
|
+
syntaxBrown: string;
|
|
668
|
+
syntaxGray: string;
|
|
669
|
+
syntaxGreen: string;
|
|
670
|
+
syntaxOrange: string;
|
|
671
|
+
syntaxPink: string;
|
|
672
|
+
syntaxPurple: string;
|
|
673
|
+
syntaxRed: string;
|
|
674
|
+
syntaxTeal: string;
|
|
653
675
|
categorical1D1: string;
|
|
654
676
|
categorical1D2: string;
|
|
655
677
|
categorical1D3: string;
|
|
@@ -1034,6 +1056,13 @@ declare const splunkMagneticThemeCustomizer: (currentTheme: AnyTheme) => {
|
|
|
1034
1056
|
contentColorWarning: string;
|
|
1035
1057
|
lineLength: string;
|
|
1036
1058
|
lineHeight: string;
|
|
1059
|
+
lineHeightSingle: string;
|
|
1060
|
+
lineHeightTight: string;
|
|
1061
|
+
lineHeightSnug: string;
|
|
1062
|
+
lineHeightComfortable: string;
|
|
1063
|
+
lineHeightRelaxed: string;
|
|
1064
|
+
lineHeightSpacious: string;
|
|
1065
|
+
lineHeightNormal: string;
|
|
1037
1066
|
fontSizeSmall: string;
|
|
1038
1067
|
fontSize: string;
|
|
1039
1068
|
fontSizeLarge: string;
|
|
@@ -1049,15 +1078,6 @@ declare const splunkMagneticThemeCustomizer: (currentTheme: AnyTheme) => {
|
|
|
1049
1078
|
serifFontFamily: string;
|
|
1050
1079
|
focusShadowInset: string;
|
|
1051
1080
|
draggableBackground: string;
|
|
1052
|
-
syntaxBlue: string;
|
|
1053
|
-
syntaxBrown: string;
|
|
1054
|
-
syntaxGray: string;
|
|
1055
|
-
syntaxGreen: string;
|
|
1056
|
-
syntaxOrange: string;
|
|
1057
|
-
syntaxPink: string;
|
|
1058
|
-
syntaxPurple: string;
|
|
1059
|
-
syntaxRed: string;
|
|
1060
|
-
syntaxTeal: string;
|
|
1061
1081
|
dragShadow: string;
|
|
1062
1082
|
severityColorCustom: string;
|
|
1063
1083
|
severityColorUnknown: string;
|
|
@@ -1081,12 +1101,6 @@ declare const splunkMagneticThemeCustomizer: (currentTheme: AnyTheme) => {
|
|
|
1081
1101
|
notificationColorNegative: string;
|
|
1082
1102
|
notificationColorNegativeStrong: string;
|
|
1083
1103
|
black: string;
|
|
1084
|
-
neutral50: string;
|
|
1085
|
-
neutral100: string;
|
|
1086
|
-
neutral200: string;
|
|
1087
|
-
neutral300: string;
|
|
1088
|
-
neutral400: string;
|
|
1089
|
-
neutral500: string;
|
|
1090
1104
|
white: string;
|
|
1091
1105
|
transparent: string;
|
|
1092
1106
|
backgroundColorFloating: string;
|
|
@@ -1205,6 +1219,12 @@ declare const splunkMagneticThemeCustomizer: (currentTheme: AnyTheme) => {
|
|
|
1205
1219
|
interactiveColorBorderHover: string;
|
|
1206
1220
|
linkColor: string;
|
|
1207
1221
|
modalShadow: string;
|
|
1222
|
+
neutral50: string;
|
|
1223
|
+
neutral100: string;
|
|
1224
|
+
neutral200: string;
|
|
1225
|
+
neutral300: string;
|
|
1226
|
+
neutral400: string;
|
|
1227
|
+
neutral500: string;
|
|
1208
1228
|
overlayShadow: string;
|
|
1209
1229
|
statusColorHigh: string;
|
|
1210
1230
|
statusColorHighStrong: string;
|
|
@@ -1218,6 +1238,15 @@ declare const splunkMagneticThemeCustomizer: (currentTheme: AnyTheme) => {
|
|
|
1218
1238
|
statusColorNormal: string;
|
|
1219
1239
|
statusColorNormalStrong: string;
|
|
1220
1240
|
statusColorNormalWeak: string;
|
|
1241
|
+
syntaxBlue: string;
|
|
1242
|
+
syntaxBrown: string;
|
|
1243
|
+
syntaxGray: string;
|
|
1244
|
+
syntaxGreen: string;
|
|
1245
|
+
syntaxOrange: string;
|
|
1246
|
+
syntaxPink: string;
|
|
1247
|
+
syntaxPurple: string;
|
|
1248
|
+
syntaxRed: string;
|
|
1249
|
+
syntaxTeal: string;
|
|
1221
1250
|
categorical1D1: string;
|
|
1222
1251
|
categorical1D2: string;
|
|
1223
1252
|
categorical1D3: string;
|
|
@@ -1288,22 +1317,7 @@ declare const splunkMagneticThemeCustomizer: (currentTheme: AnyTheme) => {
|
|
|
1288
1317
|
contentColorNegativeWeak: string;
|
|
1289
1318
|
contentColorPositive: string;
|
|
1290
1319
|
contentColorWarning: string;
|
|
1291
|
-
syntaxBlue: string;
|
|
1292
|
-
syntaxBrown: string;
|
|
1293
|
-
syntaxGray: string;
|
|
1294
|
-
syntaxGreen: string;
|
|
1295
|
-
syntaxOrange: string;
|
|
1296
|
-
syntaxPink: string;
|
|
1297
|
-
syntaxPurple: string;
|
|
1298
|
-
syntaxRed: string;
|
|
1299
|
-
syntaxTeal: string;
|
|
1300
1320
|
black: string;
|
|
1301
|
-
neutral50: string;
|
|
1302
|
-
neutral100: string;
|
|
1303
|
-
neutral200: string;
|
|
1304
|
-
neutral300: string;
|
|
1305
|
-
neutral400: string;
|
|
1306
|
-
neutral500: string;
|
|
1307
1321
|
white: string;
|
|
1308
1322
|
transparent: string;
|
|
1309
1323
|
backgroundColorFloating: string;
|
|
@@ -1647,6 +1661,13 @@ declare const splunkMagneticThemeCustomizer: (currentTheme: AnyTheme) => {
|
|
|
1647
1661
|
zindexToastMessages: number;
|
|
1648
1662
|
lineLength: string;
|
|
1649
1663
|
lineHeight: string;
|
|
1664
|
+
lineHeightSingle: string;
|
|
1665
|
+
lineHeightTight: string;
|
|
1666
|
+
lineHeightSnug: string;
|
|
1667
|
+
lineHeightComfortable: string;
|
|
1668
|
+
lineHeightRelaxed: string;
|
|
1669
|
+
lineHeightSpacious: string;
|
|
1670
|
+
lineHeightNormal: string;
|
|
1650
1671
|
fontSizeSmall: string;
|
|
1651
1672
|
fontSize: string;
|
|
1652
1673
|
fontSizeLarge: string;
|
|
@@ -1775,6 +1796,12 @@ declare const splunkMagneticThemeCustomizer: (currentTheme: AnyTheme) => {
|
|
|
1775
1796
|
interactiveColorBorderHover: string;
|
|
1776
1797
|
linkColor: string;
|
|
1777
1798
|
modalShadow: string;
|
|
1799
|
+
neutral50: string;
|
|
1800
|
+
neutral100: string;
|
|
1801
|
+
neutral200: string;
|
|
1802
|
+
neutral300: string;
|
|
1803
|
+
neutral400: string;
|
|
1804
|
+
neutral500: string;
|
|
1778
1805
|
overlayShadow: string;
|
|
1779
1806
|
statusColorHigh: string;
|
|
1780
1807
|
statusColorHighStrong: string;
|
|
@@ -1788,6 +1815,15 @@ declare const splunkMagneticThemeCustomizer: (currentTheme: AnyTheme) => {
|
|
|
1788
1815
|
statusColorNormal: string;
|
|
1789
1816
|
statusColorNormalStrong: string;
|
|
1790
1817
|
statusColorNormalWeak: string;
|
|
1818
|
+
syntaxBlue: string;
|
|
1819
|
+
syntaxBrown: string;
|
|
1820
|
+
syntaxGray: string;
|
|
1821
|
+
syntaxGreen: string;
|
|
1822
|
+
syntaxOrange: string;
|
|
1823
|
+
syntaxPink: string;
|
|
1824
|
+
syntaxPurple: string;
|
|
1825
|
+
syntaxRed: string;
|
|
1826
|
+
syntaxTeal: string;
|
|
1791
1827
|
categorical1D1: string;
|
|
1792
1828
|
categorical1D2: string;
|
|
1793
1829
|
categorical1D3: string;
|
|
@@ -1858,22 +1894,7 @@ declare const splunkMagneticThemeCustomizer: (currentTheme: AnyTheme) => {
|
|
|
1858
1894
|
contentColorNegativeWeak: string;
|
|
1859
1895
|
contentColorPositive: string;
|
|
1860
1896
|
contentColorWarning: string;
|
|
1861
|
-
syntaxBlue: string;
|
|
1862
|
-
syntaxBrown: string;
|
|
1863
|
-
syntaxGray: string;
|
|
1864
|
-
syntaxGreen: string;
|
|
1865
|
-
syntaxOrange: string;
|
|
1866
|
-
syntaxPink: string;
|
|
1867
|
-
syntaxPurple: string;
|
|
1868
|
-
syntaxRed: string;
|
|
1869
|
-
syntaxTeal: string;
|
|
1870
1897
|
black: string;
|
|
1871
|
-
neutral50: string;
|
|
1872
|
-
neutral100: string;
|
|
1873
|
-
neutral200: string;
|
|
1874
|
-
neutral300: string;
|
|
1875
|
-
neutral400: string;
|
|
1876
|
-
neutral500: string;
|
|
1877
1898
|
white: string;
|
|
1878
1899
|
transparent: string;
|
|
1879
1900
|
backgroundColorFloating: string;
|
|
@@ -2217,6 +2238,13 @@ declare const splunkMagneticThemeCustomizer: (currentTheme: AnyTheme) => {
|
|
|
2217
2238
|
zindexToastMessages: number;
|
|
2218
2239
|
lineLength: string;
|
|
2219
2240
|
lineHeight: string;
|
|
2241
|
+
lineHeightSingle: string;
|
|
2242
|
+
lineHeightTight: string;
|
|
2243
|
+
lineHeightSnug: string;
|
|
2244
|
+
lineHeightComfortable: string;
|
|
2245
|
+
lineHeightRelaxed: string;
|
|
2246
|
+
lineHeightSpacious: string;
|
|
2247
|
+
lineHeightNormal: string;
|
|
2220
2248
|
fontSizeSmall: string;
|
|
2221
2249
|
fontSize: string;
|
|
2222
2250
|
fontSizeLarge: string;
|
|
@@ -2345,6 +2373,12 @@ declare const splunkMagneticThemeCustomizer: (currentTheme: AnyTheme) => {
|
|
|
2345
2373
|
interactiveColorBorderHover: string;
|
|
2346
2374
|
linkColor: string;
|
|
2347
2375
|
modalShadow: string;
|
|
2376
|
+
neutral50: string;
|
|
2377
|
+
neutral100: string;
|
|
2378
|
+
neutral200: string;
|
|
2379
|
+
neutral300: string;
|
|
2380
|
+
neutral400: string;
|
|
2381
|
+
neutral500: string;
|
|
2348
2382
|
overlayShadow: string;
|
|
2349
2383
|
statusColorHigh: string;
|
|
2350
2384
|
statusColorHighStrong: string;
|
|
@@ -2358,6 +2392,15 @@ declare const splunkMagneticThemeCustomizer: (currentTheme: AnyTheme) => {
|
|
|
2358
2392
|
statusColorNormal: string;
|
|
2359
2393
|
statusColorNormalStrong: string;
|
|
2360
2394
|
statusColorNormalWeak: string;
|
|
2395
|
+
syntaxBlue: string;
|
|
2396
|
+
syntaxBrown: string;
|
|
2397
|
+
syntaxGray: string;
|
|
2398
|
+
syntaxGreen: string;
|
|
2399
|
+
syntaxOrange: string;
|
|
2400
|
+
syntaxPink: string;
|
|
2401
|
+
syntaxPurple: string;
|
|
2402
|
+
syntaxRed: string;
|
|
2403
|
+
syntaxTeal: string;
|
|
2361
2404
|
categorical1D1: string;
|
|
2362
2405
|
categorical1D2: string;
|
|
2363
2406
|
categorical1D3: string;
|
|
@@ -2576,6 +2619,13 @@ declare const splunkMagneticThemeCustomizer: (currentTheme: AnyTheme) => {
|
|
|
2576
2619
|
static20: string;
|
|
2577
2620
|
lineLength: string;
|
|
2578
2621
|
lineHeight: string;
|
|
2622
|
+
lineHeightSingle: string;
|
|
2623
|
+
lineHeightTight: string;
|
|
2624
|
+
lineHeightSnug: string;
|
|
2625
|
+
lineHeightComfortable: string;
|
|
2626
|
+
lineHeightRelaxed: string;
|
|
2627
|
+
lineHeightSpacious: string;
|
|
2628
|
+
lineHeightNormal: string;
|
|
2579
2629
|
fontSizeSmall: string;
|
|
2580
2630
|
fontSize: string;
|
|
2581
2631
|
fontSizeLarge: string;
|
|
@@ -2600,27 +2650,12 @@ declare const splunkMagneticThemeCustomizer: (currentTheme: AnyTheme) => {
|
|
|
2600
2650
|
statusColorCritical: string;
|
|
2601
2651
|
statusColorCriticalWeak: string;
|
|
2602
2652
|
statusColorCriticalStrong: string;
|
|
2603
|
-
syntaxBlue: string;
|
|
2604
|
-
syntaxBrown: string;
|
|
2605
|
-
syntaxGray: string;
|
|
2606
|
-
syntaxGreen: string;
|
|
2607
|
-
syntaxOrange: string;
|
|
2608
|
-
syntaxPink: string;
|
|
2609
|
-
syntaxPurple: string;
|
|
2610
|
-
syntaxRed: string;
|
|
2611
|
-
syntaxTeal: string;
|
|
2612
2653
|
interactiveColorBorderActive: string;
|
|
2613
2654
|
interactiveColorOverlaySelected: string;
|
|
2614
2655
|
interactiveColorOverlayHover: string;
|
|
2615
2656
|
interactiveColorOverlayActive: string;
|
|
2616
2657
|
interactiveColorOverlayDrag: string;
|
|
2617
2658
|
black: string;
|
|
2618
|
-
neutral50: string;
|
|
2619
|
-
neutral100: string;
|
|
2620
|
-
neutral200: string;
|
|
2621
|
-
neutral300: string;
|
|
2622
|
-
neutral400: string;
|
|
2623
|
-
neutral500: string;
|
|
2624
2659
|
white: string;
|
|
2625
2660
|
transparent: string;
|
|
2626
2661
|
contentColorLink: string;
|
|
@@ -2742,6 +2777,12 @@ declare const splunkMagneticThemeCustomizer: (currentTheme: AnyTheme) => {
|
|
|
2742
2777
|
interactiveColorBorderHover: string;
|
|
2743
2778
|
linkColor: string;
|
|
2744
2779
|
modalShadow: string;
|
|
2780
|
+
neutral50: string;
|
|
2781
|
+
neutral100: string;
|
|
2782
|
+
neutral200: string;
|
|
2783
|
+
neutral300: string;
|
|
2784
|
+
neutral400: string;
|
|
2785
|
+
neutral500: string;
|
|
2745
2786
|
overlayShadow: string;
|
|
2746
2787
|
statusColorHigh: string;
|
|
2747
2788
|
statusColorHighStrong: string;
|
|
@@ -2755,6 +2796,15 @@ declare const splunkMagneticThemeCustomizer: (currentTheme: AnyTheme) => {
|
|
|
2755
2796
|
statusColorNormal: string;
|
|
2756
2797
|
statusColorNormalStrong: string;
|
|
2757
2798
|
statusColorNormalWeak: string;
|
|
2799
|
+
syntaxBlue: string;
|
|
2800
|
+
syntaxBrown: string;
|
|
2801
|
+
syntaxGray: string;
|
|
2802
|
+
syntaxGreen: string;
|
|
2803
|
+
syntaxOrange: string;
|
|
2804
|
+
syntaxPink: string;
|
|
2805
|
+
syntaxPurple: string;
|
|
2806
|
+
syntaxRed: string;
|
|
2807
|
+
syntaxTeal: string;
|
|
2758
2808
|
categorical1D1: string;
|
|
2759
2809
|
categorical1D2: string;
|
|
2760
2810
|
categorical1D3: string;
|
|
@@ -2973,6 +3023,13 @@ declare const splunkMagneticThemeCustomizer: (currentTheme: AnyTheme) => {
|
|
|
2973
3023
|
static20: string;
|
|
2974
3024
|
lineLength: string;
|
|
2975
3025
|
lineHeight: string;
|
|
3026
|
+
lineHeightSingle: string;
|
|
3027
|
+
lineHeightTight: string;
|
|
3028
|
+
lineHeightSnug: string;
|
|
3029
|
+
lineHeightComfortable: string;
|
|
3030
|
+
lineHeightRelaxed: string;
|
|
3031
|
+
lineHeightSpacious: string;
|
|
3032
|
+
lineHeightNormal: string;
|
|
2976
3033
|
fontSizeSmall: string;
|
|
2977
3034
|
fontSize: string;
|
|
2978
3035
|
fontSizeLarge: string;
|
|
@@ -2997,27 +3054,12 @@ declare const splunkMagneticThemeCustomizer: (currentTheme: AnyTheme) => {
|
|
|
2997
3054
|
statusColorCritical: string;
|
|
2998
3055
|
statusColorCriticalWeak: string;
|
|
2999
3056
|
statusColorCriticalStrong: string;
|
|
3000
|
-
syntaxBlue: string;
|
|
3001
|
-
syntaxBrown: string;
|
|
3002
|
-
syntaxGray: string;
|
|
3003
|
-
syntaxGreen: string;
|
|
3004
|
-
syntaxOrange: string;
|
|
3005
|
-
syntaxPink: string;
|
|
3006
|
-
syntaxPurple: string;
|
|
3007
|
-
syntaxRed: string;
|
|
3008
|
-
syntaxTeal: string;
|
|
3009
3057
|
interactiveColorBorderActive: string;
|
|
3010
3058
|
interactiveColorOverlaySelected: string;
|
|
3011
3059
|
interactiveColorOverlayHover: string;
|
|
3012
3060
|
interactiveColorOverlayActive: string;
|
|
3013
3061
|
interactiveColorOverlayDrag: string;
|
|
3014
3062
|
black: string;
|
|
3015
|
-
neutral50: string;
|
|
3016
|
-
neutral100: string;
|
|
3017
|
-
neutral200: string;
|
|
3018
|
-
neutral300: string;
|
|
3019
|
-
neutral400: string;
|
|
3020
|
-
neutral500: string;
|
|
3021
3063
|
white: string;
|
|
3022
3064
|
transparent: string;
|
|
3023
3065
|
contentColorLink: string;
|