@patternfly/design-tokens 1.0.5 → 1.1.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/build/css/_tokens-charts-dark.scss +169 -0
- package/build/css/_tokens-charts.scss +74 -64
- package/build/css/_tokens-dark.scss +3 -4
- package/build/css/_tokens-default.scss +9 -10
- package/build/css/_tokens-palette.scss +3 -4
- package/build.js +16 -0
- package/config.chart.dark.json +23 -0
- package/config.chart.json +1 -1
- package/config.dark.json +1 -1
- package/config.default.json +1 -1
- package/config.palette-colors.json +1 -1
- package/package.json +1 -1
- package/tokens/dark/chart.dark.json +747 -0
- package/tokens/default/chart.json +139 -87
- package/tokens/default/semantic.dimension.json +0 -166
|
@@ -177,97 +177,149 @@
|
|
|
177
177
|
"type": "color",
|
|
178
178
|
"value": "{color.gray.50}"
|
|
179
179
|
}
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"global": {
|
|
183
|
+
"BorderWidth": {
|
|
184
|
+
"xs": {
|
|
185
|
+
"type": "number",
|
|
186
|
+
"value": 1
|
|
187
|
+
},
|
|
188
|
+
"sm": {
|
|
189
|
+
"type": "number",
|
|
190
|
+
"value": 2
|
|
191
|
+
},
|
|
192
|
+
"lg": {
|
|
193
|
+
"type": "number",
|
|
194
|
+
"value": 8
|
|
195
|
+
}
|
|
180
196
|
},
|
|
181
|
-
"
|
|
182
|
-
"
|
|
183
|
-
"
|
|
184
|
-
"
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
197
|
+
"stroke": {
|
|
198
|
+
"width": {
|
|
199
|
+
"xs": {
|
|
200
|
+
"type": "number",
|
|
201
|
+
"value": 1
|
|
202
|
+
},
|
|
203
|
+
"sm": {
|
|
204
|
+
"type": "number",
|
|
205
|
+
"value": 2
|
|
188
206
|
}
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
}
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
"fill": {
|
|
210
|
+
"color": {
|
|
211
|
+
"100": {
|
|
212
|
+
"type": "color",
|
|
213
|
+
"value": "{color.gray.10}"
|
|
214
|
+
},
|
|
215
|
+
"200": {
|
|
216
|
+
"type": "color",
|
|
217
|
+
"value": "{color.gray.20}"
|
|
218
|
+
},
|
|
219
|
+
"300": {
|
|
220
|
+
"type": "color",
|
|
221
|
+
"value": "{color.gray.30}"
|
|
222
|
+
},
|
|
223
|
+
"400": {
|
|
224
|
+
"type": "color",
|
|
225
|
+
"value": "{color.gray.40}"
|
|
226
|
+
},
|
|
227
|
+
"500": {
|
|
228
|
+
"type": "color",
|
|
229
|
+
"value": "{color.gray.50}"
|
|
230
|
+
},
|
|
231
|
+
"700": {
|
|
232
|
+
"type": "color",
|
|
233
|
+
"value": "{color.gray.70}"
|
|
234
|
+
},
|
|
235
|
+
"900": {
|
|
236
|
+
"type": "color",
|
|
237
|
+
"value": "{color.gray.90}"
|
|
238
|
+
},
|
|
239
|
+
"white": {
|
|
240
|
+
"type": "color",
|
|
241
|
+
"value": "{color.white}"
|
|
200
242
|
}
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
}
|
|
212
|
-
"300": {
|
|
213
|
-
"type": "color",
|
|
214
|
-
"value": "{color.gray.30}"
|
|
215
|
-
},
|
|
216
|
-
"400": {
|
|
217
|
-
"type": "color",
|
|
218
|
-
"value": "{color.gray.40}"
|
|
219
|
-
},
|
|
220
|
-
"500": {
|
|
221
|
-
"type": "color",
|
|
222
|
-
"value": "{color.gray.50}"
|
|
223
|
-
},
|
|
224
|
-
"700": {
|
|
225
|
-
"type": "color",
|
|
226
|
-
"value": "{color.gray.70}"
|
|
227
|
-
},
|
|
228
|
-
"900": {
|
|
229
|
-
"type": "color",
|
|
230
|
-
"value": "{color.gray.90}"
|
|
231
|
-
},
|
|
232
|
-
"white": {
|
|
233
|
-
"type": "color",
|
|
234
|
-
"value": "{color.white}"
|
|
235
|
-
}
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
"warning": {
|
|
246
|
+
"color": {
|
|
247
|
+
"100": {
|
|
248
|
+
"type": "color",
|
|
249
|
+
"value": "{color.orange.40}"
|
|
250
|
+
},
|
|
251
|
+
"200": {
|
|
252
|
+
"type": "color",
|
|
253
|
+
"value": "{color.yellow.40}"
|
|
236
254
|
}
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
}
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
"success": {
|
|
258
|
+
"color": {
|
|
259
|
+
"100": {
|
|
260
|
+
"type": "color",
|
|
261
|
+
"value": "{color.blue.50}"
|
|
244
262
|
}
|
|
245
263
|
}
|
|
246
|
-
}
|
|
247
|
-
},
|
|
248
|
-
"BorderWidth": {
|
|
249
|
-
"xs": {
|
|
250
|
-
"type": "number",
|
|
251
|
-
"value": 1
|
|
252
264
|
},
|
|
253
|
-
"
|
|
254
|
-
"
|
|
255
|
-
|
|
265
|
+
"danger": {
|
|
266
|
+
"color": {
|
|
267
|
+
"100": {
|
|
268
|
+
"type": "color",
|
|
269
|
+
"value": "{color.red-orange.60}"
|
|
270
|
+
}
|
|
271
|
+
}
|
|
256
272
|
},
|
|
257
|
-
"
|
|
258
|
-
"type": "number",
|
|
259
|
-
"value": 8
|
|
260
|
-
}
|
|
261
|
-
},
|
|
262
|
-
"stroke": {
|
|
263
|
-
"width": {
|
|
273
|
+
"FontSize": {
|
|
264
274
|
"xs": {
|
|
265
275
|
"type": "number",
|
|
266
|
-
"value":
|
|
276
|
+
"value": 12
|
|
267
277
|
},
|
|
268
278
|
"sm": {
|
|
269
279
|
"type": "number",
|
|
270
|
-
"value":
|
|
280
|
+
"value": 14
|
|
281
|
+
},
|
|
282
|
+
"lg": {
|
|
283
|
+
"type": "number",
|
|
284
|
+
"value": 18
|
|
285
|
+
},
|
|
286
|
+
"2xl": {
|
|
287
|
+
"type": "number",
|
|
288
|
+
"value": 22
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
"label": {
|
|
292
|
+
"padding": {
|
|
293
|
+
"type": "number",
|
|
294
|
+
"value": 10
|
|
295
|
+
},
|
|
296
|
+
"margin": {
|
|
297
|
+
"type": "number",
|
|
298
|
+
"value": 8
|
|
299
|
+
},
|
|
300
|
+
"stroke": {
|
|
301
|
+
"width": {
|
|
302
|
+
"type": "number",
|
|
303
|
+
"value": 0
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
"fill": {
|
|
307
|
+
"type": "color",
|
|
308
|
+
"value": "{color.gray.90}"
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"layout": {
|
|
312
|
+
"padding": {
|
|
313
|
+
"type": "number",
|
|
314
|
+
"value": 50
|
|
315
|
+
},
|
|
316
|
+
"height": {
|
|
317
|
+
"type": "number",
|
|
318
|
+
"value": 300
|
|
319
|
+
},
|
|
320
|
+
"width": {
|
|
321
|
+
"type": "number",
|
|
322
|
+
"value": 450
|
|
271
323
|
}
|
|
272
324
|
}
|
|
273
325
|
},
|
|
@@ -477,11 +529,11 @@
|
|
|
477
529
|
},
|
|
478
530
|
"900": {
|
|
479
531
|
"type": "color",
|
|
480
|
-
"value": "{chart.color.yellow.
|
|
532
|
+
"value": "{chart.color.yellow.500}"
|
|
481
533
|
},
|
|
482
534
|
"1000": {
|
|
483
535
|
"type": "color",
|
|
484
|
-
"value": "{chart.color.orange.
|
|
536
|
+
"value": "{chart.color.orange.100}"
|
|
485
537
|
},
|
|
486
538
|
"1100": {
|
|
487
539
|
"type": "color",
|
|
@@ -497,11 +549,11 @@
|
|
|
497
549
|
},
|
|
498
550
|
"1400": {
|
|
499
551
|
"type": "color",
|
|
500
|
-
"value": "{chart.color.yellow.
|
|
552
|
+
"value": "{chart.color.yellow.100}"
|
|
501
553
|
},
|
|
502
554
|
"1500": {
|
|
503
555
|
"type": "color",
|
|
504
|
-
"value": "{chart.color.orange.
|
|
556
|
+
"value": "{chart.color.orange.500}"
|
|
505
557
|
},
|
|
506
558
|
"1600": {
|
|
507
559
|
"type": "color",
|
|
@@ -517,11 +569,11 @@
|
|
|
517
569
|
},
|
|
518
570
|
"1900": {
|
|
519
571
|
"type": "color",
|
|
520
|
-
"value": "{chart.color.yellow.
|
|
572
|
+
"value": "{chart.color.yellow.400}"
|
|
521
573
|
},
|
|
522
574
|
"2000": {
|
|
523
575
|
"type": "color",
|
|
524
|
-
"value": "{chart.color.orange.
|
|
576
|
+
"value": "{chart.color.orange.200}"
|
|
525
577
|
},
|
|
526
578
|
"2100": {
|
|
527
579
|
"type": "color",
|
|
@@ -537,15 +589,15 @@
|
|
|
537
589
|
},
|
|
538
590
|
"2400": {
|
|
539
591
|
"type": "color",
|
|
540
|
-
"value": "{chart.color.yellow.
|
|
592
|
+
"value": "{chart.color.yellow.200}"
|
|
541
593
|
},
|
|
542
594
|
"2500": {
|
|
543
595
|
"type": "color",
|
|
544
|
-
"value": "{chart.color.orange.
|
|
596
|
+
"value": "{chart.color.orange.400}"
|
|
545
597
|
}
|
|
546
598
|
}
|
|
547
599
|
},
|
|
548
|
-
"
|
|
600
|
+
"multi-colored-unordered": {
|
|
549
601
|
"colorscale": {
|
|
550
602
|
"100": {
|
|
551
603
|
"type": "color",
|
|
@@ -572,172 +572,6 @@
|
|
|
572
572
|
"value": "{global.box-shadow.spread.100}"
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
|
-
},
|
|
576
|
-
"box-shadow": {
|
|
577
|
-
"X": {
|
|
578
|
-
"sm": {
|
|
579
|
-
"default": {
|
|
580
|
-
"type": "number",
|
|
581
|
-
"value": "{global.box-shadow.X.400}"
|
|
582
|
-
},
|
|
583
|
-
"top": {
|
|
584
|
-
"type": "number",
|
|
585
|
-
"value": "{global.box-shadow.X.400}"
|
|
586
|
-
},
|
|
587
|
-
"bottom": {
|
|
588
|
-
"type": "number",
|
|
589
|
-
"value": "{global.box-shadow.X.400}"
|
|
590
|
-
},
|
|
591
|
-
"left": {
|
|
592
|
-
"type": "number",
|
|
593
|
-
"value": "{global.box-shadow.X.300}"
|
|
594
|
-
},
|
|
595
|
-
"right": {
|
|
596
|
-
"type": "number",
|
|
597
|
-
"value": "{global.box-shadow.X.500}"
|
|
598
|
-
}
|
|
599
|
-
},
|
|
600
|
-
"md": {
|
|
601
|
-
"default": {
|
|
602
|
-
"type": "number",
|
|
603
|
-
"value": "{global.box-shadow.X.400}"
|
|
604
|
-
},
|
|
605
|
-
"top": {
|
|
606
|
-
"type": "number",
|
|
607
|
-
"value": "{global.box-shadow.X.400}"
|
|
608
|
-
},
|
|
609
|
-
"bottom": {
|
|
610
|
-
"type": "number",
|
|
611
|
-
"value": "{global.box-shadow.X.400}"
|
|
612
|
-
},
|
|
613
|
-
"left": {
|
|
614
|
-
"type": "number",
|
|
615
|
-
"value": "{global.box-shadow.X.200}"
|
|
616
|
-
},
|
|
617
|
-
"right": {
|
|
618
|
-
"type": "number",
|
|
619
|
-
"value": "{global.box-shadow.X.600}"
|
|
620
|
-
}
|
|
621
|
-
},
|
|
622
|
-
"lg": {
|
|
623
|
-
"default": {
|
|
624
|
-
"type": "number",
|
|
625
|
-
"value": "{global.box-shadow.X.400}"
|
|
626
|
-
},
|
|
627
|
-
"top": {
|
|
628
|
-
"type": "number",
|
|
629
|
-
"value": "{global.box-shadow.X.400}"
|
|
630
|
-
},
|
|
631
|
-
"bottom": {
|
|
632
|
-
"type": "number",
|
|
633
|
-
"value": "{global.box-shadow.X.400}"
|
|
634
|
-
},
|
|
635
|
-
"left": {
|
|
636
|
-
"type": "number",
|
|
637
|
-
"value": "{global.box-shadow.X.100}"
|
|
638
|
-
},
|
|
639
|
-
"right": {
|
|
640
|
-
"type": "number",
|
|
641
|
-
"value": "{global.box-shadow.X.700}"
|
|
642
|
-
}
|
|
643
|
-
}
|
|
644
|
-
},
|
|
645
|
-
"Y": {
|
|
646
|
-
"sm": {
|
|
647
|
-
"default": {
|
|
648
|
-
"type": "number",
|
|
649
|
-
"value": "{global.box-shadow.Y.500}"
|
|
650
|
-
},
|
|
651
|
-
"top": {
|
|
652
|
-
"type": "number",
|
|
653
|
-
"value": "{global.box-shadow.Y.300}"
|
|
654
|
-
},
|
|
655
|
-
"bottom": {
|
|
656
|
-
"type": "number",
|
|
657
|
-
"value": "{global.box-shadow.Y.500}"
|
|
658
|
-
},
|
|
659
|
-
"left": {
|
|
660
|
-
"type": "number",
|
|
661
|
-
"value": "{global.box-shadow.Y.400}"
|
|
662
|
-
},
|
|
663
|
-
"right": {
|
|
664
|
-
"type": "number",
|
|
665
|
-
"value": "{global.box-shadow.Y.400}"
|
|
666
|
-
}
|
|
667
|
-
},
|
|
668
|
-
"md": {
|
|
669
|
-
"default": {
|
|
670
|
-
"type": "number",
|
|
671
|
-
"value": "{global.box-shadow.Y.600}"
|
|
672
|
-
},
|
|
673
|
-
"top": {
|
|
674
|
-
"type": "number",
|
|
675
|
-
"value": "{global.box-shadow.Y.200}"
|
|
676
|
-
},
|
|
677
|
-
"bottom": {
|
|
678
|
-
"type": "number",
|
|
679
|
-
"value": "{global.box-shadow.Y.600}"
|
|
680
|
-
},
|
|
681
|
-
"left": {
|
|
682
|
-
"type": "number",
|
|
683
|
-
"value": "{global.box-shadow.Y.400}"
|
|
684
|
-
},
|
|
685
|
-
"right": {
|
|
686
|
-
"type": "number",
|
|
687
|
-
"value": "{global.box-shadow.Y.400}"
|
|
688
|
-
}
|
|
689
|
-
},
|
|
690
|
-
"lg": {
|
|
691
|
-
"default": {
|
|
692
|
-
"type": "number",
|
|
693
|
-
"value": "{global.box-shadow.Y.700}"
|
|
694
|
-
},
|
|
695
|
-
"top": {
|
|
696
|
-
"type": "number",
|
|
697
|
-
"value": "{global.box-shadow.Y.100}"
|
|
698
|
-
},
|
|
699
|
-
"bottom": {
|
|
700
|
-
"type": "number",
|
|
701
|
-
"value": "{global.box-shadow.Y.700}"
|
|
702
|
-
},
|
|
703
|
-
"left": {
|
|
704
|
-
"type": "number",
|
|
705
|
-
"value": "{global.box-shadow.Y.400}"
|
|
706
|
-
},
|
|
707
|
-
"right": {
|
|
708
|
-
"type": "number",
|
|
709
|
-
"value": "{global.box-shadow.Y.400}"
|
|
710
|
-
}
|
|
711
|
-
}
|
|
712
|
-
},
|
|
713
|
-
"blur": {
|
|
714
|
-
"sm": {
|
|
715
|
-
"type": "number",
|
|
716
|
-
"value": "{global.box-shadow.blur.100}"
|
|
717
|
-
},
|
|
718
|
-
"md": {
|
|
719
|
-
"type": "number",
|
|
720
|
-
"value": "{global.box-shadow.blur.200}"
|
|
721
|
-
},
|
|
722
|
-
"lg": {
|
|
723
|
-
"type": "number",
|
|
724
|
-
"value": "{global.box-shadow.blur.300}"
|
|
725
|
-
}
|
|
726
|
-
},
|
|
727
|
-
"spread": {
|
|
728
|
-
"sm": {
|
|
729
|
-
"type": "number",
|
|
730
|
-
"value": "{global.box-shadow.spread.100}"
|
|
731
|
-
},
|
|
732
|
-
"md": {
|
|
733
|
-
"type": "number",
|
|
734
|
-
"value": "{global.box-shadow.spread.100}"
|
|
735
|
-
},
|
|
736
|
-
"lg": {
|
|
737
|
-
"type": "number",
|
|
738
|
-
"value": "{global.box-shadow.spread.100}"
|
|
739
|
-
}
|
|
740
|
-
}
|
|
741
575
|
}
|
|
742
576
|
}
|
|
743
577
|
}
|