@patternfly/design-tokens 1.14.9 → 1.15.1
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-dark.scss +16 -16
- package/build/css/tokens-default.scss +17 -15
- package/build/css/tokens-glass-dark.scss +21 -4
- package/build/css/tokens-glass.scss +17 -4
- package/build/css/tokens-palette.scss +1 -1
- package/build/css/tokens-redhat-dark.scss +9 -2
- package/build/css/tokens-redhat-glass-dark.scss +27 -4
- package/build/css/tokens-redhat-glass.scss +17 -4
- package/build/css/tokens-redhat-highcontrast-dark.scss +5 -4
- package/build/css/tokens-redhat-highcontrast.scss +2 -2
- package/build/css/tokens-redhat.scss +1 -1
- package/build.js +44 -1
- package/package.json +1 -1
- package/patternfly-docs/content/token-layers-glass-dark.json +497 -965
- package/patternfly-docs/content/token-layers-glass.json +12337 -991
- package/patternfly-docs/content/token-layers-highcontrast-dark.json +849 -553
- package/patternfly-docs/content/token-layers-highcontrast.json +1237 -927
- package/patternfly-docs/content/token-layers-redhat-dark.json +2731 -2662
- package/patternfly-docs/content/token-layers-redhat-glass-dark.json +1700 -2230
- package/patternfly-docs/content/token-layers-redhat-glass.json +12497 -1151
- package/patternfly-docs/content/token-layers-redhat-highcontrast-dark.json +500 -373
- package/patternfly-docs/content/token-layers-redhat-highcontrast.json +1304 -998
- package/patternfly-docs/content/token-layers-redhat.json +1650 -1340
- package/plugins/export-patternfly-tokens/dist/ui.html +32 -24
- package/plugins/export-patternfly-tokens/src/ui.tsx +8 -0
- package/tokens/default/dark/base.dark.json +5 -5
- package/tokens/default/dark/charts.dark.json +20 -20
- package/tokens/default/dark/semantic.dark.json +45 -36
- package/tokens/default/glass/base.dimension.json +16 -16
- package/tokens/default/glass/base.json +2 -2
- package/tokens/default/glass/semantic.dimension.glass.json +1109 -0
- package/tokens/default/glass/semantic.glass.json +49 -40
- package/tokens/default/glass-dark/base.dark.json +5 -5
- package/tokens/default/glass-dark/semantic.glass.dark.json +56 -47
- package/tokens/default/highcontrast/base.dimension.json +16 -16
- package/tokens/default/highcontrast/base.json +2 -2
- package/tokens/default/highcontrast/semantic.dimension.highcontrast.json +51 -39
- package/tokens/default/highcontrast/semantic.highcontrast.json +41 -32
- package/tokens/default/highcontrast-dark/base.dark.json +5 -5
- package/tokens/default/highcontrast-dark/semantic.highcontrast.dark.json +44 -35
- package/tokens/default/light/base.dimension.json +16 -16
- package/tokens/default/light/base.json +2 -2
- package/tokens/default/light/charts.json +20 -20
- package/tokens/default/light/semantic.dimension.json +51 -39
- package/tokens/default/light/semantic.json +41 -32
- package/tokens/default/light/semantic.motion.json +24 -24
- package/tokens/redhat/dark/redhat.color.dark.json +71 -24
- package/tokens/redhat/glass/redhat.color.glass.json +25 -25
- package/tokens/redhat/glass/redhat.dimension.glass.json +2 -0
- package/tokens/redhat/glass-dark/redhat.color.glass.dark.json +67 -25
- package/tokens/redhat/highcontrast/redhat.color.highcontrast.json +25 -25
- package/tokens/redhat/highcontrast/redhat.dimension.highcontrast.json +6 -6
- package/tokens/redhat/highcontrast-dark/redhat.color.highcontrast.dark.json +25 -25
- package/tokens/redhat/light/redhat.color.json +25 -25
- package/tokens/redhat/light/redhat.dimension.json +6 -6
|
@@ -2,31 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
"global": {
|
|
4
4
|
"background": {
|
|
5
|
-
"filter": {
|
|
6
|
-
"glass": {
|
|
7
|
-
"blur": {
|
|
8
|
-
"primary": {
|
|
9
|
-
"type": "number",
|
|
10
|
-
"value": 0
|
|
11
|
-
},
|
|
12
|
-
"floating": {
|
|
13
|
-
"type": "number",
|
|
14
|
-
"value": 0
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
5
|
"color": {
|
|
20
|
-
"glass": {
|
|
21
|
-
"primary": {
|
|
22
|
-
"type": "color",
|
|
23
|
-
"value": "{global.background.color.primary.default}"
|
|
24
|
-
},
|
|
25
|
-
"floating": {
|
|
26
|
-
"type": "color",
|
|
27
|
-
"value": "{global.background.color.floating.default}"
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
6
|
"primary": {
|
|
31
7
|
"default": {
|
|
32
8
|
"description": "Use as the primary background color for UI content such as cards, page sections, and other content areas.",
|
|
@@ -68,6 +44,14 @@
|
|
|
68
44
|
"value": "{global.background.color.600}"
|
|
69
45
|
}
|
|
70
46
|
},
|
|
47
|
+
"glass": {
|
|
48
|
+
"primary": {
|
|
49
|
+
"default": {
|
|
50
|
+
"type": "color",
|
|
51
|
+
"value": "{global.background.color.primary.default}"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
71
55
|
"floating": {
|
|
72
56
|
"default": {
|
|
73
57
|
"description": "Use as the background color for components that appear over other content, such as toast alerts, menus, modals, overlay drawers, etc.",
|
|
@@ -83,6 +67,19 @@
|
|
|
83
67
|
"description": "Use as the clicked state for floating backgrounds",
|
|
84
68
|
"type": "color",
|
|
85
69
|
"value": "{global.background.color.200}"
|
|
70
|
+
},
|
|
71
|
+
"secondary": {
|
|
72
|
+
"default": {
|
|
73
|
+
"type": "color",
|
|
74
|
+
"value": "{global.background.color.secondary.default}"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"sticky": {
|
|
79
|
+
"default": {
|
|
80
|
+
"description": "Use as the background color for components that appear over other content, such as toast alerts, menus, modals, overlay drawers, etc.",
|
|
81
|
+
"type": "color",
|
|
82
|
+
"value": "{global.background.color.100}"
|
|
86
83
|
}
|
|
87
84
|
},
|
|
88
85
|
"action": {
|
|
@@ -170,6 +167,14 @@
|
|
|
170
167
|
"value": "{global.background.color.500}"
|
|
171
168
|
}
|
|
172
169
|
},
|
|
170
|
+
"striped": {
|
|
171
|
+
"row": {
|
|
172
|
+
"default": {
|
|
173
|
+
"type": "color",
|
|
174
|
+
"value": "{global.background.color.700}"
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
},
|
|
173
178
|
"loading": {
|
|
174
179
|
"skeleton": {
|
|
175
180
|
"default": {
|
|
@@ -183,15 +188,13 @@
|
|
|
183
188
|
}
|
|
184
189
|
}
|
|
185
190
|
},
|
|
186
|
-
"
|
|
191
|
+
"filter": {
|
|
187
192
|
"glass": {
|
|
188
|
-
"
|
|
189
|
-
"
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
"type": "number",
|
|
194
|
-
"value": 100
|
|
193
|
+
"blur": {
|
|
194
|
+
"primary": {
|
|
195
|
+
"type": "number",
|
|
196
|
+
"value": 0
|
|
197
|
+
}
|
|
195
198
|
}
|
|
196
199
|
}
|
|
197
200
|
}
|
|
@@ -1282,6 +1285,12 @@
|
|
|
1282
1285
|
"type": "color",
|
|
1283
1286
|
"value": "{global.border.color.300}"
|
|
1284
1287
|
},
|
|
1288
|
+
"glass": {
|
|
1289
|
+
"default": {
|
|
1290
|
+
"type": "color",
|
|
1291
|
+
"value": "{global.border.color.subtle}"
|
|
1292
|
+
}
|
|
1293
|
+
},
|
|
1285
1294
|
"nonstatus": {
|
|
1286
1295
|
"red": {
|
|
1287
1296
|
"default": {
|
|
@@ -38,23 +38,6 @@
|
|
|
38
38
|
"type": "number",
|
|
39
39
|
"value": "{global.duration.600}"
|
|
40
40
|
},
|
|
41
|
-
"fade": {
|
|
42
|
-
"short": {
|
|
43
|
-
"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.",
|
|
44
|
-
"type": "number",
|
|
45
|
-
"value": "{global.motion.duration.sm}"
|
|
46
|
-
},
|
|
47
|
-
"default": {
|
|
48
|
-
"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.",
|
|
49
|
-
"type": "number",
|
|
50
|
-
"value": "{global.motion.duration.md}"
|
|
51
|
-
},
|
|
52
|
-
"long": {
|
|
53
|
-
"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.",
|
|
54
|
-
"type": "number",
|
|
55
|
-
"value": "{global.motion.duration.lg}"
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
41
|
"slide-out": {
|
|
59
42
|
"short": {
|
|
60
43
|
"description": "Use for a shorter duration of a slide-out animation, which moves an element out of the viewport.",
|
|
@@ -72,21 +55,21 @@
|
|
|
72
55
|
"value": "{global.motion.duration.2xl}"
|
|
73
56
|
}
|
|
74
57
|
},
|
|
75
|
-
"
|
|
58
|
+
"fade": {
|
|
76
59
|
"short": {
|
|
77
|
-
"description": "Use
|
|
60
|
+
"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
61
|
"type": "number",
|
|
79
|
-
"value": "{global.motion.duration.
|
|
62
|
+
"value": "{global.motion.duration.sm}"
|
|
80
63
|
},
|
|
81
64
|
"default": {
|
|
82
|
-
"description": "Use
|
|
65
|
+
"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
66
|
"type": "number",
|
|
84
|
-
"value": "{global.motion.duration.
|
|
67
|
+
"value": "{global.motion.duration.md}"
|
|
85
68
|
},
|
|
86
69
|
"long": {
|
|
87
|
-
"description": "Use
|
|
70
|
+
"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
71
|
"type": "number",
|
|
89
|
-
"value": "{global.motion.duration.
|
|
72
|
+
"value": "{global.motion.duration.lg}"
|
|
90
73
|
}
|
|
91
74
|
},
|
|
92
75
|
"icon": {
|
|
@@ -105,6 +88,23 @@
|
|
|
105
88
|
"type": "number",
|
|
106
89
|
"value": "{global.motion.duration.md}"
|
|
107
90
|
}
|
|
91
|
+
},
|
|
92
|
+
"slide-in": {
|
|
93
|
+
"short": {
|
|
94
|
+
"description": "Use for a short duration of a slide-in animation, which moves an offscreen element into the viewport.",
|
|
95
|
+
"type": "number",
|
|
96
|
+
"value": "{global.motion.duration.lg}"
|
|
97
|
+
},
|
|
98
|
+
"default": {
|
|
99
|
+
"description": "Use for a default duration of a slide-in animation, which moves an offscreen element into the viewport.",
|
|
100
|
+
"type": "number",
|
|
101
|
+
"value": "{global.motion.duration.xl}"
|
|
102
|
+
},
|
|
103
|
+
"long": {
|
|
104
|
+
"description": "Use for a longer duration of a slide-in animation, which moves an offscreen element into the viewport.",
|
|
105
|
+
"type": "number",
|
|
106
|
+
"value": "{global.motion.duration.2xl}"
|
|
107
|
+
}
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
110
|
"delay": {
|
|
@@ -1,12 +1,33 @@
|
|
|
1
1
|
|
|
2
2
|
{
|
|
3
3
|
"global": {
|
|
4
|
+
"color": {
|
|
5
|
+
"brand": {
|
|
6
|
+
"accent": {
|
|
7
|
+
"default": {
|
|
8
|
+
"description": "Use this color for elements that you want to reinforce your brand",
|
|
9
|
+
"type": "color",
|
|
10
|
+
"value": "{global.dark.color.brand.accent.100}"
|
|
11
|
+
},
|
|
12
|
+
"hover": {
|
|
13
|
+
"description": "Use as the hover state for elements that have a branded background color",
|
|
14
|
+
"type": "color",
|
|
15
|
+
"value": "{global.dark.color.brand.accent.200}"
|
|
16
|
+
},
|
|
17
|
+
"clicked": {
|
|
18
|
+
"description": "Use as the clicked state for elements that have a brand background color",
|
|
19
|
+
"type": "color",
|
|
20
|
+
"value": "{global.dark.color.brand.accent.200}"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
},
|
|
4
25
|
"border": {
|
|
5
26
|
"color": {
|
|
6
27
|
"brand": {
|
|
7
28
|
"accent": {
|
|
8
|
-
"
|
|
9
|
-
"description": "Use as the
|
|
29
|
+
"default": {
|
|
30
|
+
"description": "Use as the default border color for any branded element, like color-coded labels, banners, etc.",
|
|
10
31
|
"type": "color",
|
|
11
32
|
"value": "{global.dark.color.brand.accent.400}"
|
|
12
33
|
},
|
|
@@ -15,8 +36,8 @@
|
|
|
15
36
|
"type": "color",
|
|
16
37
|
"value": "{global.dark.color.brand.accent.400}"
|
|
17
38
|
},
|
|
18
|
-
"
|
|
19
|
-
"description": "Use as the
|
|
39
|
+
"clicked": {
|
|
40
|
+
"description": "Use as the clicked state border color for any branded element, like color-coded labels, banners, etc.",
|
|
20
41
|
"type": "color",
|
|
21
42
|
"value": "{global.dark.color.brand.accent.400}"
|
|
22
43
|
}
|
|
@@ -24,35 +45,61 @@
|
|
|
24
45
|
}
|
|
25
46
|
}
|
|
26
47
|
},
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
48
|
+
"text": {
|
|
49
|
+
"color": {
|
|
50
|
+
"on-brand": {
|
|
51
|
+
"accent": {
|
|
52
|
+
"hover": {
|
|
53
|
+
"description": "Use as the hover state color for text placed on a brand-colored background.",
|
|
54
|
+
"type": "color",
|
|
55
|
+
"value": "{global.text.color.regular}"
|
|
56
|
+
},
|
|
57
|
+
"default": {
|
|
58
|
+
"description": "Use as the default color for text placed on a brand-colored background.",
|
|
59
|
+
"type": "color",
|
|
60
|
+
"value": "{global.text.color.regular}"
|
|
61
|
+
},
|
|
62
|
+
"clicked": {
|
|
63
|
+
"description": "Use as the clicked state color for text placed on a brand-colored background.",
|
|
64
|
+
"type": "color",
|
|
65
|
+
"value": "{global.text.color.regular}"
|
|
66
|
+
}
|
|
44
67
|
}
|
|
45
68
|
}
|
|
46
69
|
}
|
|
47
70
|
},
|
|
48
|
-
"
|
|
71
|
+
"icon": {
|
|
49
72
|
"color": {
|
|
73
|
+
"brand": {
|
|
74
|
+
"accent": {
|
|
75
|
+
"hover": {
|
|
76
|
+
"description": "Use as the hover state color for icons that convey your brand and/or are paired with branded text color.",
|
|
77
|
+
"type": "color",
|
|
78
|
+
"value": "{global.dark.color.brand.accent.300}"
|
|
79
|
+
},
|
|
80
|
+
"clicked": {
|
|
81
|
+
"description": "Use as the clicked state for icons that convey your brand and/or are paired with branded text color.",
|
|
82
|
+
"type": "color",
|
|
83
|
+
"value": "{global.dark.color.brand.accent.300}"
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
},
|
|
50
87
|
"on-brand": {
|
|
51
88
|
"accent": {
|
|
52
89
|
"default": {
|
|
53
|
-
"description": "Use as the default color for
|
|
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.",
|
|
54
91
|
"type": "color",
|
|
55
|
-
"value": "{global.
|
|
92
|
+
"value": "{global.icon.color.regular}"
|
|
93
|
+
},
|
|
94
|
+
"clicked": {
|
|
95
|
+
"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.",
|
|
96
|
+
"type": "color",
|
|
97
|
+
"value": "{global.icon.color.regular}"
|
|
98
|
+
},
|
|
99
|
+
"hover": {
|
|
100
|
+
"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.",
|
|
101
|
+
"type": "color",
|
|
102
|
+
"value": "{global.icon.color.regular}"
|
|
56
103
|
}
|
|
57
104
|
}
|
|
58
105
|
}
|
|
@@ -1,12 +1,33 @@
|
|
|
1
1
|
|
|
2
2
|
{
|
|
3
3
|
"global": {
|
|
4
|
+
"color": {
|
|
5
|
+
"brand": {
|
|
6
|
+
"accent": {
|
|
7
|
+
"default": {
|
|
8
|
+
"description": "Use this color for elements that you want to reinforce your brand",
|
|
9
|
+
"type": "color",
|
|
10
|
+
"value": "{global.color.brand.accent.100}"
|
|
11
|
+
},
|
|
12
|
+
"hover": {
|
|
13
|
+
"description": "Use as the hover state for elements that have a branded background color",
|
|
14
|
+
"type": "color",
|
|
15
|
+
"value": "{global.color.brand.accent.200}"
|
|
16
|
+
},
|
|
17
|
+
"clicked": {
|
|
18
|
+
"description": "Use as the clicked state for elements that have a brand background color",
|
|
19
|
+
"type": "color",
|
|
20
|
+
"value": "{global.color.brand.accent.200}"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
},
|
|
4
25
|
"border": {
|
|
5
26
|
"color": {
|
|
6
27
|
"brand": {
|
|
7
28
|
"accent": {
|
|
8
|
-
"
|
|
9
|
-
"description": "Use as the
|
|
29
|
+
"default": {
|
|
30
|
+
"description": "Use as the default border color for any branded element, like color-coded labels, banners, etc.",
|
|
10
31
|
"type": "color",
|
|
11
32
|
"value": "{global.color.brand.accent.400}"
|
|
12
33
|
},
|
|
@@ -15,35 +36,14 @@
|
|
|
15
36
|
"type": "color",
|
|
16
37
|
"value": "{global.color.brand.accent.400}"
|
|
17
38
|
},
|
|
18
|
-
"
|
|
19
|
-
"description": "Use as the
|
|
39
|
+
"clicked": {
|
|
40
|
+
"description": "Use as the clicked state border color for any branded element, like color-coded labels, banners, etc.",
|
|
20
41
|
"type": "color",
|
|
21
42
|
"value": "{global.color.brand.accent.400}"
|
|
22
43
|
}
|
|
23
44
|
}
|
|
24
45
|
}
|
|
25
46
|
}
|
|
26
|
-
},
|
|
27
|
-
"color": {
|
|
28
|
-
"brand": {
|
|
29
|
-
"accent": {
|
|
30
|
-
"hover": {
|
|
31
|
-
"description": "Use as the hover state for elements that have a branded background color",
|
|
32
|
-
"type": "color",
|
|
33
|
-
"value": "{global.color.brand.accent.200}"
|
|
34
|
-
},
|
|
35
|
-
"clicked": {
|
|
36
|
-
"description": "Use as the clicked state for elements that have a brand background color",
|
|
37
|
-
"type": "color",
|
|
38
|
-
"value": "{global.color.brand.accent.200}"
|
|
39
|
-
},
|
|
40
|
-
"default": {
|
|
41
|
-
"description": "Use this color for elements that you want to reinforce your brand",
|
|
42
|
-
"type": "color",
|
|
43
|
-
"value": "{global.color.brand.accent.100}"
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -1,12 +1,33 @@
|
|
|
1
1
|
|
|
2
2
|
{
|
|
3
3
|
"global": {
|
|
4
|
+
"color": {
|
|
5
|
+
"brand": {
|
|
6
|
+
"accent": {
|
|
7
|
+
"default": {
|
|
8
|
+
"description": "Use this color for elements that you want to reinforce your brand",
|
|
9
|
+
"type": "color",
|
|
10
|
+
"value": "{global.dark.color.brand.accent.100}"
|
|
11
|
+
},
|
|
12
|
+
"hover": {
|
|
13
|
+
"description": "Use as the hover state for elements that have a branded background color",
|
|
14
|
+
"type": "color",
|
|
15
|
+
"value": "{global.dark.color.brand.accent.200}"
|
|
16
|
+
},
|
|
17
|
+
"clicked": {
|
|
18
|
+
"description": "Use as the clicked state for elements that have a brand background color",
|
|
19
|
+
"type": "color",
|
|
20
|
+
"value": "{global.dark.color.brand.accent.200}"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
},
|
|
4
25
|
"border": {
|
|
5
26
|
"color": {
|
|
6
27
|
"brand": {
|
|
7
28
|
"accent": {
|
|
8
|
-
"
|
|
9
|
-
"description": "Use as the
|
|
29
|
+
"default": {
|
|
30
|
+
"description": "Use as the default border color for any branded element, like color-coded labels, banners, etc.",
|
|
10
31
|
"type": "color",
|
|
11
32
|
"value": "{global.dark.color.brand.accent.400}"
|
|
12
33
|
},
|
|
@@ -15,8 +36,8 @@
|
|
|
15
36
|
"type": "color",
|
|
16
37
|
"value": "{global.dark.color.brand.accent.400}"
|
|
17
38
|
},
|
|
18
|
-
"
|
|
19
|
-
"description": "Use as the
|
|
39
|
+
"clicked": {
|
|
40
|
+
"description": "Use as the clicked state border color for any branded element, like color-coded labels, banners, etc.",
|
|
20
41
|
"type": "color",
|
|
21
42
|
"value": "{global.dark.color.brand.accent.400}"
|
|
22
43
|
}
|
|
@@ -24,35 +45,56 @@
|
|
|
24
45
|
}
|
|
25
46
|
}
|
|
26
47
|
},
|
|
27
|
-
"color": {
|
|
28
|
-
"brand": {
|
|
29
|
-
"accent": {
|
|
30
|
-
"hover": {
|
|
31
|
-
"description": "Use as the hover state for elements that have a branded background color",
|
|
32
|
-
"type": "color",
|
|
33
|
-
"value": "{global.dark.color.brand.accent.200}"
|
|
34
|
-
},
|
|
35
|
-
"clicked": {
|
|
36
|
-
"description": "Use as the clicked state for elements that have a brand background color",
|
|
37
|
-
"type": "color",
|
|
38
|
-
"value": "{global.dark.color.brand.accent.200}"
|
|
39
|
-
},
|
|
40
|
-
"default": {
|
|
41
|
-
"description": "Use this color for elements that you want to reinforce your brand",
|
|
42
|
-
"type": "color",
|
|
43
|
-
"value": "{global.dark.color.brand.accent.100}"
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
48
|
"text": {
|
|
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.",
|
|
54
|
+
"type": "color",
|
|
55
|
+
"value": "{global.text.color.regular}"
|
|
56
|
+
},
|
|
52
57
|
"default": {
|
|
53
58
|
"description": "Use as the default color for text placed on a brand-colored background.",
|
|
54
59
|
"type": "color",
|
|
55
60
|
"value": "{global.text.color.regular}"
|
|
61
|
+
},
|
|
62
|
+
"clicked": {
|
|
63
|
+
"description": "Use as the clicked state color for text placed on a brand-colored background.",
|
|
64
|
+
"type": "color",
|
|
65
|
+
"value": "{global.text.color.regular}"
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"icon": {
|
|
72
|
+
"color": {
|
|
73
|
+
"brand": {
|
|
74
|
+
"accent": {
|
|
75
|
+
"hover": {
|
|
76
|
+
"description": "Use as the hover state color for icons that convey your brand and/or are paired with branded text color.",
|
|
77
|
+
"type": "color",
|
|
78
|
+
"value": "{global.dark.color.brand.accent.300}"
|
|
79
|
+
},
|
|
80
|
+
"clicked": {
|
|
81
|
+
"description": "Use as the clicked state for icons that convey your brand and/or are paired with branded text color.",
|
|
82
|
+
"type": "color",
|
|
83
|
+
"value": "{global.dark.color.brand.accent.300}"
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"on-brand": {
|
|
88
|
+
"accent": {
|
|
89
|
+
"clicked": {
|
|
90
|
+
"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.",
|
|
91
|
+
"type": "color",
|
|
92
|
+
"value": "{global.icon.color.regular}"
|
|
93
|
+
},
|
|
94
|
+
"hover": {
|
|
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
|
+
"type": "color",
|
|
97
|
+
"value": "{global.icon.color.regular}"
|
|
56
98
|
}
|
|
57
99
|
}
|
|
58
100
|
}
|
|
@@ -1,12 +1,33 @@
|
|
|
1
1
|
|
|
2
2
|
{
|
|
3
3
|
"global": {
|
|
4
|
+
"color": {
|
|
5
|
+
"brand": {
|
|
6
|
+
"accent": {
|
|
7
|
+
"default": {
|
|
8
|
+
"description": "Use this color for elements that you want to reinforce your brand",
|
|
9
|
+
"type": "color",
|
|
10
|
+
"value": "{global.color.brand.accent.400}"
|
|
11
|
+
},
|
|
12
|
+
"hover": {
|
|
13
|
+
"description": "Use as the hover state for elements that have a branded background color",
|
|
14
|
+
"type": "color",
|
|
15
|
+
"value": "{global.color.brand.accent.300}"
|
|
16
|
+
},
|
|
17
|
+
"clicked": {
|
|
18
|
+
"description": "Use as the clicked state for elements that have a brand background color",
|
|
19
|
+
"type": "color",
|
|
20
|
+
"value": "{global.color.brand.accent.300}"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
},
|
|
4
25
|
"border": {
|
|
5
26
|
"color": {
|
|
6
27
|
"brand": {
|
|
7
28
|
"accent": {
|
|
8
|
-
"
|
|
9
|
-
"description": "Use as the
|
|
29
|
+
"default": {
|
|
30
|
+
"description": "Use as the default border color for any branded element, like color-coded labels, banners, etc.",
|
|
10
31
|
"type": "color",
|
|
11
32
|
"value": "{global.color.brand.accent.400}"
|
|
12
33
|
},
|
|
@@ -15,35 +36,14 @@
|
|
|
15
36
|
"type": "color",
|
|
16
37
|
"value": "{global.color.brand.accent.400}"
|
|
17
38
|
},
|
|
18
|
-
"
|
|
19
|
-
"description": "Use as the
|
|
39
|
+
"clicked": {
|
|
40
|
+
"description": "Use as the clicked state border color for any branded element, like color-coded labels, banners, etc.",
|
|
20
41
|
"type": "color",
|
|
21
42
|
"value": "{global.color.brand.accent.400}"
|
|
22
43
|
}
|
|
23
44
|
}
|
|
24
45
|
}
|
|
25
46
|
}
|
|
26
|
-
},
|
|
27
|
-
"color": {
|
|
28
|
-
"brand": {
|
|
29
|
-
"accent": {
|
|
30
|
-
"hover": {
|
|
31
|
-
"description": "Use as the hover state for elements that have a branded background color",
|
|
32
|
-
"type": "color",
|
|
33
|
-
"value": "{global.color.brand.accent.300}"
|
|
34
|
-
},
|
|
35
|
-
"clicked": {
|
|
36
|
-
"description": "Use as the clicked state for elements that have a brand background color",
|
|
37
|
-
"type": "color",
|
|
38
|
-
"value": "{global.color.brand.accent.300}"
|
|
39
|
-
},
|
|
40
|
-
"default": {
|
|
41
|
-
"description": "Use this color for elements that you want to reinforce your brand",
|
|
42
|
-
"type": "color",
|
|
43
|
-
"value": "{global.color.brand.accent.200}"
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -3,12 +3,6 @@
|
|
|
3
3
|
"global": {
|
|
4
4
|
"border": {
|
|
5
5
|
"radius": {
|
|
6
|
-
"control": {
|
|
7
|
-
"default": {
|
|
8
|
-
"type": "number",
|
|
9
|
-
"value": "{global.border.radius.pill}"
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
6
|
"action": {
|
|
13
7
|
"plain": {
|
|
14
8
|
"default": {
|
|
@@ -16,6 +10,12 @@
|
|
|
16
10
|
"value": "{global.border.radius.pill}"
|
|
17
11
|
}
|
|
18
12
|
}
|
|
13
|
+
},
|
|
14
|
+
"control": {
|
|
15
|
+
"default": {
|
|
16
|
+
"type": "number",
|
|
17
|
+
"value": "{global.border.radius.pill}"
|
|
18
|
+
}
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
}
|