@splunk/themes 0.9.0 → 0.11.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.
@@ -0,0 +1,507 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = exports.highLow = exports.sequential = exports.divergent = exports.categorical = exports.staticColors = void 0;
7
+
8
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
9
+
10
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
11
+
12
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
13
+
14
+ /**
15
+ * ## Data viz
16
+ *
17
+ * Colors should be used in their prescribed order.
18
+ * Don't mix-and-match between sets in the same visualization.
19
+ *
20
+ * ### Static colors
21
+ *
22
+ * @colorSet verbose
23
+ */
24
+ var staticColors = {
25
+ static1: '#7B56DB',
26
+ static2: '#009CEB',
27
+ static3: '#00CDAF',
28
+ static4: '#DD9900',
29
+ static5: '#FF677B',
30
+ static6: '#CB2196',
31
+ static7: '#813193',
32
+ static8: '#0051B5',
33
+ static9: '#008C80',
34
+ static10: '#99B100',
35
+ static11: '#FFA476',
36
+ static12: '#FF6ACE',
37
+ static13: '#AE8CFF',
38
+ static14: '#00689D',
39
+ static15: '#00490A',
40
+ static16: '#465D00',
41
+ static17: '#9D6300',
42
+ static18: '#F6540B',
43
+ static19: '#FF969E',
44
+ static20: '#E47BFE'
45
+ };
46
+ /**
47
+ * ### Categorical 1D
48
+ *
49
+ * @colorSet verbose
50
+ */
51
+
52
+ exports.staticColors = staticColors;
53
+ var categorical1D = {
54
+ categorical1D1: '#5C33FF',
55
+ categorical1D2: '#207865',
56
+ categorical1D3: '#AD3F20',
57
+ categorical1D4: '#003E80',
58
+ categorical1D5: '#78062A',
59
+ categorical1D6: '#2F8811',
60
+ categorical1D7: '#555555'
61
+ };
62
+ /**
63
+ * ### Categorical 1L
64
+ *
65
+ * @colorSet verbose
66
+ */
67
+
68
+ var categorical1L = {
69
+ categorical1L1: '#9980FF',
70
+ categorical1L2: '#45D4BA',
71
+ categorical1L3: '#FB865C',
72
+ categorical1L4: '#66AAF9',
73
+ categorical1L5: '#E85B79',
74
+ categorical1L6: '#88EE66',
75
+ categorical1L7: '#F0B000'
76
+ };
77
+ /**
78
+ * ### Categorical 2D
79
+ *
80
+ * @colorSet verbose
81
+ */
82
+
83
+ var categorical2D = {
84
+ categorical2D1: '#1F4D5B',
85
+ categorical2D2: '#CC0AD6',
86
+ categorical2D3: '#017FA2',
87
+ categorical2D4: '#D81E5B',
88
+ categorical2D5: '#621FFF',
89
+ categorical2D6: '#348350',
90
+ categorical2D7: '#555555'
91
+ };
92
+ /**
93
+ * ### Categorical 2L
94
+ *
95
+ * @colorSet verbose
96
+ */
97
+
98
+ var categorical2L = {
99
+ categorical2L1: '#5599BE',
100
+ categorical2L2: '#FB9DFB',
101
+ categorical2L3: '#00BBEE',
102
+ categorical2L4: '#EE3399',
103
+ categorical2L5: '#9980FF',
104
+ categorical2L6: '#5FBF7F',
105
+ categorical2L7: '#F58B00'
106
+ };
107
+
108
+ var categorical = _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, categorical1D), categorical1L), categorical2D), categorical2L);
109
+ /**
110
+ * ### Divergent 1D
111
+ *
112
+ * @colorSet verbose
113
+ */
114
+
115
+
116
+ exports.categorical = categorical;
117
+ var divergent1D = {
118
+ divergent1D1: '#118832',
119
+ divergent1D2: '#1C6B2D',
120
+ divergent1D3: '#284D27',
121
+ divergent1D4: '#333022',
122
+ divergent1D5: '#692A21',
123
+ divergent1D6: '#9E2520',
124
+ divergent1D7: '#D41F1F'
125
+ };
126
+ /**
127
+ * ### Divergent 1L
128
+ *
129
+ * @colorSet verbose
130
+ */
131
+
132
+ var divergent1L = {
133
+ divergent1L1: '#08AE37',
134
+ divergent1L2: '#55C169',
135
+ divergent1L3: '#A1D59C',
136
+ divergent1L4: '#EEE8CE',
137
+ divergent1L5: '#F4BAA9',
138
+ divergent1L6: '#F98C83',
139
+ divergent1L7: '#FF5E5E'
140
+ };
141
+ /**
142
+ * ### Divergent 2D
143
+ *
144
+ * @colorSet verbose
145
+ */
146
+
147
+ var divergent2D = {
148
+ divergent2D1: '#0070F3',
149
+ divergent2D2: '#115BAD',
150
+ divergent2D3: '#224468',
151
+ divergent2D4: '#333022',
152
+ divergent2D5: '#692A21',
153
+ divergent2D6: '#9E2520',
154
+ divergent2D7: '#D41F1F'
155
+ };
156
+ /**
157
+ * ### Divergent 2L
158
+ *
159
+ * @colorSet verbose
160
+ */
161
+
162
+ var divergent2L = {
163
+ divergent2L1: '#2A99FF',
164
+ divergent2L2: '#6BB3EE',
165
+ divergent2L3: '#ADCCDD',
166
+ divergent2L4: '#EEE8CE',
167
+ divergent2L5: '#F4BAA9',
168
+ divergent2L6: '#F98C83',
169
+ divergent2L7: '#FF5E5E'
170
+ };
171
+ /**
172
+ * ### Divergent 3D
173
+ *
174
+ * @colorSet verbose
175
+ */
176
+
177
+ var divergent3D = {
178
+ divergent3D1: '#299986',
179
+ divergent3D2: '#277C52',
180
+ divergent3D3: '#24551F',
181
+ divergent3D4: '#333022',
182
+ divergent3D5: '#422879',
183
+ divergent3D6: '#602CA1',
184
+ divergent3D7: '#8747DA'
185
+ };
186
+ /**
187
+ * ### Divergent 3L
188
+ *
189
+ * @colorSet verbose
190
+ */
191
+
192
+ var divergent3L = {
193
+ divergent3L1: '#14846C',
194
+ divergent3L2: '#45D4BA',
195
+ divergent3L3: '#9ADEC4',
196
+ divergent3L4: '#EEE8CE',
197
+ divergent3L5: '#D7BEE4',
198
+ divergent3L6: '#C093F9',
199
+ divergent3L7: '#9156DD'
200
+ };
201
+ /**
202
+ * ### Divergent 4D
203
+ *
204
+ * @colorSet verbose
205
+ */
206
+
207
+ var divergent4D = {
208
+ divergent4D1: '#0D8387',
209
+ divergent4D2: '#1A6765',
210
+ divergent4D3: '#264C44',
211
+ divergent4D4: '#333022',
212
+ divergent4D5: '#693623',
213
+ divergent4D6: '#9F3B23',
214
+ divergent4D7: '#D54124'
215
+ };
216
+ /**
217
+ * ### Divergent 4L
218
+ *
219
+ * @colorSet verbose
220
+ */
221
+
222
+ var divergent4L = {
223
+ divergent4L1: '#008287',
224
+ divergent4L2: '#2EA39B',
225
+ divergent4L3: '#5CC3AF',
226
+ divergent4L4: '#EEE8CE',
227
+ divergent4L5: '#ECA14E',
228
+ divergent4L6: '#E3723A',
229
+ divergent4L7: '#DA4325'
230
+ };
231
+
232
+ var divergent = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, divergent1D), divergent1L), divergent2D), divergent2L), divergent3D), divergent3L), divergent4D), divergent4L);
233
+ /**
234
+ * ### Sequential 1D
235
+ *
236
+ * @colorSet verbose
237
+ */
238
+
239
+
240
+ exports.divergent = divergent;
241
+ var sequential1D = {
242
+ sequential1D1: '#118832',
243
+ sequential1D2: '#669922',
244
+ sequential1D3: '#9D9F0D',
245
+ sequential1D4: '#CBA700',
246
+ sequential1D5: '#D97A0D',
247
+ sequential1D6: '#D94E17',
248
+ sequential1D7: '#D41F1F'
249
+ };
250
+ /**
251
+ * ### Sequential 1L
252
+ *
253
+ * @colorSet verbose
254
+ */
255
+
256
+ var sequential1L = {
257
+ sequential1L1: '#088F44',
258
+ sequential1L2: '#2EB82E',
259
+ sequential1L3: '#C3CC33',
260
+ sequential1L4: '#FFD442',
261
+ sequential1L5: '#FFA857',
262
+ sequential1L6: '#FF7149',
263
+ sequential1L7: '#FE3A3A'
264
+ };
265
+ /**
266
+ * ### Sequential 2D
267
+ *
268
+ * @colorSet verbose
269
+ */
270
+
271
+ var sequential2D = {
272
+ sequential2D1: '#333022',
273
+ sequential2D2: '#3D2830',
274
+ sequential2D3: '#562E4C',
275
+ sequential2D4: '#6F3468',
276
+ sequential2D5: '#873A83',
277
+ sequential2D6: '#A0409F',
278
+ sequential2D7: '#B846BB'
279
+ };
280
+ /**
281
+ * ### Sequential 2L
282
+ *
283
+ * @colorSet verbose
284
+ */
285
+
286
+ var sequential2L = {
287
+ sequential2L1: '#EEE8CE',
288
+ sequential2L2: '#E8C7CE',
289
+ sequential2L3: '#E1A6CD',
290
+ sequential2L4: '#DB86CD',
291
+ sequential2L5: '#D465CD',
292
+ sequential2L6: '#CE44CC',
293
+ sequential2L7: '#C723CC'
294
+ };
295
+ /**
296
+ * ### Sequential 3D
297
+ *
298
+ * @colorSet verbose
299
+ */
300
+
301
+ var sequential3D = {
302
+ sequential3D1: '#333022',
303
+ sequential3D2: '#253223',
304
+ sequential3D3: '#244333',
305
+ sequential3D4: '#245442',
306
+ sequential3D5: '#246451',
307
+ sequential3D6: '#237561',
308
+ sequential3D7: '#238570'
309
+ };
310
+ /**
311
+ * ### Sequential 3L
312
+ *
313
+ * @colorSet verbose
314
+ */
315
+
316
+ var sequential3L = {
317
+ sequential3L1: '#EEE8CE',
318
+ sequential3L2: '#B6ECD4',
319
+ sequential3L3: '#7EEFDA',
320
+ sequential3L4: '#45D4BA',
321
+ sequential3L5: '#35B9A0',
322
+ sequential3L6: '#249F86',
323
+ sequential3L7: '#14846C'
324
+ };
325
+ /**
326
+ * ### Sequential 4D
327
+ *
328
+ * @colorSet verbose
329
+ */
330
+
331
+ var sequential4D = {
332
+ sequential4D1: '#333022',
333
+ sequential4D2: '#442519',
334
+ sequential4D3: '#64271F',
335
+ sequential4D4: '#832A24',
336
+ sequential4D5: '#A0312E',
337
+ sequential4D6: '#BD3737',
338
+ sequential4D7: '#DA3B30'
339
+ };
340
+ /**
341
+ * ### Sequential 4L
342
+ *
343
+ * @colorSet verbose
344
+ */
345
+
346
+ var sequential4L = {
347
+ sequential4L1: '#EEE8CE',
348
+ sequential4L2: '#F5CEBF',
349
+ sequential4L3: '#FCB4B0',
350
+ sequential4L4: '#F99C96',
351
+ sequential4L5: '#F6847C',
352
+ sequential4L6: '#DF564D',
353
+ sequential4L7: '#DD2E2E'
354
+ };
355
+ /**
356
+ * ### Sequential 5D
357
+ *
358
+ * @colorSet verbose
359
+ */
360
+
361
+ var sequential5D = {
362
+ sequential5D1: '#2E2E55',
363
+ sequential5D2: '#4B1773',
364
+ sequential5D3: '#77136A',
365
+ sequential5D4: '#A81A45',
366
+ sequential5D5: '#D24620',
367
+ sequential5D6: '#D97A0D',
368
+ sequential5D7: '#CBA700'
369
+ };
370
+ /**
371
+ * ### Sequential 5L
372
+ *
373
+ * @colorSet verbose
374
+ */
375
+
376
+ var sequential5L = {
377
+ sequential5L1: '#EEE8CE',
378
+ sequential5L2: '#F2DD88',
379
+ sequential5L3: '#FFC355',
380
+ sequential5L4: '#FF9D66',
381
+ sequential5L5: '#FF7777',
382
+ sequential5L6: '#EE4477',
383
+ sequential5L7: '#DD22BB'
384
+ };
385
+ /**
386
+ * ### Sequential 6D
387
+ *
388
+ * @colorSet verbose
389
+ */
390
+
391
+ var sequential6D = {
392
+ sequential6D1: '#1C3355',
393
+ sequential6D2: '#005580',
394
+ sequential6D3: '#007575',
395
+ sequential6D4: '#118832',
396
+ sequential6D5: '#669922',
397
+ sequential6D6: '#9D9F0D',
398
+ sequential6D7: '#CBA700'
399
+ };
400
+ /**
401
+ * ### Sequential 6L
402
+ *
403
+ * @colorSet verbose
404
+ */
405
+
406
+ var sequential6L = {
407
+ sequential6L1: '#EEE8CE',
408
+ sequential6L2: '#E7E755',
409
+ sequential6L3: '#A3E052',
410
+ sequential6L4: '#0AD647',
411
+ sequential6L5: '#00BBBB',
412
+ sequential6L6: '#1182F3',
413
+ sequential6L7: '#6666DD'
414
+ };
415
+
416
+ var sequential = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, sequential1D), sequential1L), sequential2D), sequential2L), sequential3D), sequential3L), sequential4D), sequential4L), sequential5D), sequential5L), sequential6D), sequential6L);
417
+ /**
418
+ * ### High low 1D
419
+ *
420
+ * @colorSet verbose
421
+ */
422
+
423
+
424
+ exports.sequential = sequential;
425
+ var highLow1D = {
426
+ highLow1DHigh: '#1C6B2D',
427
+ highLow1DLow: '#9E2520'
428
+ };
429
+ /**
430
+ * ### High low 1L
431
+ *
432
+ * @colorSet verbose
433
+ */
434
+
435
+ var highLow1L = {
436
+ highLow1LHigh: '#55C169',
437
+ highLow1LLow: '#F98C83'
438
+ };
439
+ /**
440
+ * ### High low 2D
441
+ *
442
+ * @colorSet verbose
443
+ */
444
+
445
+ var highLow2D = {
446
+ highLow2DHigh: '#115BAD',
447
+ highLow2DLow: '#9E2520'
448
+ };
449
+ /**
450
+ * ### High low 2L
451
+ *
452
+ * @colorSet verbose
453
+ */
454
+
455
+ var highLow2L = {
456
+ highLow2LHigh: '#6BB3EE',
457
+ highLow2LLow: '#F98C83'
458
+ };
459
+ /**
460
+ * ### High low 3D
461
+ *
462
+ * @colorSet verbose
463
+ */
464
+
465
+ var highLow3D = {
466
+ highLow3DHigh: '#277C52',
467
+ highLow3DLow: '#602CA1'
468
+ };
469
+ /**
470
+ * ### High low 3L
471
+ *
472
+ * @colorSet verbose
473
+ */
474
+
475
+ var highLow3L = {
476
+ highLow3LHigh: '#45D4BA',
477
+ highLow3LLow: '#C093F9'
478
+ };
479
+ /**
480
+ * ### High low 4D
481
+ *
482
+ * @colorSet verbose
483
+ */
484
+
485
+ var highLow4D = {
486
+ highLow4DHigh: '#1A6765',
487
+ highLow4DLow: '#9F3B23'
488
+ };
489
+ /**
490
+ * ### High low 4L
491
+ *
492
+ * @colorSet verbose
493
+ */
494
+
495
+ var highLow4L = {
496
+ highLow4LHigh: '#2EA39B',
497
+ highLow4LLow: '#E3723A'
498
+ };
499
+
500
+ var highLow = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, highLow1D), highLow1L), highLow2D), highLow2L), highLow3D), highLow3L), highLow4D), highLow4L);
501
+
502
+ exports.highLow = highLow;
503
+
504
+ var dataViz = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, staticColors), categorical), divergent), sequential), highLow);
505
+
506
+ var _default = dataViz;
507
+ exports["default"] = _default;
package/prisma/light.js CHANGED
@@ -12,7 +12,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
12
12
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
13
13
 
14
14
  /**
15
- * # Background Colors
15
+ * ## Background colors
16
16
  * Background colors should be used only for backgrounds of higher level sections & containers of a UI.
17
17
  *
18
18
  * @colorSet verbose
@@ -28,7 +28,7 @@ var backgroundColors = {
28
28
  backgroundColorScrim: 'rgba(255, 255, 255, 0.75)'
29
29
  };
30
30
  /**
31
- * # Content Colors
31
+ * ## Content colors
32
32
  * Content colors should be used for text, icons and dividers.
33
33
  *
34
34
  * @colorSet verbose
@@ -42,7 +42,7 @@ var contentColors = {
42
42
  contentColorMuted: '#6b6b6b'
43
43
  };
44
44
  /**
45
- * # Interactive Colors
45
+ * ## Interactive colors
46
46
  * Interactive colors are specifically chosen for borders and backgrounds of controls and other interactive content.
47
47
  * "Overlay" colors are intended to be placed over the default background color, such as interactiveColorPrimary.
48
48
  * If the default background color is not transparent, the `blend` mixin can be used to create a new color that combines the two.
@@ -63,7 +63,7 @@ var interactiveColors = {
63
63
  interactiveColorBackgroundDisabled: 'rgba(0, 0, 0, 0.1)'
64
64
  };
65
65
  /**
66
- * # Neutral Colors
66
+ * ## Neutral colors
67
67
  * Neutrals are used for dividers and as backup colors that can sparingly be used for cases, when the other defined colors are not enough.
68
68
  *
69
69
  * @colorSet verbose
@@ -79,7 +79,7 @@ var neutralColors = {
79
79
  black: '#000000'
80
80
  };
81
81
  /**
82
- * # Accent Colors
82
+ * ## Accent colors
83
83
  * Accent colors aid and categorize the visual communication of the system response.
84
84
  *
85
85
  * @colorSet verbose
@@ -92,7 +92,7 @@ var accentColors = {
92
92
  accentColorNegative: '#d41f1f'
93
93
  };
94
94
  /**
95
- * # Status Colors
95
+ * ## Status colors
96
96
  * Status colors are reserved for communicating urgency and severity associated with data objects.
97
97
  *
98
98
  * @colorSet verbose
@@ -107,7 +107,7 @@ var statusColors = {
107
107
  statusColorCritical: '#9c0300'
108
108
  };
109
109
  /**
110
- * # Elevation Shadows
110
+ * ## Elevation shadows
111
111
  *
112
112
  * @shadowSet
113
113
  *
@@ -120,7 +120,7 @@ var elevationShadows = {
120
120
  modalShadow: '0px 50px 200px rgba(0, 0, 0, 0.3), 0px 29px 66px rgba(0, 0, 0, 0.08), 0px 29px 47px rgba(0, 0, 0, 0.08), 0px 5px 10px rgba(0, 0, 0, 0.03)'
121
121
  };
122
122
  /**
123
- * # Syntax Colors
123
+ * ## Syntax colors
124
124
  * Syntax colors are used only for code blocks.
125
125
  *
126
126
  * @colorSet verbose alphabetical
@@ -1,5 +1,5 @@
1
1
  /**
2
- * # Measures
2
+ * ## Measures
3
3
  * Spacing is used for margin on any element or padding on containers, but can be used for other
4
4
  * properties that position elements.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * # Measures
2
+ * ## Measures
3
3
  * Spacing is used for margin on any element or padding on containers, but can be used for other
4
4
  * properties that position elements.
5
5
  * * Larger containers, such as `Card` or `Modal`, use `spacing`.