@splunk/themes 1.4.0 → 1.5.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 +14 -0
- package/design-tokens/colors.js +26 -24
- package/design-tokens/dataViz.js +33 -33
- package/design-tokens/deprecated.js +227 -37
- 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 +4 -6
- package/enterprise/light.js +4 -5
- package/getTheme.js +3 -2
- package/mixins/prose.js +6 -6
- 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 +14260 -0
- package/types/design-tokens/colors.d.ts +40 -38
- package/types/design-tokens/dataViz.d.ts +1 -1
- package/types/design-tokens/deprecated.d.ts +440 -71
- 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,509 @@ 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
37
|
/**
|
|
29
|
-
* Use `statusColorNormal`, `accentColor`, or ...
|
|
38
|
+
* @deprecated Use `statusColorNormal`, `accentColor`, or ...
|
|
30
39
|
*/
|
|
31
40
|
accentColorPositive: '',
|
|
41
|
+
/** @deprecated */
|
|
32
42
|
accentColorWarning: '',
|
|
43
|
+
/** @deprecated */
|
|
33
44
|
accentColorAlert: '',
|
|
45
|
+
/** @deprecated */
|
|
34
46
|
accentColorNegative: '',
|
|
35
47
|
/**
|
|
36
|
-
* Use `contentColorDefault`
|
|
48
|
+
* @deprecated Use `contentColorDefault`
|
|
37
49
|
*/
|
|
38
50
|
textColor: '',
|
|
39
51
|
/**
|
|
40
|
-
* Use `contentColorMuted`
|
|
52
|
+
* @deprecated Use `contentColorMuted`
|
|
41
53
|
*/
|
|
42
54
|
textGray: '',
|
|
43
55
|
/**
|
|
44
|
-
* Use [`contentColorLink`](#contentColorLink) instead.
|
|
56
|
+
* @deprecated Use [`contentColorLink`](#contentColorLink) instead.
|
|
45
57
|
*/
|
|
46
58
|
linkColor: '',
|
|
47
59
|
/**
|
|
48
|
-
* `Link` hover interaction should use `text-decoration: underline`, color should not change
|
|
60
|
+
* @deprecated `Link` hover interaction should use `text-decoration: underline`, color should not change
|
|
49
61
|
*/
|
|
50
62
|
linkColorHover: '',
|
|
51
63
|
/**
|
|
52
|
-
* Use `borderColorWeak`
|
|
64
|
+
* @deprecated Use `borderColorWeak`
|
|
53
65
|
*/
|
|
54
66
|
borderLightColor: '',
|
|
55
67
|
/**
|
|
56
|
-
* Use `contentColorDisabled`
|
|
68
|
+
* @deprecated Use `contentColorDisabled`
|
|
57
69
|
*/
|
|
58
70
|
textDisabledColor: '',
|
|
59
71
|
/**
|
|
60
|
-
* Use `spacingXSmall`
|
|
72
|
+
* @deprecated Use `spacingXSmall`
|
|
73
|
+
* @category dimension
|
|
74
|
+
* @previewType spacing
|
|
61
75
|
*/
|
|
62
76
|
spacingQuarter: '',
|
|
63
77
|
/**
|
|
64
|
-
* Use `spacingSmall`
|
|
78
|
+
* @deprecated Use `spacingSmall`
|
|
79
|
+
* @category dimension
|
|
80
|
+
* @previewType spacing
|
|
65
81
|
*/
|
|
66
82
|
spacingHalf: '',
|
|
67
83
|
/**
|
|
68
|
-
* Use `spacingLarge`
|
|
84
|
+
* @deprecated Use `spacingLarge`
|
|
85
|
+
* @category dimension
|
|
86
|
+
* @previewType spacing
|
|
69
87
|
*/
|
|
70
88
|
spacing: '',
|
|
71
89
|
/**
|
|
72
|
-
* Use `backgroundColorPage`
|
|
90
|
+
* @deprecated Use `backgroundColorPage`
|
|
73
91
|
*/
|
|
74
92
|
backgroundColor: '',
|
|
75
93
|
/**
|
|
76
|
-
*
|
|
94
|
+
* @category border
|
|
95
|
+
* @deprecated Set border using CSS and [borderColor](#borderColor).
|
|
77
96
|
*/
|
|
78
97
|
border: '',
|
|
79
98
|
/**
|
|
80
|
-
*
|
|
99
|
+
* @category border
|
|
100
|
+
* @deprecated Set border using CSS and [borderColorStrong](#borderColorStrong).
|
|
81
101
|
*/
|
|
82
102
|
borderDark: '',
|
|
83
103
|
/**
|
|
84
|
-
*
|
|
104
|
+
* @category border
|
|
105
|
+
* @deprecated Set border using CSS and [borderColorWeak](#borderColorWeak).
|
|
85
106
|
*/
|
|
86
107
|
borderLight: '',
|
|
87
108
|
/**
|
|
88
|
-
* Use `interactiveColorBorderActive` for Data Entry components or `actionColorBorderSecondaryActive` for Buttons.
|
|
109
|
+
* @deprecated Use `interactiveColorBorderActive` for Data Entry components or `actionColorBorderSecondaryActive` for Buttons.
|
|
89
110
|
*/
|
|
90
111
|
borderActiveColor: '',
|
|
91
112
|
/**
|
|
92
|
-
* Use `interactiveColorOverlayHover` for Data Entry components or `actionColorBackgroundSecondaryHover` for Buttons.
|
|
113
|
+
* @deprecated Use `interactiveColorOverlayHover` for Data Entry components or `actionColorBackgroundSecondaryHover` for Buttons.
|
|
93
114
|
*/
|
|
94
115
|
backgroundColorHover: '',
|
|
95
116
|
/**
|
|
96
|
-
*
|
|
117
|
+
* @category shadow
|
|
118
|
+
* @deprecated Don't use hover shadows - see notes on backgroundColorHover for hover affordances.
|
|
97
119
|
*/
|
|
98
120
|
hoverShadow: '',
|
|
99
121
|
/**
|
|
100
|
-
*
|
|
122
|
+
* @deprecated Use `notificationColorInfo` or `severityColorInfo`
|
|
101
123
|
*/
|
|
102
124
|
statusColorInfo: '',
|
|
103
125
|
/**
|
|
104
|
-
*
|
|
126
|
+
* @deprecated Use `notificationColorInfoWeak`
|
|
105
127
|
*/
|
|
106
128
|
statusColorInfoWeak: '',
|
|
107
129
|
/**
|
|
108
|
-
*
|
|
130
|
+
* @deprecated Use `notificationColorInfoStrong`
|
|
109
131
|
*/
|
|
110
132
|
statusColorInfoStrong: '',
|
|
111
133
|
/**
|
|
112
|
-
* Use `notificationColorPositive` or `severityColorNormal`
|
|
134
|
+
* @deprecated Use `notificationColorPositive` or `severityColorNormal`
|
|
113
135
|
*/
|
|
114
136
|
statusColorNormal: '',
|
|
115
137
|
/**
|
|
116
|
-
* Use `notificationColorPositiveWeak`
|
|
138
|
+
* @deprecated Use `notificationColorPositiveWeak`
|
|
117
139
|
*/
|
|
118
140
|
statusColorNormalWeak: '',
|
|
119
141
|
/**
|
|
120
|
-
* Use `notificationColorPositiveStrong`
|
|
142
|
+
* @deprecated Use `notificationColorPositiveStrong`
|
|
121
143
|
*/
|
|
122
144
|
statusColorNormalStrong: '',
|
|
123
145
|
/**
|
|
124
|
-
* Use `notificationColorCaution` or `severityColorNotice`
|
|
146
|
+
* @deprecated Use `notificationColorCaution` or `severityColorNotice`
|
|
125
147
|
*/
|
|
126
148
|
statusColorLow: '',
|
|
127
149
|
/**
|
|
128
|
-
* Use `notificationColorCautionWeak`
|
|
150
|
+
* @deprecated Use `notificationColorCautionWeak`
|
|
129
151
|
*/
|
|
130
152
|
statusColorLowWeak: '',
|
|
131
153
|
/**
|
|
132
|
-
* Use `notificationColorCautionStrong`
|
|
154
|
+
* @deprecated Use `notificationColorCautionStrong`
|
|
133
155
|
*/
|
|
134
156
|
statusColorLowStrong: '',
|
|
135
157
|
/**
|
|
136
|
-
* Use `severityColorWarning`
|
|
158
|
+
* @deprecated Use `severityColorWarning`
|
|
137
159
|
*/
|
|
138
160
|
statusColorMedium: '',
|
|
161
|
+
/** @deprecated */
|
|
139
162
|
statusColorMediumWeak: '',
|
|
163
|
+
/** @deprecated */
|
|
140
164
|
statusColorMediumStrong: '',
|
|
141
165
|
/**
|
|
142
|
-
* Use `notificationColorNegative` or `severityColorAlert`
|
|
166
|
+
* @deprecated Use `notificationColorNegative` or `severityColorAlert`
|
|
143
167
|
*/
|
|
144
168
|
statusColorHigh: '',
|
|
145
169
|
/**
|
|
146
|
-
* Use `notificationColorNegativeWeak`
|
|
170
|
+
* @deprecated Use `notificationColorNegativeWeak`
|
|
147
171
|
*/
|
|
148
172
|
statusColorHighWeak: '',
|
|
149
173
|
/**
|
|
150
|
-
* Use `notificationColorNegativeStrong`
|
|
174
|
+
* @deprecated Use `notificationColorNegativeStrong`
|
|
151
175
|
*/
|
|
152
176
|
statusColorHighStrong: '',
|
|
153
177
|
/**
|
|
154
|
-
* Default color for critical alerts or urgent messages.
|
|
178
|
+
* @deprecated Default color for critical alerts or urgent messages.
|
|
155
179
|
*/
|
|
156
180
|
statusColorCritical: '',
|
|
157
181
|
/**
|
|
158
|
-
* Weaker, less prominent critical color, does not pass 3:1 graphical or 4.5:1 text contrast.
|
|
182
|
+
* @deprecated Weaker, less prominent critical color, does not pass 3:1 graphical or 4.5:1 text contrast.
|
|
159
183
|
*/
|
|
160
184
|
statusColorCriticalWeak: '',
|
|
161
185
|
/**
|
|
162
|
-
* Brighter, more prominent critical color.
|
|
186
|
+
* @deprecated Brighter, more prominent critical color.
|
|
163
187
|
*/
|
|
164
188
|
statusColorCriticalStrong: '',
|
|
189
|
+
/** @deprecated */
|
|
165
190
|
brandColorL50: '',
|
|
191
|
+
/** @deprecated */
|
|
166
192
|
brandColorL40: '',
|
|
193
|
+
/** @deprecated */
|
|
167
194
|
brandColorL30: '',
|
|
195
|
+
/** @deprecated */
|
|
168
196
|
brandColorL20: '',
|
|
197
|
+
/** @deprecated */
|
|
169
198
|
brandColorL10: '',
|
|
199
|
+
/** @deprecated */
|
|
170
200
|
brandColor: '',
|
|
201
|
+
/** @deprecated */
|
|
171
202
|
brandColorD10: '',
|
|
203
|
+
/** @deprecated */
|
|
172
204
|
brandColorD20: '',
|
|
205
|
+
/** @deprecated */
|
|
173
206
|
brandColorD30: '',
|
|
207
|
+
/** @deprecated */
|
|
174
208
|
brandColorD40: '',
|
|
209
|
+
/** @deprecated */
|
|
175
210
|
brandColorD50: '',
|
|
211
|
+
/** @deprecated */
|
|
176
212
|
gray98: '',
|
|
213
|
+
/** @deprecated */
|
|
177
214
|
gray96: '',
|
|
215
|
+
/** @deprecated */
|
|
178
216
|
gray92: '',
|
|
217
|
+
/** @deprecated */
|
|
179
218
|
gray80: '',
|
|
219
|
+
/** @deprecated */
|
|
180
220
|
gray60: '',
|
|
221
|
+
/** @deprecated */
|
|
181
222
|
gray45: '',
|
|
223
|
+
/** @deprecated */
|
|
182
224
|
gray30: '',
|
|
225
|
+
/** @deprecated */
|
|
183
226
|
gray25: '',
|
|
227
|
+
/** @deprecated */
|
|
184
228
|
gray22: '',
|
|
229
|
+
/** @deprecated */
|
|
185
230
|
gray20: '',
|
|
231
|
+
/** @deprecated */
|
|
186
232
|
accentColorL50: '',
|
|
233
|
+
/** @deprecated */
|
|
187
234
|
accentColorL40: '',
|
|
235
|
+
/** @deprecated */
|
|
188
236
|
accentColorL30: '',
|
|
237
|
+
/** @deprecated */
|
|
189
238
|
accentColorL20: '',
|
|
239
|
+
/** @deprecated */
|
|
190
240
|
accentColorL10: '',
|
|
241
|
+
/** @deprecated */
|
|
191
242
|
accentColor: '',
|
|
243
|
+
/** @deprecated */
|
|
192
244
|
accentColorD10: '',
|
|
245
|
+
/** @deprecated */
|
|
193
246
|
accentColorD20: '',
|
|
247
|
+
/** @deprecated */
|
|
194
248
|
accentColorD30: '',
|
|
249
|
+
/** @deprecated */
|
|
195
250
|
accentColorD40: '',
|
|
251
|
+
/** @deprecated */
|
|
196
252
|
accentColorD50: '',
|
|
253
|
+
/** @deprecated */
|
|
197
254
|
errorColorL50: '',
|
|
255
|
+
/** @deprecated */
|
|
198
256
|
errorColorL40: '',
|
|
257
|
+
/** @deprecated */
|
|
199
258
|
errorColorL30: '',
|
|
259
|
+
/** @deprecated */
|
|
200
260
|
errorColorL20: '',
|
|
261
|
+
/** @deprecated */
|
|
201
262
|
errorColorL10: '',
|
|
263
|
+
/** @deprecated */
|
|
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
|
+
/** @deprecated */
|
|
224
308
|
warningColor: '',
|
|
309
|
+
/** @deprecated */
|
|
225
310
|
warningColorD10: '',
|
|
311
|
+
/** @deprecated */
|
|
226
312
|
warningColorD20: '',
|
|
313
|
+
/** @deprecated */
|
|
227
314
|
warningColorD30: '',
|
|
315
|
+
/** @deprecated */
|
|
228
316
|
warningColorD40: '',
|
|
317
|
+
/** @deprecated */
|
|
229
318
|
warningColorD50: '',
|
|
319
|
+
/** @deprecated */
|
|
230
320
|
successColorL50: '',
|
|
321
|
+
/** @deprecated */
|
|
231
322
|
successColorL40: '',
|
|
323
|
+
/** @deprecated */
|
|
232
324
|
successColorL30: '',
|
|
325
|
+
/** @deprecated */
|
|
233
326
|
successColorL20: '',
|
|
327
|
+
/** @deprecated */
|
|
234
328
|
successColorL10: '',
|
|
329
|
+
/** @deprecated */
|
|
235
330
|
successColor: '',
|
|
331
|
+
/** @deprecated */
|
|
236
332
|
successColorD10: '',
|
|
333
|
+
/** @deprecated */
|
|
237
334
|
successColorD20: '',
|
|
335
|
+
/** @deprecated */
|
|
238
336
|
successColorD30: '',
|
|
337
|
+
/** @deprecated */
|
|
239
338
|
successColorD40: '',
|
|
339
|
+
/** @deprecated */
|
|
240
340
|
successColorD50: '',
|
|
341
|
+
/** @deprecated */
|
|
241
342
|
infoColorL50: '',
|
|
343
|
+
/** @deprecated */
|
|
242
344
|
infoColorL40: '',
|
|
345
|
+
/** @deprecated */
|
|
243
346
|
infoColorL30: '',
|
|
347
|
+
/** @deprecated */
|
|
244
348
|
infoColorL20: '',
|
|
349
|
+
/** @deprecated */
|
|
245
350
|
infoColorL10: '',
|
|
351
|
+
/** @deprecated */
|
|
246
352
|
infoColor: '',
|
|
353
|
+
/** @deprecated */
|
|
247
354
|
infoColorD10: '',
|
|
355
|
+
/** @deprecated */
|
|
248
356
|
infoColorD20: '',
|
|
357
|
+
/** @deprecated */
|
|
249
358
|
infoColorD30: '',
|
|
359
|
+
/** @deprecated */
|
|
250
360
|
infoColorD40: '',
|
|
361
|
+
/** @deprecated */
|
|
251
362
|
infoColorD50: '',
|
|
363
|
+
/** @deprecated */
|
|
252
364
|
diverging1ColorA: '',
|
|
365
|
+
/** @deprecated */
|
|
253
366
|
diverging1ColorB: '',
|
|
367
|
+
/** @deprecated */
|
|
254
368
|
diverging2ColorA: '',
|
|
369
|
+
/** @deprecated */
|
|
255
370
|
diverging2ColorB: '',
|
|
371
|
+
/** @deprecated */
|
|
256
372
|
diverging3ColorA: '',
|
|
373
|
+
/** @deprecated */
|
|
257
374
|
diverging3ColorB: '',
|
|
375
|
+
/** @deprecated */
|
|
258
376
|
diverging4ColorA: '',
|
|
377
|
+
/** @deprecated */
|
|
259
378
|
diverging4ColorB: '',
|
|
379
|
+
/** @deprecated */
|
|
260
380
|
diverging5ColorA: '',
|
|
381
|
+
/** @deprecated */
|
|
261
382
|
diverging5ColorB: '',
|
|
383
|
+
/** @deprecated */
|
|
262
384
|
cat1Color: '',
|
|
385
|
+
/** @deprecated */
|
|
263
386
|
cat1ColorL: '',
|
|
387
|
+
/** @deprecated */
|
|
264
388
|
cat2Color: '',
|
|
389
|
+
/** @deprecated */
|
|
265
390
|
cat2ColorL: '',
|
|
391
|
+
/** @deprecated */
|
|
266
392
|
cat3Color: '',
|
|
393
|
+
/** @deprecated */
|
|
267
394
|
cat3ColorL: '',
|
|
395
|
+
/** @deprecated */
|
|
268
396
|
cat4Color: '',
|
|
397
|
+
/** @deprecated */
|
|
269
398
|
cat4ColorL: '',
|
|
399
|
+
/** @deprecated */
|
|
270
400
|
cat5Color: '',
|
|
401
|
+
/** @deprecated */
|
|
271
402
|
cat5ColorL: '',
|
|
403
|
+
/** @deprecated */
|
|
272
404
|
cat6Color: '',
|
|
405
|
+
/** @deprecated */
|
|
273
406
|
cat6ColorL: '',
|
|
407
|
+
/** @deprecated */
|
|
274
408
|
cat7Color: '',
|
|
409
|
+
/** @deprecated */
|
|
275
410
|
cat7ColorL: '',
|
|
411
|
+
/** @deprecated */
|
|
276
412
|
cat8Color: '',
|
|
413
|
+
/** @deprecated */
|
|
277
414
|
cat8ColorL: '',
|
|
415
|
+
/** @deprecated */
|
|
278
416
|
cat9Color: '',
|
|
417
|
+
/** @deprecated */
|
|
279
418
|
cat9ColorL: '',
|
|
419
|
+
/** @deprecated */
|
|
280
420
|
cat10Color: '',
|
|
421
|
+
/** @deprecated */
|
|
281
422
|
cat10ColorL: '',
|
|
423
|
+
/** @deprecated */
|
|
282
424
|
cat11Color: '',
|
|
425
|
+
/** @deprecated */
|
|
283
426
|
cat11ColorL: '',
|
|
427
|
+
/** @deprecated */
|
|
284
428
|
cat12Color: '',
|
|
429
|
+
/** @deprecated */
|
|
285
430
|
cat12ColorL: '',
|
|
431
|
+
/** @deprecated */
|
|
286
432
|
cat13Color: '',
|
|
433
|
+
/** @deprecated */
|
|
287
434
|
cat13ColorL: '',
|
|
435
|
+
/** @deprecated */
|
|
288
436
|
cat14Color: '',
|
|
437
|
+
/** @deprecated */
|
|
289
438
|
cat14ColorL: '',
|
|
439
|
+
/** @deprecated */
|
|
290
440
|
cat15Color: '',
|
|
441
|
+
/** @deprecated */
|
|
291
442
|
cat15ColorL: '',
|
|
443
|
+
/** @deprecated */
|
|
292
444
|
cat16Color: '',
|
|
445
|
+
/** @deprecated */
|
|
293
446
|
cat16ColorL: '',
|
|
447
|
+
/** @deprecated */
|
|
294
448
|
cat17Color: '',
|
|
449
|
+
/** @deprecated */
|
|
295
450
|
cat17ColorL: '',
|
|
451
|
+
/** @deprecated */
|
|
296
452
|
cat18Color: '',
|
|
453
|
+
/** @deprecated */
|
|
297
454
|
cat18ColorL: '',
|
|
455
|
+
/** @deprecated */
|
|
298
456
|
cat19Color: '',
|
|
457
|
+
/** @deprecated */
|
|
299
458
|
cat19ColorL: '',
|
|
459
|
+
/** @deprecated */
|
|
300
460
|
cat20Color: '',
|
|
461
|
+
/** @deprecated */
|
|
301
462
|
cat20ColorL: '',
|
|
463
|
+
/** @deprecated */
|
|
302
464
|
cat21Color: '',
|
|
465
|
+
/** @deprecated */
|
|
303
466
|
cat21ColorL: '',
|
|
467
|
+
/** @deprecated */
|
|
304
468
|
cat22Color: '',
|
|
469
|
+
/** @deprecated */
|
|
305
470
|
cat22ColorL: '',
|
|
471
|
+
/** @deprecated */
|
|
306
472
|
cat23Color: '',
|
|
473
|
+
/** @deprecated */
|
|
307
474
|
cat23ColorL: '',
|
|
475
|
+
/** @deprecated */
|
|
308
476
|
cat24Color: '',
|
|
477
|
+
/** @deprecated */
|
|
309
478
|
cat24ColorL: '',
|
|
479
|
+
/** @deprecated */
|
|
310
480
|
cat25Color: '',
|
|
481
|
+
/** @deprecated */
|
|
311
482
|
cat25ColorL: '',
|
|
483
|
+
/** @deprecated */
|
|
312
484
|
cat26Color: '',
|
|
485
|
+
/** @deprecated */
|
|
313
486
|
cat26ColorL: '',
|
|
487
|
+
/** @deprecated */
|
|
314
488
|
cat27Color: '',
|
|
489
|
+
/** @deprecated */
|
|
315
490
|
cat27ColorL: '',
|
|
491
|
+
/** @deprecated */
|
|
316
492
|
cat28Color: '',
|
|
493
|
+
/** @deprecated */
|
|
317
494
|
cat28ColorL: '',
|
|
495
|
+
/** @deprecated */
|
|
318
496
|
cat29Color: '',
|
|
497
|
+
/** @deprecated */
|
|
319
498
|
cat29ColorL: '',
|
|
499
|
+
/** @deprecated */
|
|
320
500
|
cat30Color: '',
|
|
501
|
+
/** @deprecated */
|
|
321
502
|
cat30ColorL: '',
|
|
503
|
+
/** @deprecated */
|
|
322
504
|
syntaxBlueLight: '',
|
|
505
|
+
/** @deprecated */
|
|
323
506
|
syntaxGreenLight: '',
|
|
507
|
+
/** @deprecated */
|
|
324
508
|
syntaxPurpleLight: '',
|
|
325
|
-
|
|
509
|
+
/** @deprecated */
|
|
510
|
+
syntaxRedLight: '',
|
|
511
|
+
/**
|
|
512
|
+
* @deprecated
|
|
513
|
+
* @category gradient
|
|
514
|
+
*/
|
|
515
|
+
draggableBackground: ''
|
|
326
516
|
};
|
|
327
517
|
var _default = _objectSpread({}, deprecated);
|
|
328
518
|
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
|
@@ -148,12 +148,9 @@ var backgroundColors = {
|
|
|
148
148
|
backgroundColorPage: _light["default"].gray20,
|
|
149
149
|
backgroundColorPopup: _light["default"].gray22,
|
|
150
150
|
backgroundColorScrim: "rgba(0, 0, 0, 0.8)",
|
|
151
|
-
backgroundColorSection:
|
|
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;
|