@splunk/themes 1.4.1 → 1.6.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 +19 -0
- package/design-tokens/colors.js +27 -25
- package/design-tokens/dataViz.js +33 -33
- package/design-tokens/deprecated.js +233 -39
- package/design-tokens/elevation.js +3 -4
- package/design-tokens/spacing-sizing.js +4 -2
- package/design-tokens/typography.js +14 -4
- package/enterprise/dark.js +3 -5
- package/enterprise/light.js +5 -6
- package/getTheme.js +3 -2
- package/mixins/prose.js +6 -6
- package/mixins/resets.js +2 -2
- package/package.json +5 -1
- package/prisma/base.js +3 -4
- package/prisma/light.js +2 -2
- package/splunk-magnetic/index.js +1 -1
- package/tokens.json +15153 -0
- package/types/design-tokens/colors.d.ts +41 -39
- package/types/design-tokens/dataViz.d.ts +1 -1
- package/types/design-tokens/deprecated.d.ts +452 -75
- package/types/design-tokens/elevation.d.ts +2 -4
- package/types/design-tokens/index.d.ts +2 -1
- package/types/design-tokens/spacing-sizing.d.ts +4 -2
- package/types/design-tokens/typography.d.ts +23 -4
- package/types/enterprise/dark.d.ts +2 -1
- package/types/enterprise/light.d.ts +2 -1
- package/types/mixins/prose.d.ts +4 -4
- package/types/prisma/base.d.ts +2 -1
- package/types/splunk-magnetic/index.d.ts +12 -6
|
@@ -10,319 +10,513 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
10
10
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
11
11
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
12
12
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
13
|
+
/*
|
|
14
|
+
@splunk/eslint-plugin-splunk-ui/design-token-deprecatedrule auto-fixes tokens
|
|
15
|
+
where the deprecation message is exactly "Use `replacementToken`".
|
|
16
|
+
*/
|
|
17
|
+
|
|
13
18
|
/**
|
|
14
19
|
* #### Deprecated tokens
|
|
15
20
|
*
|
|
16
|
-
* @
|
|
21
|
+
* @category color
|
|
22
|
+
* @previewType none
|
|
17
23
|
*/
|
|
18
24
|
var deprecated = {
|
|
25
|
+
/** @deprecated */
|
|
19
26
|
contentColorInfo: '',
|
|
27
|
+
/** @deprecated */
|
|
20
28
|
contentColorWarning: '',
|
|
29
|
+
/** @deprecated */
|
|
21
30
|
contentColorPositive: '',
|
|
31
|
+
/** @deprecated */
|
|
22
32
|
contentColorNegativeStrong: '',
|
|
23
33
|
/**
|
|
24
|
-
* Use a more specific token based on the semantic use case:
|
|
25
|
-
* [`interactiveColorAccent`](#interactiveColorAccent), [`contentColorAccent`](#contentColorAccent), or [`focusColor`](#focusColor).
|
|
34
|
+
* @deprecated Use a more specific token based on the semantic use case: [`interactiveColorAccent`](#interactiveColorAccent), [`contentColorAccent`](#contentColorAccent), or [`focusColor`](#focusColor).
|
|
26
35
|
*/
|
|
27
36
|
interactiveColorPrimary: '',
|
|
28
|
-
/**
|
|
29
|
-
* Use `statusColorNormal`, `accentColor`, or ...
|
|
30
|
-
*/
|
|
37
|
+
/** @deprecated Use `notificationColorPositive` */
|
|
31
38
|
accentColorPositive: '',
|
|
39
|
+
/** @deprecated Use `notificationColorCaution` */
|
|
32
40
|
accentColorWarning: '',
|
|
41
|
+
/** @deprecated Use `notificationColorCaution` */
|
|
33
42
|
accentColorAlert: '',
|
|
43
|
+
/** @deprecated Use `notificationColorNegative` */
|
|
34
44
|
accentColorNegative: '',
|
|
35
45
|
/**
|
|
36
|
-
* Use `contentColorDefault`
|
|
46
|
+
* @deprecated Use `contentColorDefault`
|
|
37
47
|
*/
|
|
38
48
|
textColor: '',
|
|
39
49
|
/**
|
|
40
|
-
* Use `contentColorMuted`
|
|
50
|
+
* @deprecated Use `contentColorMuted`
|
|
41
51
|
*/
|
|
42
52
|
textGray: '',
|
|
43
53
|
/**
|
|
44
|
-
* Use
|
|
54
|
+
* @deprecated Use `contentColorLink`
|
|
45
55
|
*/
|
|
46
56
|
linkColor: '',
|
|
47
57
|
/**
|
|
48
|
-
* `Link` hover interaction should use `text-decoration: underline`, color should not change
|
|
58
|
+
* @deprecated `Link` hover interaction should use `text-decoration: underline`, color should not change
|
|
49
59
|
*/
|
|
50
60
|
linkColorHover: '',
|
|
51
61
|
/**
|
|
52
|
-
* Use `borderColorWeak`
|
|
62
|
+
* @deprecated Use `borderColorWeak`
|
|
53
63
|
*/
|
|
54
64
|
borderLightColor: '',
|
|
55
65
|
/**
|
|
56
|
-
* Use `contentColorDisabled`
|
|
66
|
+
* @deprecated Use `contentColorDisabled`
|
|
57
67
|
*/
|
|
58
68
|
textDisabledColor: '',
|
|
59
69
|
/**
|
|
60
|
-
* Use `spacingXSmall`
|
|
70
|
+
* @deprecated Use `spacingXSmall`
|
|
71
|
+
* @category dimension
|
|
72
|
+
* @previewType spacing
|
|
61
73
|
*/
|
|
62
74
|
spacingQuarter: '',
|
|
63
75
|
/**
|
|
64
|
-
* Use `spacingSmall`
|
|
76
|
+
* @deprecated Use `spacingSmall`
|
|
77
|
+
* @category dimension
|
|
78
|
+
* @previewType spacing
|
|
65
79
|
*/
|
|
66
80
|
spacingHalf: '',
|
|
67
81
|
/**
|
|
68
|
-
* Use `spacingLarge`
|
|
82
|
+
* @deprecated Use `spacingLarge`
|
|
83
|
+
* @category dimension
|
|
84
|
+
* @previewType spacing
|
|
69
85
|
*/
|
|
70
86
|
spacing: '',
|
|
71
87
|
/**
|
|
72
|
-
* Use `backgroundColorPage`
|
|
88
|
+
* @deprecated Use `backgroundColorPage`
|
|
73
89
|
*/
|
|
74
90
|
backgroundColor: '',
|
|
75
91
|
/**
|
|
76
|
-
*
|
|
92
|
+
* @category border
|
|
93
|
+
* @deprecated Set border using CSS and [borderColor](#borderColor).
|
|
77
94
|
*/
|
|
78
95
|
border: '',
|
|
79
96
|
/**
|
|
80
|
-
*
|
|
97
|
+
* @category border
|
|
98
|
+
* @deprecated Set border using CSS and [borderColorStrong](#borderColorStrong).
|
|
81
99
|
*/
|
|
82
100
|
borderDark: '',
|
|
83
101
|
/**
|
|
84
|
-
*
|
|
102
|
+
* @category border
|
|
103
|
+
* @deprecated Set border using CSS and [borderColorWeak](#borderColorWeak).
|
|
85
104
|
*/
|
|
86
105
|
borderLight: '',
|
|
87
106
|
/**
|
|
88
|
-
* Use `interactiveColorBorderActive` for Data Entry components or `actionColorBorderSecondaryActive` for Buttons.
|
|
107
|
+
* @deprecated Use `interactiveColorBorderActive` for Data Entry components or `actionColorBorderSecondaryActive` for Buttons.
|
|
89
108
|
*/
|
|
90
109
|
borderActiveColor: '',
|
|
91
110
|
/**
|
|
92
|
-
* Use `interactiveColorOverlayHover` for Data Entry components or `actionColorBackgroundSecondaryHover` for Buttons.
|
|
111
|
+
* @deprecated Use `interactiveColorOverlayHover` for Data Entry components or `actionColorBackgroundSecondaryHover` for Buttons.
|
|
93
112
|
*/
|
|
94
113
|
backgroundColorHover: '',
|
|
95
114
|
/**
|
|
96
|
-
*
|
|
115
|
+
* @category shadow
|
|
116
|
+
* @deprecated Don't use hover shadows - see notes on backgroundColorHover for hover affordances.
|
|
97
117
|
*/
|
|
98
118
|
hoverShadow: '',
|
|
99
119
|
/**
|
|
100
|
-
*
|
|
120
|
+
* @deprecated Use `notificationColorInfo` or `severityColorInfo`
|
|
101
121
|
*/
|
|
102
122
|
statusColorInfo: '',
|
|
103
123
|
/**
|
|
104
|
-
*
|
|
124
|
+
* @deprecated Use `notificationColorInfoWeak`
|
|
105
125
|
*/
|
|
106
126
|
statusColorInfoWeak: '',
|
|
107
127
|
/**
|
|
108
|
-
*
|
|
128
|
+
* @deprecated Use `notificationColorInfoStrong`
|
|
109
129
|
*/
|
|
110
130
|
statusColorInfoStrong: '',
|
|
111
131
|
/**
|
|
112
|
-
* Use `notificationColorPositive` or `severityColorNormal`
|
|
132
|
+
* @deprecated Use `notificationColorPositive` or `severityColorNormal`
|
|
113
133
|
*/
|
|
114
134
|
statusColorNormal: '',
|
|
115
135
|
/**
|
|
116
|
-
* Use `notificationColorPositiveWeak`
|
|
136
|
+
* @deprecated Use `notificationColorPositiveWeak`
|
|
117
137
|
*/
|
|
118
138
|
statusColorNormalWeak: '',
|
|
119
139
|
/**
|
|
120
|
-
* Use `notificationColorPositiveStrong`
|
|
140
|
+
* @deprecated Use `notificationColorPositiveStrong`
|
|
121
141
|
*/
|
|
122
142
|
statusColorNormalStrong: '',
|
|
123
143
|
/**
|
|
124
|
-
* Use `notificationColorCaution` or `severityColorNotice`
|
|
144
|
+
* @deprecated Use `notificationColorCaution` or `severityColorNotice`
|
|
125
145
|
*/
|
|
126
146
|
statusColorLow: '',
|
|
127
147
|
/**
|
|
128
|
-
* Use `notificationColorCautionWeak`
|
|
148
|
+
* @deprecated Use `notificationColorCautionWeak`
|
|
129
149
|
*/
|
|
130
150
|
statusColorLowWeak: '',
|
|
131
151
|
/**
|
|
132
|
-
* Use `notificationColorCautionStrong`
|
|
152
|
+
* @deprecated Use `notificationColorCautionStrong`
|
|
133
153
|
*/
|
|
134
154
|
statusColorLowStrong: '',
|
|
135
155
|
/**
|
|
136
|
-
* Use `severityColorWarning`
|
|
156
|
+
* @deprecated Use `severityColorWarning`
|
|
137
157
|
*/
|
|
138
158
|
statusColorMedium: '',
|
|
159
|
+
/** @deprecated */
|
|
139
160
|
statusColorMediumWeak: '',
|
|
161
|
+
/** @deprecated */
|
|
140
162
|
statusColorMediumStrong: '',
|
|
141
163
|
/**
|
|
142
|
-
* Use `notificationColorNegative` or `severityColorAlert`
|
|
164
|
+
* @deprecated Use `notificationColorNegative` or `severityColorAlert`
|
|
143
165
|
*/
|
|
144
166
|
statusColorHigh: '',
|
|
145
167
|
/**
|
|
146
|
-
* Use `notificationColorNegativeWeak`
|
|
168
|
+
* @deprecated Use `notificationColorNegativeWeak`
|
|
147
169
|
*/
|
|
148
170
|
statusColorHighWeak: '',
|
|
149
171
|
/**
|
|
150
|
-
* Use `notificationColorNegativeStrong`
|
|
172
|
+
* @deprecated Use `notificationColorNegativeStrong`
|
|
151
173
|
*/
|
|
152
174
|
statusColorHighStrong: '',
|
|
153
175
|
/**
|
|
154
|
-
* Default color for critical alerts or urgent messages.
|
|
176
|
+
* @deprecated Default color for critical alerts or urgent messages.
|
|
155
177
|
*/
|
|
156
178
|
statusColorCritical: '',
|
|
157
179
|
/**
|
|
158
|
-
* Weaker, less prominent critical color, does not pass 3:1 graphical or 4.5:1 text contrast.
|
|
180
|
+
* @deprecated Weaker, less prominent critical color, does not pass 3:1 graphical or 4.5:1 text contrast.
|
|
159
181
|
*/
|
|
160
182
|
statusColorCriticalWeak: '',
|
|
161
183
|
/**
|
|
162
|
-
* Brighter, more prominent critical color.
|
|
184
|
+
* @deprecated Brighter, more prominent critical color.
|
|
163
185
|
*/
|
|
164
186
|
statusColorCriticalStrong: '',
|
|
187
|
+
/** @deprecated */
|
|
165
188
|
brandColorL50: '',
|
|
189
|
+
/** @deprecated */
|
|
166
190
|
brandColorL40: '',
|
|
191
|
+
/** @deprecated */
|
|
167
192
|
brandColorL30: '',
|
|
193
|
+
/** @deprecated */
|
|
168
194
|
brandColorL20: '',
|
|
195
|
+
/** @deprecated */
|
|
169
196
|
brandColorL10: '',
|
|
197
|
+
/** @deprecated */
|
|
170
198
|
brandColor: '',
|
|
199
|
+
/** @deprecated */
|
|
171
200
|
brandColorD10: '',
|
|
201
|
+
/** @deprecated */
|
|
172
202
|
brandColorD20: '',
|
|
203
|
+
/** @deprecated */
|
|
173
204
|
brandColorD30: '',
|
|
205
|
+
/** @deprecated */
|
|
174
206
|
brandColorD40: '',
|
|
207
|
+
/** @deprecated */
|
|
175
208
|
brandColorD50: '',
|
|
209
|
+
/** @deprecated */
|
|
176
210
|
gray98: '',
|
|
211
|
+
/** @deprecated */
|
|
177
212
|
gray96: '',
|
|
213
|
+
/** @deprecated */
|
|
178
214
|
gray92: '',
|
|
215
|
+
/** @deprecated */
|
|
179
216
|
gray80: '',
|
|
217
|
+
/** @deprecated */
|
|
180
218
|
gray60: '',
|
|
219
|
+
/** @deprecated */
|
|
181
220
|
gray45: '',
|
|
221
|
+
/** @deprecated */
|
|
182
222
|
gray30: '',
|
|
223
|
+
/** @deprecated */
|
|
183
224
|
gray25: '',
|
|
225
|
+
/** @deprecated */
|
|
184
226
|
gray22: '',
|
|
227
|
+
/** @deprecated */
|
|
185
228
|
gray20: '',
|
|
229
|
+
/** @deprecated */
|
|
186
230
|
accentColorL50: '',
|
|
231
|
+
/** @deprecated */
|
|
187
232
|
accentColorL40: '',
|
|
233
|
+
/** @deprecated */
|
|
188
234
|
accentColorL30: '',
|
|
235
|
+
/** @deprecated */
|
|
189
236
|
accentColorL20: '',
|
|
237
|
+
/** @deprecated */
|
|
190
238
|
accentColorL10: '',
|
|
239
|
+
/** @deprecated */
|
|
191
240
|
accentColor: '',
|
|
241
|
+
/** @deprecated */
|
|
192
242
|
accentColorD10: '',
|
|
243
|
+
/** @deprecated */
|
|
193
244
|
accentColorD20: '',
|
|
245
|
+
/** @deprecated */
|
|
194
246
|
accentColorD30: '',
|
|
247
|
+
/** @deprecated */
|
|
195
248
|
accentColorD40: '',
|
|
249
|
+
/** @deprecated */
|
|
196
250
|
accentColorD50: '',
|
|
251
|
+
/** @deprecated */
|
|
197
252
|
errorColorL50: '',
|
|
253
|
+
/** @deprecated */
|
|
198
254
|
errorColorL40: '',
|
|
255
|
+
/** @deprecated */
|
|
199
256
|
errorColorL30: '',
|
|
257
|
+
/** @deprecated */
|
|
200
258
|
errorColorL20: '',
|
|
259
|
+
/** @deprecated */
|
|
201
260
|
errorColorL10: '',
|
|
261
|
+
/**
|
|
262
|
+
* @deprecated Use `notificationColorNegative` or `severityColorAlert`
|
|
263
|
+
*/
|
|
202
264
|
errorColor: '',
|
|
265
|
+
/** @deprecated */
|
|
203
266
|
errorColorD10: '',
|
|
267
|
+
/** @deprecated */
|
|
204
268
|
errorColorD20: '',
|
|
269
|
+
/** @deprecated */
|
|
205
270
|
errorColorD30: '',
|
|
271
|
+
/** @deprecated */
|
|
206
272
|
errorColorD40: '',
|
|
273
|
+
/** @deprecated */
|
|
207
274
|
errorColorD50: '',
|
|
275
|
+
/** @deprecated */
|
|
208
276
|
alertColorL50: '',
|
|
277
|
+
/** @deprecated */
|
|
209
278
|
alertColorL40: '',
|
|
279
|
+
/** @deprecated */
|
|
210
280
|
alertColorL30: '',
|
|
281
|
+
/** @deprecated */
|
|
211
282
|
alertColorL20: '',
|
|
283
|
+
/** @deprecated */
|
|
212
284
|
alertColorL10: '',
|
|
285
|
+
/** @deprecated */
|
|
213
286
|
alertColor: '',
|
|
287
|
+
/** @deprecated */
|
|
214
288
|
alertColorD10: '',
|
|
289
|
+
/** @deprecated */
|
|
215
290
|
alertColorD20: '',
|
|
291
|
+
/** @deprecated */
|
|
216
292
|
alertColorD30: '',
|
|
293
|
+
/** @deprecated */
|
|
217
294
|
alertColorD40: '',
|
|
295
|
+
/** @deprecated */
|
|
218
296
|
alertColorD50: '',
|
|
297
|
+
/** @deprecated */
|
|
219
298
|
warningColorL50: '',
|
|
299
|
+
/** @deprecated */
|
|
220
300
|
warningColorL40: '',
|
|
301
|
+
/** @deprecated */
|
|
221
302
|
warningColorL30: '',
|
|
303
|
+
/** @deprecated */
|
|
222
304
|
warningColorL20: '',
|
|
305
|
+
/** @deprecated */
|
|
223
306
|
warningColorL10: '',
|
|
307
|
+
/**
|
|
308
|
+
* @deprecated Use `notificationColorCaution` or `severityColorNotice`
|
|
309
|
+
*/
|
|
224
310
|
warningColor: '',
|
|
311
|
+
/** @deprecated */
|
|
225
312
|
warningColorD10: '',
|
|
313
|
+
/** @deprecated */
|
|
226
314
|
warningColorD20: '',
|
|
315
|
+
/** @deprecated */
|
|
227
316
|
warningColorD30: '',
|
|
317
|
+
/** @deprecated */
|
|
228
318
|
warningColorD40: '',
|
|
319
|
+
/** @deprecated */
|
|
229
320
|
warningColorD50: '',
|
|
321
|
+
/** @deprecated */
|
|
230
322
|
successColorL50: '',
|
|
323
|
+
/** @deprecated */
|
|
231
324
|
successColorL40: '',
|
|
325
|
+
/** @deprecated */
|
|
232
326
|
successColorL30: '',
|
|
327
|
+
/** @deprecated */
|
|
233
328
|
successColorL20: '',
|
|
329
|
+
/** @deprecated */
|
|
234
330
|
successColorL10: '',
|
|
331
|
+
/**
|
|
332
|
+
* @deprecated Use `notificationColorPositive` or `severityColorNormal`
|
|
333
|
+
*/
|
|
235
334
|
successColor: '',
|
|
335
|
+
/** @deprecated */
|
|
236
336
|
successColorD10: '',
|
|
337
|
+
/** @deprecated */
|
|
237
338
|
successColorD20: '',
|
|
339
|
+
/** @deprecated */
|
|
238
340
|
successColorD30: '',
|
|
341
|
+
/** @deprecated */
|
|
239
342
|
successColorD40: '',
|
|
343
|
+
/** @deprecated */
|
|
240
344
|
successColorD50: '',
|
|
345
|
+
/** @deprecated */
|
|
241
346
|
infoColorL50: '',
|
|
347
|
+
/** @deprecated */
|
|
242
348
|
infoColorL40: '',
|
|
349
|
+
/** @deprecated */
|
|
243
350
|
infoColorL30: '',
|
|
351
|
+
/** @deprecated */
|
|
244
352
|
infoColorL20: '',
|
|
353
|
+
/** @deprecated */
|
|
245
354
|
infoColorL10: '',
|
|
355
|
+
/** @deprecated */
|
|
246
356
|
infoColor: '',
|
|
357
|
+
/** @deprecated */
|
|
247
358
|
infoColorD10: '',
|
|
359
|
+
/** @deprecated */
|
|
248
360
|
infoColorD20: '',
|
|
361
|
+
/** @deprecated */
|
|
249
362
|
infoColorD30: '',
|
|
363
|
+
/** @deprecated */
|
|
250
364
|
infoColorD40: '',
|
|
365
|
+
/** @deprecated */
|
|
251
366
|
infoColorD50: '',
|
|
367
|
+
/** @deprecated */
|
|
252
368
|
diverging1ColorA: '',
|
|
369
|
+
/** @deprecated */
|
|
253
370
|
diverging1ColorB: '',
|
|
371
|
+
/** @deprecated */
|
|
254
372
|
diverging2ColorA: '',
|
|
373
|
+
/** @deprecated */
|
|
255
374
|
diverging2ColorB: '',
|
|
375
|
+
/** @deprecated */
|
|
256
376
|
diverging3ColorA: '',
|
|
377
|
+
/** @deprecated */
|
|
257
378
|
diverging3ColorB: '',
|
|
379
|
+
/** @deprecated */
|
|
258
380
|
diverging4ColorA: '',
|
|
381
|
+
/** @deprecated */
|
|
259
382
|
diverging4ColorB: '',
|
|
383
|
+
/** @deprecated */
|
|
260
384
|
diverging5ColorA: '',
|
|
385
|
+
/** @deprecated */
|
|
261
386
|
diverging5ColorB: '',
|
|
387
|
+
/** @deprecated */
|
|
262
388
|
cat1Color: '',
|
|
389
|
+
/** @deprecated */
|
|
263
390
|
cat1ColorL: '',
|
|
391
|
+
/** @deprecated */
|
|
264
392
|
cat2Color: '',
|
|
393
|
+
/** @deprecated */
|
|
265
394
|
cat2ColorL: '',
|
|
395
|
+
/** @deprecated */
|
|
266
396
|
cat3Color: '',
|
|
397
|
+
/** @deprecated */
|
|
267
398
|
cat3ColorL: '',
|
|
399
|
+
/** @deprecated */
|
|
268
400
|
cat4Color: '',
|
|
401
|
+
/** @deprecated */
|
|
269
402
|
cat4ColorL: '',
|
|
403
|
+
/** @deprecated */
|
|
270
404
|
cat5Color: '',
|
|
405
|
+
/** @deprecated */
|
|
271
406
|
cat5ColorL: '',
|
|
407
|
+
/** @deprecated */
|
|
272
408
|
cat6Color: '',
|
|
409
|
+
/** @deprecated */
|
|
273
410
|
cat6ColorL: '',
|
|
411
|
+
/** @deprecated */
|
|
274
412
|
cat7Color: '',
|
|
413
|
+
/** @deprecated */
|
|
275
414
|
cat7ColorL: '',
|
|
415
|
+
/** @deprecated */
|
|
276
416
|
cat8Color: '',
|
|
417
|
+
/** @deprecated */
|
|
277
418
|
cat8ColorL: '',
|
|
419
|
+
/** @deprecated */
|
|
278
420
|
cat9Color: '',
|
|
421
|
+
/** @deprecated */
|
|
279
422
|
cat9ColorL: '',
|
|
423
|
+
/** @deprecated */
|
|
280
424
|
cat10Color: '',
|
|
425
|
+
/** @deprecated */
|
|
281
426
|
cat10ColorL: '',
|
|
427
|
+
/** @deprecated */
|
|
282
428
|
cat11Color: '',
|
|
429
|
+
/** @deprecated */
|
|
283
430
|
cat11ColorL: '',
|
|
431
|
+
/** @deprecated */
|
|
284
432
|
cat12Color: '',
|
|
433
|
+
/** @deprecated */
|
|
285
434
|
cat12ColorL: '',
|
|
435
|
+
/** @deprecated */
|
|
286
436
|
cat13Color: '',
|
|
437
|
+
/** @deprecated */
|
|
287
438
|
cat13ColorL: '',
|
|
439
|
+
/** @deprecated */
|
|
288
440
|
cat14Color: '',
|
|
441
|
+
/** @deprecated */
|
|
289
442
|
cat14ColorL: '',
|
|
443
|
+
/** @deprecated */
|
|
290
444
|
cat15Color: '',
|
|
445
|
+
/** @deprecated */
|
|
291
446
|
cat15ColorL: '',
|
|
447
|
+
/** @deprecated */
|
|
292
448
|
cat16Color: '',
|
|
449
|
+
/** @deprecated */
|
|
293
450
|
cat16ColorL: '',
|
|
451
|
+
/** @deprecated */
|
|
294
452
|
cat17Color: '',
|
|
453
|
+
/** @deprecated */
|
|
295
454
|
cat17ColorL: '',
|
|
455
|
+
/** @deprecated */
|
|
296
456
|
cat18Color: '',
|
|
457
|
+
/** @deprecated */
|
|
297
458
|
cat18ColorL: '',
|
|
459
|
+
/** @deprecated */
|
|
298
460
|
cat19Color: '',
|
|
461
|
+
/** @deprecated */
|
|
299
462
|
cat19ColorL: '',
|
|
463
|
+
/** @deprecated */
|
|
300
464
|
cat20Color: '',
|
|
465
|
+
/** @deprecated */
|
|
301
466
|
cat20ColorL: '',
|
|
467
|
+
/** @deprecated */
|
|
302
468
|
cat21Color: '',
|
|
469
|
+
/** @deprecated */
|
|
303
470
|
cat21ColorL: '',
|
|
471
|
+
/** @deprecated */
|
|
304
472
|
cat22Color: '',
|
|
473
|
+
/** @deprecated */
|
|
305
474
|
cat22ColorL: '',
|
|
475
|
+
/** @deprecated */
|
|
306
476
|
cat23Color: '',
|
|
477
|
+
/** @deprecated */
|
|
307
478
|
cat23ColorL: '',
|
|
479
|
+
/** @deprecated */
|
|
308
480
|
cat24Color: '',
|
|
481
|
+
/** @deprecated */
|
|
309
482
|
cat24ColorL: '',
|
|
483
|
+
/** @deprecated */
|
|
310
484
|
cat25Color: '',
|
|
485
|
+
/** @deprecated */
|
|
311
486
|
cat25ColorL: '',
|
|
487
|
+
/** @deprecated */
|
|
312
488
|
cat26Color: '',
|
|
489
|
+
/** @deprecated */
|
|
313
490
|
cat26ColorL: '',
|
|
491
|
+
/** @deprecated */
|
|
314
492
|
cat27Color: '',
|
|
493
|
+
/** @deprecated */
|
|
315
494
|
cat27ColorL: '',
|
|
495
|
+
/** @deprecated */
|
|
316
496
|
cat28Color: '',
|
|
497
|
+
/** @deprecated */
|
|
317
498
|
cat28ColorL: '',
|
|
499
|
+
/** @deprecated */
|
|
318
500
|
cat29Color: '',
|
|
501
|
+
/** @deprecated */
|
|
319
502
|
cat29ColorL: '',
|
|
503
|
+
/** @deprecated */
|
|
320
504
|
cat30Color: '',
|
|
505
|
+
/** @deprecated */
|
|
321
506
|
cat30ColorL: '',
|
|
507
|
+
/** @deprecated */
|
|
322
508
|
syntaxBlueLight: '',
|
|
509
|
+
/** @deprecated */
|
|
323
510
|
syntaxGreenLight: '',
|
|
511
|
+
/** @deprecated */
|
|
324
512
|
syntaxPurpleLight: '',
|
|
325
|
-
|
|
513
|
+
/** @deprecated */
|
|
514
|
+
syntaxRedLight: '',
|
|
515
|
+
/**
|
|
516
|
+
* @deprecated
|
|
517
|
+
* @category gradient
|
|
518
|
+
*/
|
|
519
|
+
draggableBackground: ''
|
|
326
520
|
};
|
|
327
521
|
var _default = _objectSpread({}, deprecated);
|
|
328
522
|
exports["default"] = _default;
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
15
15
|
* Used to position elements in the z-axis.
|
|
16
16
|
* If a variable does not suit your purpose, set a value relatively, such as `zindexModal +1`.
|
|
17
17
|
*
|
|
18
|
-
* @
|
|
18
|
+
* @category number
|
|
19
19
|
*/
|
|
20
20
|
var zIndexes = {
|
|
21
21
|
zindexLayer: 1000,
|
|
@@ -29,7 +29,7 @@ var zIndexes = {
|
|
|
29
29
|
/**
|
|
30
30
|
* #### Shadows
|
|
31
31
|
*
|
|
32
|
-
* @
|
|
32
|
+
* @category shadow
|
|
33
33
|
*/
|
|
34
34
|
var elevationShadows = {
|
|
35
35
|
embossShadow: ' ',
|
|
@@ -37,8 +37,7 @@ var elevationShadows = {
|
|
|
37
37
|
dragShadow: '',
|
|
38
38
|
modalShadow: '',
|
|
39
39
|
focusShadow: '',
|
|
40
|
-
focusShadowInset: ''
|
|
41
|
-
draggableBackground: ''
|
|
40
|
+
focusShadowInset: ''
|
|
42
41
|
};
|
|
43
42
|
var elevation = _objectSpread(_objectSpread({}, zIndexes), elevationShadows);
|
|
44
43
|
var _default = elevation;
|
|
@@ -18,7 +18,8 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
18
18
|
* Just because a spacing token is equal to a pixel value you may need, it does not mean it's appropriate to
|
|
19
19
|
* use the spacing variables.
|
|
20
20
|
*
|
|
21
|
-
* @
|
|
21
|
+
* @category dimension
|
|
22
|
+
* @previewType spacing
|
|
22
23
|
*/
|
|
23
24
|
var spacing = {
|
|
24
25
|
spacingXSmall: '4px',
|
|
@@ -33,7 +34,8 @@ var spacing = {
|
|
|
33
34
|
/**
|
|
34
35
|
* #### Measures
|
|
35
36
|
*
|
|
36
|
-
* @
|
|
37
|
+
* @category dimension
|
|
38
|
+
* @previewType spacing
|
|
37
39
|
*/
|
|
38
40
|
var measures = {
|
|
39
41
|
borderRadius: '',
|
|
@@ -13,7 +13,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
13
13
|
/**
|
|
14
14
|
* #### Font family
|
|
15
15
|
*
|
|
16
|
-
* @
|
|
16
|
+
* @category fontFamily
|
|
17
17
|
*/
|
|
18
18
|
var fontFamily = {
|
|
19
19
|
fontFamily: '',
|
|
@@ -29,7 +29,7 @@ var fontFamily = {
|
|
|
29
29
|
/**
|
|
30
30
|
* #### Font weight
|
|
31
31
|
*
|
|
32
|
-
* @
|
|
32
|
+
* @category fontWeight
|
|
33
33
|
*/
|
|
34
34
|
var fontWeight = {
|
|
35
35
|
fontWeightLight: 300,
|
|
@@ -43,7 +43,8 @@ var fontWeight = {
|
|
|
43
43
|
/**
|
|
44
44
|
* #### Font size
|
|
45
45
|
*
|
|
46
|
-
* @
|
|
46
|
+
* @category dimension
|
|
47
|
+
* @previewType font
|
|
47
48
|
*/
|
|
48
49
|
var fontSize = {
|
|
49
50
|
fontSizeSmall: '',
|
|
@@ -56,14 +57,23 @@ var fontSize = {
|
|
|
56
57
|
/**
|
|
57
58
|
* #### Font measures
|
|
58
59
|
*
|
|
59
|
-
* @
|
|
60
|
+
* @category number
|
|
60
61
|
*/
|
|
61
62
|
var fontMeasures = {
|
|
62
63
|
/**
|
|
63
64
|
* Use to improve readability and [accessibility](https://www.w3.org/WAI/WCAG21/Understanding/visual-presentation.html)
|
|
64
65
|
* in blocks of text by preventing overly long lines.
|
|
66
|
+
*
|
|
67
|
+
* @category dimension
|
|
68
|
+
* @previewType none
|
|
65
69
|
*/
|
|
66
70
|
lineLength: '',
|
|
71
|
+
/**
|
|
72
|
+
* Minimum line length for optimal readability.
|
|
73
|
+
* @category dimension
|
|
74
|
+
* @previewType none
|
|
75
|
+
*/
|
|
76
|
+
lineLengthMinimum: '',
|
|
67
77
|
/**
|
|
68
78
|
* Default line height.
|
|
69
79
|
*/
|
package/enterprise/dark.js
CHANGED
|
@@ -151,9 +151,6 @@ var backgroundColors = {
|
|
|
151
151
|
backgroundColorSection: '#1E2427',
|
|
152
152
|
backgroundColorSidebar: _light["default"].black
|
|
153
153
|
};
|
|
154
|
-
var backgrounds = {
|
|
155
|
-
draggableBackground: "url('data:image/png;base64,".concat(dragHandleDark, "') 0 0 / 8px 8px repeat")
|
|
156
|
-
};
|
|
157
154
|
var shadows = {
|
|
158
155
|
focusShadow: "0 0 0 2px ".concat(backgroundColors.backgroundColorPage, ", 0 0 0 5px ").concat(_light["default"].focusColor),
|
|
159
156
|
focusShadowInset: "inset 0 0 0 3px ".concat(_light["default"].focusColor),
|
|
@@ -206,8 +203,9 @@ var deprecated = {
|
|
|
206
203
|
statusColorHighStrong: _light["default"].errorColorL10,
|
|
207
204
|
statusColorCritical: _light["default"].errorColorD10,
|
|
208
205
|
statusColorCriticalWeak: _light["default"].errorColorD20,
|
|
209
|
-
statusColorCriticalStrong: _light["default"].errorColor
|
|
206
|
+
statusColorCriticalStrong: _light["default"].errorColor,
|
|
207
|
+
draggableBackground: "url('data:image/png;base64,".concat(dragHandleDark, "') 0 0 / 8px 8px repeat")
|
|
210
208
|
};
|
|
211
|
-
var theme = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(
|
|
209
|
+
var theme = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, _light["default"]), dark), actionColors), notificationColors), severityColors), backgroundColors), neutralColors), syntaxColors), contentColors), shadows), interactiveColors), deprecated);
|
|
212
210
|
var _default = theme;
|
|
213
211
|
exports["default"] = _default;
|