@patternfly/design-tokens 1.13.2 → 1.14.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 +2 -2
- package/build/css/tokens-charts.scss +2 -2
- package/build/css/tokens-dark.scss +10 -2
- package/build/css/tokens-default.scss +47 -4
- package/build/css/tokens-highcontrast-dark.scss +392 -0
- package/build/css/tokens-highcontrast.scss +427 -0
- package/build/css/tokens-palette.scss +8 -2
- package/build.js +15 -1
- package/config.highcontrast.dark.json +23 -0
- package/config.highcontrast.json +24 -0
- package/config.palette-colors.json +1 -1
- package/package.json +1 -1
- package/patternfly-docs/content/token-layers-dark.json +4118 -1632
- package/patternfly-docs/content/token-layers-default.json +3459 -1329
- package/patternfly-docs/content/tokensTable.css +16 -3
- package/patternfly-docs/content/tokensTable.js +7 -5
- package/plugins/export-patternfly-tokens/dist/code.js +87 -0
- package/plugins/export-patternfly-tokens/dist/ui.html +34212 -0
- package/plugins/export-patternfly-tokens/src/ui.tsx +12 -4
- package/tokens/dark/base.dark.json +66 -38
- package/tokens/dark/charts.dark.json +8 -8
- package/tokens/dark/palette.color.json +24 -0
- package/tokens/dark/semantic.dark.json +4 -0
- package/tokens/default/base.dimension.json +14 -10
- package/tokens/default/base.json +165 -1
- package/tokens/default/charts.json +8 -8
- package/tokens/default/palette.color.json +24 -0
- package/tokens/default/semantic.dimension.json +22 -22
- package/tokens/default/semantic.json +4 -0
- package/tokens/default/semantic.motion.json +28 -28
- package/tokens/highcontrast/base.json +559 -0
- package/tokens/highcontrast/palette.color.json +319 -0
- package/tokens/highcontrast/semantic.highcontrast.json +1758 -0
- package/tokens/highcontrast-dark/base.dark.json +421 -0
- package/tokens/highcontrast-dark/palette.color.json +319 -0
- package/tokens/highcontrast-dark/semantic.highcontrast.dark.json +1758 -0
|
@@ -270,6 +270,10 @@
|
|
|
270
270
|
}
|
|
271
271
|
}
|
|
272
272
|
},
|
|
273
|
+
"letter-spacing": {
|
|
274
|
+
"type": "string",
|
|
275
|
+
"value": "normal"
|
|
276
|
+
},
|
|
273
277
|
"FontSize": {
|
|
274
278
|
"xs": {
|
|
275
279
|
"type": "number",
|
|
@@ -288,14 +292,6 @@
|
|
|
288
292
|
"value": 22
|
|
289
293
|
}
|
|
290
294
|
},
|
|
291
|
-
"letter-spacing": {
|
|
292
|
-
"type": "string",
|
|
293
|
-
"value": "normal"
|
|
294
|
-
},
|
|
295
|
-
"stroke-line-cap": {
|
|
296
|
-
"type": "string",
|
|
297
|
-
"value": "round"
|
|
298
|
-
},
|
|
299
295
|
"label": {
|
|
300
296
|
"padding": {
|
|
301
297
|
"type": "number",
|
|
@@ -322,6 +318,10 @@
|
|
|
322
318
|
"value": "{color.gray.90}"
|
|
323
319
|
}
|
|
324
320
|
},
|
|
321
|
+
"stroke-line-cap": {
|
|
322
|
+
"type": "string",
|
|
323
|
+
"value": "round"
|
|
324
|
+
},
|
|
325
325
|
"layout": {
|
|
326
326
|
"padding": {
|
|
327
327
|
"type": "number",
|
|
@@ -79,6 +79,10 @@
|
|
|
79
79
|
"70": {
|
|
80
80
|
"type": "color",
|
|
81
81
|
"value": "#003366"
|
|
82
|
+
},
|
|
83
|
+
"80": {
|
|
84
|
+
"type": "color",
|
|
85
|
+
"value": "#002250"
|
|
82
86
|
}
|
|
83
87
|
},
|
|
84
88
|
"teal": {
|
|
@@ -109,6 +113,10 @@
|
|
|
109
113
|
"70": {
|
|
110
114
|
"type": "color",
|
|
111
115
|
"value": "#004d4d"
|
|
116
|
+
},
|
|
117
|
+
"80": {
|
|
118
|
+
"type": "color",
|
|
119
|
+
"value": "#003333"
|
|
112
120
|
}
|
|
113
121
|
},
|
|
114
122
|
"yellow": {
|
|
@@ -139,6 +147,10 @@
|
|
|
139
147
|
"70": {
|
|
140
148
|
"type": "color",
|
|
141
149
|
"value": "#73480b"
|
|
150
|
+
},
|
|
151
|
+
"80": {
|
|
152
|
+
"type": "color",
|
|
153
|
+
"value": "#54330b"
|
|
142
154
|
}
|
|
143
155
|
},
|
|
144
156
|
"green": {
|
|
@@ -199,6 +211,10 @@
|
|
|
199
211
|
"70": {
|
|
200
212
|
"type": "color",
|
|
201
213
|
"value": "#732e00"
|
|
214
|
+
},
|
|
215
|
+
"80": {
|
|
216
|
+
"type": "color",
|
|
217
|
+
"value": "#4d1f00"
|
|
202
218
|
}
|
|
203
219
|
},
|
|
204
220
|
"red-orange": {
|
|
@@ -259,6 +275,10 @@
|
|
|
259
275
|
"70": {
|
|
260
276
|
"type": "color",
|
|
261
277
|
"value": "#21134d"
|
|
278
|
+
},
|
|
279
|
+
"80": {
|
|
280
|
+
"type": "color",
|
|
281
|
+
"value": "#1b0d33"
|
|
262
282
|
}
|
|
263
283
|
},
|
|
264
284
|
"red": {
|
|
@@ -289,6 +309,10 @@
|
|
|
289
309
|
"70": {
|
|
290
310
|
"type": "color",
|
|
291
311
|
"value": "#5f0000"
|
|
312
|
+
},
|
|
313
|
+
"80": {
|
|
314
|
+
"type": "color",
|
|
315
|
+
"value": "#3f0000"
|
|
292
316
|
}
|
|
293
317
|
}
|
|
294
318
|
}
|
|
@@ -359,24 +359,12 @@
|
|
|
359
359
|
"type": "number",
|
|
360
360
|
"value": "{global.icon.size.400}"
|
|
361
361
|
},
|
|
362
|
+
"3xl": {
|
|
363
|
+
"description": "Use for triple extra large icons.",
|
|
364
|
+
"type": "number",
|
|
365
|
+
"value": "{global.icon.size.500}"
|
|
366
|
+
},
|
|
362
367
|
"font": {
|
|
363
|
-
"body": {
|
|
364
|
-
"sm": {
|
|
365
|
-
"description": "Use for icons that are placed inline with small body text",
|
|
366
|
-
"type": "number",
|
|
367
|
-
"value": "{global.font.size.body.sm}"
|
|
368
|
-
},
|
|
369
|
-
"default": {
|
|
370
|
-
"description": "Use for icons that are placed inline with default body text",
|
|
371
|
-
"type": "number",
|
|
372
|
-
"value": "{global.font.size.body.default}"
|
|
373
|
-
},
|
|
374
|
-
"lg": {
|
|
375
|
-
"description": "Use for icons that are placed inline with large body text",
|
|
376
|
-
"type": "number",
|
|
377
|
-
"value": "{global.font.size.body.lg}"
|
|
378
|
-
}
|
|
379
|
-
},
|
|
380
368
|
"heading": {
|
|
381
369
|
"h1": {
|
|
382
370
|
"description": "Use for icons that are placed inline with first level headings",
|
|
@@ -409,6 +397,23 @@
|
|
|
409
397
|
"value": "{global.font.size.heading.h6}"
|
|
410
398
|
}
|
|
411
399
|
},
|
|
400
|
+
"body": {
|
|
401
|
+
"sm": {
|
|
402
|
+
"description": "Use for icons that are placed inline with small body text",
|
|
403
|
+
"type": "number",
|
|
404
|
+
"value": "{global.font.size.body.sm}"
|
|
405
|
+
},
|
|
406
|
+
"default": {
|
|
407
|
+
"description": "Use for icons that are placed inline with default body text",
|
|
408
|
+
"type": "number",
|
|
409
|
+
"value": "{global.font.size.body.default}"
|
|
410
|
+
},
|
|
411
|
+
"lg": {
|
|
412
|
+
"description": "Use for icons that are placed inline with large body text",
|
|
413
|
+
"type": "number",
|
|
414
|
+
"value": "{global.font.size.body.lg}"
|
|
415
|
+
}
|
|
416
|
+
},
|
|
412
417
|
"xs": {
|
|
413
418
|
"description": "Use for icons that are placed inline with font–size–xs text",
|
|
414
419
|
"type": "number",
|
|
@@ -449,11 +454,6 @@
|
|
|
449
454
|
"type": "number",
|
|
450
455
|
"value": "{global.font.size.4xl}"
|
|
451
456
|
}
|
|
452
|
-
},
|
|
453
|
-
"3xl": {
|
|
454
|
-
"description": "Use for triple extra large icons.",
|
|
455
|
-
"type": "number",
|
|
456
|
-
"value": "{global.icon.size.500}"
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
459
|
},
|
|
@@ -967,6 +967,10 @@
|
|
|
967
967
|
"value": "{global.border.color.50}"
|
|
968
968
|
}
|
|
969
969
|
},
|
|
970
|
+
"high-contrast": {
|
|
971
|
+
"type": "color",
|
|
972
|
+
"value": "rgba(255, 255, 255, 0.0000)"
|
|
973
|
+
},
|
|
970
974
|
"brand": {
|
|
971
975
|
"default": {
|
|
972
976
|
"description": "Use as the default border color for any branded element, like color-coded labels, banners, etc.",
|
|
@@ -38,72 +38,72 @@
|
|
|
38
38
|
"type": "number",
|
|
39
39
|
"value": "{global.duration.600}"
|
|
40
40
|
},
|
|
41
|
-
"
|
|
41
|
+
"slide-in": {
|
|
42
42
|
"short": {
|
|
43
|
-
"description": "Use a short
|
|
43
|
+
"description": "Use for a short duration of a slide-in animation, which moves an offscreen element into the viewport.",
|
|
44
44
|
"type": "number",
|
|
45
|
-
"value": "{global.motion.duration.
|
|
45
|
+
"value": "{global.motion.duration.lg}"
|
|
46
46
|
},
|
|
47
47
|
"default": {
|
|
48
|
-
"description": "Use a default
|
|
48
|
+
"description": "Use for a default duration of a slide-in animation, which moves an offscreen element into the viewport.",
|
|
49
49
|
"type": "number",
|
|
50
|
-
"value": "{global.motion.duration.
|
|
50
|
+
"value": "{global.motion.duration.xl}"
|
|
51
51
|
},
|
|
52
52
|
"long": {
|
|
53
|
-
"description": "Use a
|
|
53
|
+
"description": "Use for a longer duration of a slide-in animation, which moves an offscreen element into the viewport.",
|
|
54
54
|
"type": "number",
|
|
55
|
-
"value": "{global.motion.duration.
|
|
55
|
+
"value": "{global.motion.duration.2xl}"
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
|
-
"
|
|
58
|
+
"icon": {
|
|
59
59
|
"short": {
|
|
60
|
-
"description": "Use
|
|
60
|
+
"description": "Use a short duration on an icon that requires a fast/snappy transition. Used to define the speed at which an icon may animate. Used on a notification badge(stateful button).",
|
|
61
61
|
"type": "number",
|
|
62
|
-
"value": "{global.motion.duration.
|
|
62
|
+
"value": "{global.motion.duration.xs}"
|
|
63
63
|
},
|
|
64
64
|
"default": {
|
|
65
|
-
"description": "Use
|
|
65
|
+
"description": "Use a default duration on an icon that requires a moderately timed transition. Used to define the speed at which an icon may animate. Used on a favoriting star(icon button).",
|
|
66
66
|
"type": "number",
|
|
67
|
-
"value": "{global.motion.duration.
|
|
67
|
+
"value": "{global.motion.duration.sm}"
|
|
68
68
|
},
|
|
69
69
|
"long": {
|
|
70
|
-
"description": "Use
|
|
70
|
+
"description": "Use a long duration on an icon that requires a slow transition. Used to define the speed at which an icon may animate. Used on the settings cog icon(plain menu toggle).",
|
|
71
71
|
"type": "number",
|
|
72
|
-
"value": "{global.motion.duration.
|
|
72
|
+
"value": "{global.motion.duration.md}"
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
|
-
"
|
|
75
|
+
"fade": {
|
|
76
76
|
"short": {
|
|
77
|
-
"description": "Use
|
|
77
|
+
"description": "Use a short/quick fade to transition color and/or opacity. Useful for fading in one or more elements. Short fades are used for small elements traveling short distances. Used in small interactions like buttons.",
|
|
78
78
|
"type": "number",
|
|
79
|
-
"value": "{global.motion.duration.
|
|
79
|
+
"value": "{global.motion.duration.sm}"
|
|
80
80
|
},
|
|
81
81
|
"default": {
|
|
82
|
-
"description": "Use
|
|
82
|
+
"description": "Use a default fade to transition color and/or opacity. Useful for fading in one or more elements. Default fades are used for medium sized elements traveling medium distances. Used on alerts.",
|
|
83
83
|
"type": "number",
|
|
84
|
-
"value": "{global.motion.duration.
|
|
84
|
+
"value": "{global.motion.duration.md}"
|
|
85
85
|
},
|
|
86
86
|
"long": {
|
|
87
|
-
"description": "Use
|
|
87
|
+
"description": "Use a long fade to transition color and/or opacity. Useful for fading in one or more elements. Long fades are used for large elements traveling long distances.",
|
|
88
88
|
"type": "number",
|
|
89
|
-
"value": "{global.motion.duration.
|
|
89
|
+
"value": "{global.motion.duration.lg}"
|
|
90
90
|
}
|
|
91
91
|
},
|
|
92
|
-
"
|
|
92
|
+
"slide-out": {
|
|
93
93
|
"short": {
|
|
94
|
-
"description": "Use a
|
|
94
|
+
"description": "Use for a shorter duration of a slide-out animation, which moves an element out of the viewport.",
|
|
95
95
|
"type": "number",
|
|
96
|
-
"value": "{global.motion.duration.
|
|
96
|
+
"value": "{global.motion.duration.lg}"
|
|
97
97
|
},
|
|
98
98
|
"default": {
|
|
99
|
-
"description": "Use
|
|
99
|
+
"description": "Use as the default duration of a slide-out animation, which moves an element out of the viewport.",
|
|
100
100
|
"type": "number",
|
|
101
|
-
"value": "{global.motion.duration.
|
|
101
|
+
"value": "{global.motion.duration.xl}"
|
|
102
102
|
},
|
|
103
103
|
"long": {
|
|
104
|
-
"description": "Use a
|
|
104
|
+
"description": "Use for a longer duration of a slide-out animation, which moves an element out of the viewport.",
|
|
105
105
|
"type": "number",
|
|
106
|
-
"value": "{global.motion.duration.
|
|
106
|
+
"value": "{global.motion.duration.2xl}"
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
},
|