@patternfly/design-tokens 1.15.0 → 1.15.2

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.
Files changed (78) hide show
  1. package/build/css/tokens-dark.scss +17 -16
  2. package/build/css/tokens-default.scss +11 -9
  3. package/build/css/{tokens-redhat-dark.scss → tokens-felt-dark.scss} +8 -2
  4. package/build/css/{tokens-redhat-glass-dark.scss → tokens-felt-glass-dark.scss} +16 -6
  5. package/build/css/tokens-felt-glass.scss +30 -0
  6. package/build/css/{tokens-redhat-highcontrast-dark.scss → tokens-felt-highcontrast-dark.scss} +5 -9
  7. package/build/css/tokens-felt-highcontrast.scss +121 -0
  8. package/build/css/{tokens-redhat.scss → tokens-felt.scss} +1 -1
  9. package/build/css/tokens-glass-dark.scss +10 -6
  10. package/build/css/tokens-glass.scss +14 -7
  11. package/build/css/tokens-palette.scss +1 -1
  12. package/build/css/tokens-redhat-highcontrast.scss +641 -10
  13. package/build.js +80 -37
  14. package/{config.redhat-dark.json → config.felt-dark.json} +2 -2
  15. package/{config.redhat-glass-dark.json → config.felt-glass-dark.json} +2 -2
  16. package/{config.redhat-glass.json → config.felt-glass.json} +2 -2
  17. package/{config.redhat-highcontrast-dark.json → config.felt-highcontrast-dark.json} +2 -2
  18. package/{config.redhat.json → config.felt.json} +2 -2
  19. package/{config.layers.redhat-dark.json → config.layers.felt-dark.json} +2 -2
  20. package/{config.layers.redhat-glass-dark.json → config.layers.felt-glass-dark.json} +2 -2
  21. package/{config.layers.redhat-glass.json → config.layers.felt-glass.json} +2 -2
  22. package/{config.layers.redhat-highcontrast-dark.json → config.layers.felt-highcontrast-dark.json} +2 -2
  23. package/package.json +1 -1
  24. package/patternfly-docs/content/token-layers-felt-dark.json +48543 -0
  25. package/patternfly-docs/content/token-layers-felt-glass-dark.json +37670 -0
  26. package/patternfly-docs/content/token-layers-felt-glass.json +52576 -0
  27. package/patternfly-docs/content/token-layers-felt-highcontrast-dark.json +38323 -0
  28. package/patternfly-docs/content/token-layers-glass-dark.json +3225 -3126
  29. package/patternfly-docs/content/token-layers-glass.json +14804 -2938
  30. package/patternfly-docs/content/token-layers-highcontrast-dark.json +3200 -2956
  31. package/patternfly-docs/content/token-layers-highcontrast.json +4665 -4428
  32. package/patternfly-docs/content/token-layers-redhat-dark.json +429 -346
  33. package/patternfly-docs/content/token-layers-redhat-glass-dark.json +638 -541
  34. package/patternfly-docs/content/token-layers-redhat-glass.json +12354 -484
  35. package/patternfly-docs/content/token-layers-redhat-highcontrast-dark.json +309 -226
  36. package/patternfly-docs/content/token-layers-redhat-highcontrast.json +5248 -4689
  37. package/patternfly-docs/content/token-layers-redhat.json +6681 -6126
  38. package/plugins/export-patternfly-tokens/dist/ui.html +344 -334
  39. package/plugins/export-patternfly-tokens/src/ui.tsx +44 -34
  40. package/tokens/default/dark/base.dark.json +44 -44
  41. package/tokens/default/dark/charts.dark.json +33 -33
  42. package/tokens/default/dark/charts.highcontrast.dark.json +765 -0
  43. package/tokens/default/dark/palette.color.json +4 -4
  44. package/tokens/default/dark/semantic.dark.json +144 -130
  45. package/tokens/default/glass/base.dimension.json +24 -24
  46. package/tokens/default/glass/palette.color.json +4 -4
  47. package/tokens/default/glass/semantic.dimension.glass.json +1105 -0
  48. package/tokens/default/glass/semantic.glass.json +143 -129
  49. package/tokens/default/glass-dark/base.dark.json +44 -44
  50. package/tokens/default/glass-dark/palette.color.json +4 -4
  51. package/tokens/default/glass-dark/semantic.glass.dark.json +147 -133
  52. package/tokens/default/highcontrast/base.dimension.json +24 -24
  53. package/tokens/default/highcontrast/palette.color.json +4 -4
  54. package/tokens/default/highcontrast/semantic.dimension.highcontrast.json +143 -135
  55. package/tokens/default/highcontrast/semantic.highcontrast.json +137 -123
  56. package/tokens/default/highcontrast-dark/base.dark.json +44 -44
  57. package/tokens/default/highcontrast-dark/palette.color.json +4 -4
  58. package/tokens/default/highcontrast-dark/semantic.highcontrast.dark.json +141 -127
  59. package/tokens/default/light/base.dimension.json +24 -24
  60. package/tokens/default/light/charts.highcontrast.json +765 -0
  61. package/tokens/default/light/charts.json +33 -33
  62. package/tokens/default/light/palette.color.json +4 -4
  63. package/tokens/default/light/semantic.dimension.json +144 -136
  64. package/tokens/default/light/semantic.json +137 -123
  65. package/tokens/default/light/semantic.motion.json +14 -14
  66. package/tokens/{redhat/dark/redhat.color.dark.json → felt/dark/felt.color.dark.json} +30 -30
  67. package/tokens/{redhat/glass/redhat.color.glass.json → felt/glass/felt.color.glass.json} +10 -10
  68. package/tokens/{redhat/highcontrast/redhat.dimension.highcontrast.json → felt/glass/felt.dimension.glass.json} +6 -6
  69. package/tokens/{redhat/glass-dark/redhat.color.glass.dark.json → felt/glass-dark/felt.color.glass.dark.json} +30 -25
  70. package/tokens/{redhat/highcontrast/redhat.color.highcontrast.json → felt/highcontrast/felt.color.highcontrast.json} +10 -10
  71. package/tokens/{redhat/light/redhat.dimension.json → felt/highcontrast/felt.dimension.highcontrast.json} +6 -6
  72. package/tokens/{redhat/highcontrast-dark/redhat.color.highcontrast.dark.json → felt/highcontrast-dark/felt.color.highcontrast.dark.json} +10 -10
  73. package/tokens/{redhat/light/redhat.color.json → felt/light/felt.color.json} +10 -10
  74. package/tokens/felt/light/felt.dimension.json +23 -0
  75. package/build/css/tokens-redhat-glass.scss +0 -21
  76. /package/{config.redhat-highcontrast.json → config.felt-highcontrast.json} +0 -0
  77. /package/{config.layers.redhat-highcontrast.json → config.layers.felt-highcontrast.json} +0 -0
  78. /package/{config.layers.redhat.json → config.layers.felt.json} +0 -0
@@ -9,15 +9,15 @@
9
9
  "type": "color",
10
10
  "value": "{global.dark.color.brand.accent.200}"
11
11
  },
12
- "default": {
13
- "description": "Use this color for elements that you want to reinforce your brand",
14
- "type": "color",
15
- "value": "{global.dark.color.brand.accent.100}"
16
- },
17
12
  "clicked": {
18
13
  "description": "Use as the clicked state for elements that have a brand background color",
19
14
  "type": "color",
20
15
  "value": "{global.dark.color.brand.accent.200}"
16
+ },
17
+ "default": {
18
+ "description": "Use this color for elements that you want to reinforce your brand",
19
+ "type": "color",
20
+ "value": "{global.dark.color.brand.accent.100}"
21
21
  }
22
22
  }
23
23
  }
@@ -26,11 +26,6 @@
26
26
  "color": {
27
27
  "brand": {
28
28
  "accent": {
29
- "default": {
30
- "description": "Use as the default border color for any branded element, like color-coded labels, banners, etc.",
31
- "type": "color",
32
- "value": "{global.dark.color.brand.accent.400}"
33
- },
34
29
  "hover": {
35
30
  "description": "Use as the hover state border color for any branded element, like color-coded labels, banners, etc.",
36
31
  "type": "color",
@@ -40,6 +35,11 @@
40
35
  "description": "Use as the clicked state border color for any branded element, like color-coded labels, banners, etc.",
41
36
  "type": "color",
42
37
  "value": "{global.dark.color.brand.accent.400}"
38
+ },
39
+ "default": {
40
+ "description": "Use as the default border color for any branded element, like color-coded labels, banners, etc.",
41
+ "type": "color",
42
+ "value": "{global.dark.color.brand.accent.400}"
43
43
  }
44
44
  }
45
45
  }
@@ -49,13 +49,13 @@
49
49
  "color": {
50
50
  "on-brand": {
51
51
  "accent": {
52
- "hover": {
53
- "description": "Use as the hover state color for text placed on a brand-colored background.",
52
+ "clicked": {
53
+ "description": "Use as the clicked state color for text placed on a brand-colored background.",
54
54
  "type": "color",
55
55
  "value": "{global.text.color.regular}"
56
56
  },
57
- "clicked": {
58
- "description": "Use as the clicked state color for text placed on a brand-colored background.",
57
+ "hover": {
58
+ "description": "Use as the hover state color for text placed on a brand-colored background.",
59
59
  "type": "color",
60
60
  "value": "{global.text.color.regular}"
61
61
  },
@@ -70,31 +70,36 @@
70
70
  },
71
71
  "icon": {
72
72
  "color": {
73
- "on-brand": {
73
+ "brand": {
74
74
  "accent": {
75
75
  "hover": {
76
- "description": "Use as the hover state color for icons that are placed on a brand background color and/or are paired with on-brand colored text.",
76
+ "description": "Use as the hover state color for icons that convey your brand and/or are paired with branded text color.",
77
77
  "type": "color",
78
- "value": "{global.icon.color.regular}"
78
+ "value": "{global.dark.color.brand.accent.300}"
79
79
  },
80
80
  "clicked": {
81
- "description": "Use as the clicked state color for icons that are placed on a brand background color and/or are paired with on-brand colored text.",
81
+ "description": "Use as the clicked state for icons that convey your brand and/or are paired with branded text color.",
82
82
  "type": "color",
83
- "value": "{global.icon.color.regular}"
83
+ "value": "{global.dark.color.brand.accent.300}"
84
84
  }
85
85
  }
86
86
  },
87
- "brand": {
87
+ "on-brand": {
88
88
  "accent": {
89
- "clicked": {
90
- "description": "Use as the clicked state for icons that convey your brand and/or are paired with branded text color.",
89
+ "default": {
90
+ "description": "Use as the default color for icons that are placed on a brand background color and/or are paired with on-brand colored text.",
91
91
  "type": "color",
92
- "value": "{global.dark.color.brand.accent.300}"
92
+ "value": "{global.icon.color.regular}"
93
93
  },
94
94
  "hover": {
95
- "description": "Use as the hover state color for icons that convey your brand and/or are paired with branded text color.",
95
+ "description": "Use as the hover state color for icons that are placed on a brand background color and/or are paired with on-brand colored text.",
96
96
  "type": "color",
97
- "value": "{global.dark.color.brand.accent.300}"
97
+ "value": "{global.icon.color.regular}"
98
+ },
99
+ "clicked": {
100
+ "description": "Use as the clicked state color for icons that are placed on a brand background color and/or are paired with on-brand colored text.",
101
+ "type": "color",
102
+ "value": "{global.icon.color.regular}"
98
103
  }
99
104
  }
100
105
  }
@@ -9,15 +9,15 @@
9
9
  "type": "color",
10
10
  "value": "{global.color.brand.accent.300}"
11
11
  },
12
- "default": {
13
- "description": "Use this color for elements that you want to reinforce your brand",
14
- "type": "color",
15
- "value": "{global.color.brand.accent.400}"
16
- },
17
12
  "clicked": {
18
13
  "description": "Use as the clicked state for elements that have a brand background color",
19
14
  "type": "color",
20
15
  "value": "{global.color.brand.accent.300}"
16
+ },
17
+ "default": {
18
+ "description": "Use this color for elements that you want to reinforce your brand",
19
+ "type": "color",
20
+ "value": "{global.color.brand.accent.400}"
21
21
  }
22
22
  }
23
23
  }
@@ -26,11 +26,6 @@
26
26
  "color": {
27
27
  "brand": {
28
28
  "accent": {
29
- "default": {
30
- "description": "Use as the default border color for any branded element, like color-coded labels, banners, etc.",
31
- "type": "color",
32
- "value": "{global.color.brand.accent.400}"
33
- },
34
29
  "hover": {
35
30
  "description": "Use as the hover state border color for any branded element, like color-coded labels, banners, etc.",
36
31
  "type": "color",
@@ -40,6 +35,11 @@
40
35
  "description": "Use as the clicked state border color for any branded element, like color-coded labels, banners, etc.",
41
36
  "type": "color",
42
37
  "value": "{global.color.brand.accent.400}"
38
+ },
39
+ "default": {
40
+ "description": "Use as the default border color for any branded element, like color-coded labels, banners, etc.",
41
+ "type": "color",
42
+ "value": "{global.color.brand.accent.400}"
43
43
  }
44
44
  }
45
45
  }
@@ -3,6 +3,12 @@
3
3
  "global": {
4
4
  "border": {
5
5
  "radius": {
6
+ "control": {
7
+ "default": {
8
+ "type": "number",
9
+ "value": "{global.border.radius.pill}"
10
+ }
11
+ },
6
12
  "action": {
7
13
  "plain": {
8
14
  "default": {
@@ -10,12 +16,6 @@
10
16
  "value": "{global.border.radius.pill}"
11
17
  }
12
18
  }
13
- },
14
- "control": {
15
- "default": {
16
- "type": "number",
17
- "value": "{global.border.radius.pill}"
18
- }
19
19
  }
20
20
  }
21
21
  }
@@ -9,15 +9,15 @@
9
9
  "type": "color",
10
10
  "value": "{global.dark.color.brand.accent.350}"
11
11
  },
12
- "default": {
13
- "description": "Use this color for elements that you want to reinforce your brand",
14
- "type": "color",
15
- "value": "{global.dark.color.brand.accent.400}"
16
- },
17
12
  "clicked": {
18
13
  "description": "Use as the clicked state for elements that have a brand background color",
19
14
  "type": "color",
20
15
  "value": "{global.dark.color.brand.accent.350}"
16
+ },
17
+ "default": {
18
+ "description": "Use this color for elements that you want to reinforce your brand",
19
+ "type": "color",
20
+ "value": "{global.dark.color.brand.accent.400}"
21
21
  }
22
22
  }
23
23
  }
@@ -26,11 +26,6 @@
26
26
  "color": {
27
27
  "brand": {
28
28
  "accent": {
29
- "default": {
30
- "description": "Use as the default border color for any branded element, like color-coded labels, banners, etc.",
31
- "type": "color",
32
- "value": "{global.dark.color.brand.accent.400}"
33
- },
34
29
  "hover": {
35
30
  "description": "Use as the hover state border color for any branded element, like color-coded labels, banners, etc.",
36
31
  "type": "color",
@@ -40,6 +35,11 @@
40
35
  "description": "Use as the clicked state border color for any branded element, like color-coded labels, banners, etc.",
41
36
  "type": "color",
42
37
  "value": "{global.dark.color.brand.accent.400}"
38
+ },
39
+ "default": {
40
+ "description": "Use as the default border color for any branded element, like color-coded labels, banners, etc.",
41
+ "type": "color",
42
+ "value": "{global.dark.color.brand.accent.400}"
43
43
  }
44
44
  }
45
45
  }
@@ -9,15 +9,15 @@
9
9
  "type": "color",
10
10
  "value": "{global.color.brand.accent.200}"
11
11
  },
12
- "default": {
13
- "description": "Use this color for elements that you want to reinforce your brand",
14
- "type": "color",
15
- "value": "{global.color.brand.accent.100}"
16
- },
17
12
  "clicked": {
18
13
  "description": "Use as the clicked state for elements that have a brand background color",
19
14
  "type": "color",
20
15
  "value": "{global.color.brand.accent.200}"
16
+ },
17
+ "default": {
18
+ "description": "Use this color for elements that you want to reinforce your brand",
19
+ "type": "color",
20
+ "value": "{global.color.brand.accent.100}"
21
21
  }
22
22
  }
23
23
  }
@@ -26,11 +26,6 @@
26
26
  "color": {
27
27
  "brand": {
28
28
  "accent": {
29
- "default": {
30
- "description": "Use as the default border color for any branded element, like color-coded labels, banners, etc.",
31
- "type": "color",
32
- "value": "{global.color.brand.accent.400}"
33
- },
34
29
  "hover": {
35
30
  "description": "Use as the hover state border color for any branded element, like color-coded labels, banners, etc.",
36
31
  "type": "color",
@@ -40,6 +35,11 @@
40
35
  "description": "Use as the clicked state border color for any branded element, like color-coded labels, banners, etc.",
41
36
  "type": "color",
42
37
  "value": "{global.color.brand.accent.400}"
38
+ },
39
+ "default": {
40
+ "description": "Use as the default border color for any branded element, like color-coded labels, banners, etc.",
41
+ "type": "color",
42
+ "value": "{global.color.brand.accent.400}"
43
43
  }
44
44
  }
45
45
  }
@@ -0,0 +1,23 @@
1
+
2
+ {
3
+ "global": {
4
+ "border": {
5
+ "radius": {
6
+ "control": {
7
+ "default": {
8
+ "type": "number",
9
+ "value": "{global.border.radius.pill}"
10
+ }
11
+ },
12
+ "action": {
13
+ "plain": {
14
+ "default": {
15
+ "type": "number",
16
+ "value": "{global.border.radius.pill}"
17
+ }
18
+ }
19
+ }
20
+ }
21
+ }
22
+ }
23
+ }
@@ -1,21 +0,0 @@
1
-
2
- // Do not edit directly
3
- // Generated on Mon, 09 Mar 2026 19:57:04 GMT
4
-
5
- // Only tokens that differ from base theme (14 tokens)
6
- @mixin pf-v6-tokens {
7
- --pf-t--global--background--color--glass--primary: rgba(255, 255, 255, 0.5000);
8
- --pf-t--global--background--color--primary--clicked: rgba(242, 242, 242, 0.8000);
9
- --pf-t--global--background--color--primary--default: rgba(255, 255, 255, 0.8000);
10
- --pf-t--global--background--color--primary--hover: rgba(242, 242, 242, 0.8000);
11
- --pf-t--global--background--color--secondary--clicked: rgba(163, 163, 163, 0.3000);
12
- --pf-t--global--background--color--secondary--default: rgba(199, 199, 199, 0.3000);
13
- --pf-t--global--background--color--secondary--hover: rgba(163, 163, 163, 0.3000);
14
- --pf-t--global--background--filter--glass--blur--primary: blur(12.5px);
15
- --pf-t--global--border--color--brand--accent--clicked: var(--pf-t--global--color--brand--accent--400);
16
- --pf-t--global--border--color--brand--accent--default: var(--pf-t--global--color--brand--accent--400);
17
- --pf-t--global--border--color--brand--accent--hover: var(--pf-t--global--color--brand--accent--400);
18
- --pf-t--global--color--brand--accent--clicked: var(--pf-t--global--color--brand--accent--200);
19
- --pf-t--global--color--brand--accent--default: var(--pf-t--global--color--brand--accent--100);
20
- --pf-t--global--color--brand--accent--hover: var(--pf-t--global--color--brand--accent--200);
21
- }