@atlaskit/tokens 0.4.1 → 0.6.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/CHANGELOG.md +31 -0
- package/css/atlassian-dark.css +196 -67
- package/css/atlassian-light.css +196 -67
- package/dist/cjs/artifacts/rename-mapping.js +322 -2
- package/dist/cjs/artifacts/token-default-values.js +196 -67
- package/dist/cjs/artifacts/token-names.js +196 -67
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +3311 -616
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +3296 -621
- package/dist/cjs/artifacts/types-internal.js +5 -0
- package/dist/cjs/get-token.js +10 -3
- package/dist/cjs/tokens/atlassian-dark/color/accent.js +150 -39
- package/dist/cjs/tokens/atlassian-dark/color/background.js +178 -154
- package/dist/cjs/tokens/atlassian-dark/color/border.js +26 -2
- package/dist/cjs/tokens/atlassian-dark/color/icon.js +49 -0
- package/dist/cjs/tokens/atlassian-dark/color/interaction.js +32 -0
- package/dist/cjs/tokens/atlassian-dark/color/text.js +25 -23
- package/dist/cjs/tokens/atlassian-dark/deprecated/deprecated.js +344 -0
- package/dist/cjs/tokens/atlassian-dark/elevation/shadow.js +66 -0
- package/dist/cjs/tokens/atlassian-dark/elevation/surface.js +26 -0
- package/dist/cjs/tokens/atlassian-light/color/accent.js +150 -39
- package/dist/cjs/tokens/atlassian-light/color/background.js +178 -154
- package/dist/cjs/tokens/atlassian-light/color/border.js +26 -2
- package/dist/cjs/tokens/atlassian-light/color/icon.js +49 -0
- package/dist/cjs/tokens/atlassian-light/color/interaction.js +32 -0
- package/dist/cjs/tokens/atlassian-light/color/text.js +25 -23
- package/dist/cjs/tokens/atlassian-light/deprecated/deprecated.js +330 -0
- package/dist/cjs/tokens/atlassian-light/elevation/shadow.js +52 -0
- package/dist/cjs/tokens/atlassian-light/elevation/surface.js +26 -0
- package/dist/cjs/tokens/default/color/accent.js +306 -87
- package/dist/cjs/tokens/default/color/background.js +339 -309
- package/dist/cjs/tokens/default/color/border.js +60 -4
- package/dist/cjs/tokens/default/color/icon.js +93 -0
- package/dist/cjs/tokens/default/color/interaction.js +44 -0
- package/dist/cjs/tokens/default/color/text.js +37 -35
- package/dist/cjs/tokens/default/deprecated/deprecated.js +698 -0
- package/dist/cjs/tokens/default/elevation/shadow.js +28 -0
- package/dist/cjs/tokens/default/elevation/surface.js +42 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/rename-mapping.js +322 -2
- package/dist/es2019/artifacts/token-default-values.js +196 -67
- package/dist/es2019/artifacts/token-names.js +196 -67
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +3311 -616
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +3296 -621
- package/dist/es2019/artifacts/types-internal.js +1 -0
- package/dist/es2019/get-token.js +8 -3
- package/dist/es2019/tokens/atlassian-dark/color/accent.js +150 -39
- package/dist/es2019/tokens/atlassian-dark/color/background.js +178 -154
- package/dist/es2019/tokens/atlassian-dark/color/border.js +26 -2
- package/dist/es2019/tokens/atlassian-dark/color/icon.js +42 -0
- package/dist/es2019/tokens/atlassian-dark/color/interaction.js +25 -0
- package/dist/es2019/tokens/atlassian-dark/color/text.js +25 -23
- package/dist/es2019/tokens/atlassian-dark/deprecated/deprecated.js +337 -0
- package/dist/es2019/tokens/atlassian-dark/elevation/shadow.js +59 -0
- package/dist/es2019/tokens/atlassian-dark/elevation/surface.js +19 -0
- package/dist/es2019/tokens/atlassian-light/color/accent.js +150 -39
- package/dist/es2019/tokens/atlassian-light/color/background.js +178 -154
- package/dist/es2019/tokens/atlassian-light/color/border.js +26 -2
- package/dist/es2019/tokens/atlassian-light/color/icon.js +42 -0
- package/dist/es2019/tokens/atlassian-light/color/interaction.js +25 -0
- package/dist/es2019/tokens/atlassian-light/color/text.js +25 -23
- package/dist/es2019/tokens/atlassian-light/deprecated/deprecated.js +323 -0
- package/dist/es2019/tokens/atlassian-light/elevation/shadow.js +45 -0
- package/dist/es2019/tokens/atlassian-light/elevation/surface.js +19 -0
- package/dist/es2019/tokens/default/color/accent.js +306 -87
- package/dist/es2019/tokens/default/color/background.js +339 -314
- package/dist/es2019/tokens/default/color/border.js +60 -4
- package/dist/es2019/tokens/default/color/icon.js +86 -0
- package/dist/es2019/tokens/default/color/interaction.js +37 -0
- package/dist/es2019/tokens/default/color/text.js +37 -42
- package/dist/es2019/tokens/default/deprecated/deprecated.js +729 -0
- package/dist/es2019/tokens/default/elevation/shadow.js +23 -0
- package/dist/es2019/tokens/default/elevation/surface.js +37 -0
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/rename-mapping.js +322 -2
- package/dist/esm/artifacts/token-default-values.js +196 -67
- package/dist/esm/artifacts/token-names.js +196 -67
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +3311 -616
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +3296 -621
- package/dist/esm/artifacts/types-internal.js +1 -0
- package/dist/esm/get-token.js +8 -3
- package/dist/esm/tokens/atlassian-dark/color/accent.js +150 -39
- package/dist/esm/tokens/atlassian-dark/color/background.js +178 -154
- package/dist/esm/tokens/atlassian-dark/color/border.js +26 -2
- package/dist/esm/tokens/atlassian-dark/color/icon.js +42 -0
- package/dist/esm/tokens/atlassian-dark/color/interaction.js +25 -0
- package/dist/esm/tokens/atlassian-dark/color/text.js +25 -23
- package/dist/esm/tokens/atlassian-dark/deprecated/deprecated.js +337 -0
- package/dist/esm/tokens/atlassian-dark/elevation/shadow.js +59 -0
- package/dist/esm/tokens/atlassian-dark/elevation/surface.js +19 -0
- package/dist/esm/tokens/atlassian-light/color/accent.js +150 -39
- package/dist/esm/tokens/atlassian-light/color/background.js +178 -154
- package/dist/esm/tokens/atlassian-light/color/border.js +26 -2
- package/dist/esm/tokens/atlassian-light/color/icon.js +42 -0
- package/dist/esm/tokens/atlassian-light/color/interaction.js +25 -0
- package/dist/esm/tokens/atlassian-light/color/text.js +25 -23
- package/dist/esm/tokens/atlassian-light/deprecated/deprecated.js +323 -0
- package/dist/esm/tokens/atlassian-light/elevation/shadow.js +45 -0
- package/dist/esm/tokens/atlassian-light/elevation/surface.js +19 -0
- package/dist/esm/tokens/default/color/accent.js +306 -87
- package/dist/esm/tokens/default/color/background.js +339 -309
- package/dist/esm/tokens/default/color/border.js +60 -4
- package/dist/esm/tokens/default/color/icon.js +86 -0
- package/dist/esm/tokens/default/color/interaction.js +37 -0
- package/dist/esm/tokens/default/color/text.js +37 -35
- package/dist/esm/tokens/default/deprecated/deprecated.js +691 -0
- package/dist/esm/tokens/default/elevation/shadow.js +21 -0
- package/dist/esm/tokens/default/elevation/surface.js +35 -0
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/rename-mapping.d.ts +7 -3
- package/dist/types/artifacts/token-default-values.d.ts +196 -67
- package/dist/types/artifacts/token-names.d.ts +392 -134
- package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +86 -0
- package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +62 -0
- package/dist/types/artifacts/types-internal.d.ts +4 -0
- package/dist/types/artifacts/types.d.ts +1 -1
- package/dist/types/get-token.d.ts +2 -2
- package/dist/types/tokens/atlassian-dark/color/icon.d.ts +3 -0
- package/dist/types/tokens/atlassian-dark/color/interaction.d.ts +3 -0
- package/dist/types/tokens/atlassian-dark/deprecated/deprecated.d.ts +3 -0
- package/dist/types/tokens/atlassian-dark/{shadow → elevation}/shadow.d.ts +0 -0
- package/dist/types/tokens/atlassian-dark/elevation/surface.d.ts +3 -0
- package/dist/types/tokens/atlassian-light/color/icon.d.ts +3 -0
- package/dist/types/tokens/atlassian-light/color/interaction.d.ts +3 -0
- package/dist/types/tokens/atlassian-light/deprecated/deprecated.d.ts +3 -0
- package/dist/types/tokens/atlassian-light/{shadow → elevation}/shadow.d.ts +0 -0
- package/dist/types/tokens/atlassian-light/elevation/surface.d.ts +3 -0
- package/dist/types/tokens/default/color/icon.d.ts +3 -0
- package/dist/types/tokens/default/color/interaction.d.ts +3 -0
- package/dist/types/tokens/default/deprecated/deprecated.d.ts +3 -0
- package/dist/types/tokens/default/{shadow → elevation}/shadow.d.ts +0 -0
- package/dist/types/tokens/default/elevation/surface.d.ts +3 -0
- package/dist/types/tokens/default/utility/utility.d.ts +72 -72
- package/dist/types/types.d.ts +294 -54
- package/package.json +18 -8
- package/dist/cjs/tokens/atlassian-dark/color/icon-border.js +0 -29
- package/dist/cjs/tokens/atlassian-dark/color/overlay.js +0 -20
- package/dist/cjs/tokens/atlassian-dark/shadow/shadow.js +0 -64
- package/dist/cjs/tokens/atlassian-light/color/icon-border.js +0 -29
- package/dist/cjs/tokens/atlassian-light/color/overlay.js +0 -20
- package/dist/cjs/tokens/atlassian-light/shadow/shadow.js +0 -50
- package/dist/cjs/tokens/default/color/icon-border.js +0 -49
- package/dist/cjs/tokens/default/color/overlay.js +0 -28
- package/dist/cjs/tokens/default/shadow/shadow.js +0 -26
- package/dist/es2019/tokens/atlassian-dark/color/icon-border.js +0 -22
- package/dist/es2019/tokens/atlassian-dark/color/overlay.js +0 -13
- package/dist/es2019/tokens/atlassian-dark/shadow/shadow.js +0 -57
- package/dist/es2019/tokens/atlassian-light/color/icon-border.js +0 -22
- package/dist/es2019/tokens/atlassian-light/color/overlay.js +0 -13
- package/dist/es2019/tokens/atlassian-light/shadow/shadow.js +0 -43
- package/dist/es2019/tokens/default/color/icon-border.js +0 -60
- package/dist/es2019/tokens/default/color/overlay.js +0 -21
- package/dist/es2019/tokens/default/shadow/shadow.js +0 -27
- package/dist/esm/tokens/atlassian-dark/color/icon-border.js +0 -22
- package/dist/esm/tokens/atlassian-dark/color/overlay.js +0 -13
- package/dist/esm/tokens/atlassian-dark/shadow/shadow.js +0 -57
- package/dist/esm/tokens/atlassian-light/color/icon-border.js +0 -22
- package/dist/esm/tokens/atlassian-light/color/overlay.js +0 -13
- package/dist/esm/tokens/atlassian-light/shadow/shadow.js +0 -43
- package/dist/esm/tokens/default/color/icon-border.js +0 -42
- package/dist/esm/tokens/default/color/overlay.js +0 -21
- package/dist/esm/tokens/default/shadow/shadow.js +0 -19
- package/dist/types/tokens/atlassian-dark/color/icon-border.d.ts +0 -3
- package/dist/types/tokens/atlassian-dark/color/overlay.d.ts +0 -3
- package/dist/types/tokens/atlassian-light/color/icon-border.d.ts +0 -3
- package/dist/types/tokens/atlassian-light/color/overlay.d.ts +0 -3
- package/dist/types/tokens/default/color/icon-border.d.ts +0 -3
- package/dist/types/tokens/default/color/overlay.d.ts +0 -3
- package/tokens-browser-extension/README.md +0 -28
- package/tokens-browser-extension/atlassian-theme.css +0 -449
- package/tokens-browser-extension/background.js +0 -75
- package/tokens-browser-extension/content-script.js +0 -75
- package/tokens-browser-extension/devtools.html +0 -1
- package/tokens-browser-extension/devtools.js +0 -14
- package/tokens-browser-extension/manifest.json +0 -36
- package/tokens-browser-extension/messageback-script.js +0 -10
- package/tokens-browser-extension/messaging.js +0 -36
- package/tokens-browser-extension/panel.html +0 -25
- package/tokens-browser-extension/panel.js +0 -46
- package/tokens-browser-extension/toast.png +0 -0
|
@@ -1,376 +1,406 @@
|
|
|
1
1
|
var color = {
|
|
2
2
|
color: {
|
|
3
|
+
blanket: {
|
|
4
|
+
attributes: {
|
|
5
|
+
group: 'paint',
|
|
6
|
+
state: 'active',
|
|
7
|
+
description: 'Use for the screen overlay that appears with modal dialogs'
|
|
8
|
+
}
|
|
9
|
+
},
|
|
3
10
|
background: {
|
|
4
|
-
|
|
5
|
-
attributes: {
|
|
6
|
-
group: 'paint',
|
|
7
|
-
state: 'active',
|
|
8
|
-
description: 'Use as a secondary background for the UI'
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
default: {
|
|
12
|
-
attributes: {
|
|
13
|
-
group: 'paint',
|
|
14
|
-
state: 'active',
|
|
15
|
-
description: 'Use as the primary background for the UI'
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
card: {
|
|
19
|
-
attributes: {
|
|
20
|
-
group: 'paint',
|
|
21
|
-
state: 'active',
|
|
22
|
-
description: 'Use for the background of raised cards, such as Jira cards on a Kanban board.\nCombine with shadow.card.'
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
overlay: {
|
|
26
|
-
attributes: {
|
|
27
|
-
group: 'paint',
|
|
28
|
-
state: 'active',
|
|
29
|
-
description: "\nUse for the background of overlay elements, such as modals, dropdown menus, flags, and inline dialogs (i.e. elements that sit on top of the UI).\n\nAlso use for the background of raised cards in a dragged state.\n\nCombine with shadow.overlay."
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
selected: {
|
|
33
|
-
resting: {
|
|
34
|
-
attributes: {
|
|
35
|
-
group: 'paint',
|
|
36
|
-
state: 'active',
|
|
37
|
-
description: 'Use for backgrounds of elements in a selected state'
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
hover: {
|
|
41
|
-
attributes: {
|
|
42
|
-
group: 'paint',
|
|
43
|
-
state: 'active',
|
|
44
|
-
description: 'Hover state of background.selected'
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
pressed: {
|
|
48
|
-
attributes: {
|
|
49
|
-
group: 'paint',
|
|
50
|
-
state: 'active',
|
|
51
|
-
description: 'Pressed state of background.selected'
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
blanket: {
|
|
11
|
+
disabled: {
|
|
56
12
|
attributes: {
|
|
57
13
|
group: 'paint',
|
|
58
14
|
state: 'active',
|
|
59
|
-
description: 'Use for
|
|
15
|
+
description: 'Use for backgrounds of elements in a disabled state.'
|
|
60
16
|
}
|
|
61
17
|
},
|
|
62
|
-
|
|
18
|
+
inverse: {
|
|
63
19
|
attributes: {
|
|
64
20
|
group: 'paint',
|
|
65
21
|
state: 'active',
|
|
66
|
-
description: 'Use for backgrounds of elements
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
boldBrand: {
|
|
70
|
-
resting: {
|
|
71
|
-
attributes: {
|
|
72
|
-
group: 'paint',
|
|
73
|
-
state: 'active',
|
|
74
|
-
description: 'A vibrant background for small UI elements like primary buttons and bold in progress lozenges.'
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
hover: {
|
|
78
|
-
attributes: {
|
|
79
|
-
group: 'paint',
|
|
80
|
-
state: 'active',
|
|
81
|
-
description: 'Hover state of background.boldBrand'
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
pressed: {
|
|
85
|
-
attributes: {
|
|
86
|
-
group: 'paint',
|
|
87
|
-
state: 'active',
|
|
88
|
-
description: 'Pressed state of background.boldBrand'
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
subtleBrand: {
|
|
93
|
-
resting: {
|
|
94
|
-
attributes: {
|
|
95
|
-
group: 'paint',
|
|
96
|
-
state: 'active',
|
|
97
|
-
description: 'Use for subdued backgrounds of UI elements like information section messages and in progress lozenges.'
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
hover: {
|
|
101
|
-
attributes: {
|
|
102
|
-
group: 'paint',
|
|
103
|
-
state: 'active',
|
|
104
|
-
description: 'Hover state for background.subtleBrand'
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
pressed: {
|
|
108
|
-
attributes: {
|
|
109
|
-
group: 'paint',
|
|
110
|
-
state: 'active',
|
|
111
|
-
description: 'Pressed state for background.subtleBrand'
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
boldDanger: {
|
|
116
|
-
resting: {
|
|
117
|
-
attributes: {
|
|
118
|
-
group: 'paint',
|
|
119
|
-
state: 'active',
|
|
120
|
-
description: 'A vibrant background for small UI elements like danger buttons and bold removed lozenges.'
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
hover: {
|
|
124
|
-
attributes: {
|
|
125
|
-
group: 'paint',
|
|
126
|
-
state: 'active',
|
|
127
|
-
description: 'Hover state of background.boldDanger'
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
pressed: {
|
|
131
|
-
attributes: {
|
|
132
|
-
group: 'paint',
|
|
133
|
-
state: 'active',
|
|
134
|
-
description: 'Pressed state of background.boldDanger'
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
subtleDanger: {
|
|
139
|
-
resting: {
|
|
140
|
-
attributes: {
|
|
141
|
-
group: 'paint',
|
|
142
|
-
state: 'active',
|
|
143
|
-
description: 'Use for subdued backgrounds of UI elements like error section messages and removed lozenges.'
|
|
144
|
-
}
|
|
145
|
-
},
|
|
146
|
-
hover: {
|
|
147
|
-
attributes: {
|
|
148
|
-
group: 'paint',
|
|
149
|
-
state: 'active',
|
|
150
|
-
description: 'Hover state for background.subtleDanger'
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
pressed: {
|
|
154
|
-
attributes: {
|
|
155
|
-
group: 'paint',
|
|
156
|
-
state: 'active',
|
|
157
|
-
description: 'Pressed state for background.subtleDanger'
|
|
158
|
-
}
|
|
22
|
+
description: 'Use for backgrounds of elements on a bold background, such as in the buttons on spotlight cards.'
|
|
159
23
|
}
|
|
160
24
|
},
|
|
161
|
-
|
|
162
|
-
|
|
25
|
+
input: {
|
|
26
|
+
'[default]': {
|
|
163
27
|
attributes: {
|
|
164
28
|
group: 'paint',
|
|
165
29
|
state: 'active',
|
|
166
|
-
description: '
|
|
30
|
+
description: 'Use for background of form UI elements, such as text fields, checkboxes, and radio buttons.'
|
|
167
31
|
}
|
|
168
32
|
},
|
|
169
|
-
|
|
33
|
+
hovered: {
|
|
170
34
|
attributes: {
|
|
171
35
|
group: 'paint',
|
|
172
36
|
state: 'active',
|
|
173
|
-
description: '
|
|
37
|
+
description: 'Hovered state for color.background.input'
|
|
174
38
|
}
|
|
175
39
|
},
|
|
176
40
|
pressed: {
|
|
177
41
|
attributes: {
|
|
178
42
|
group: 'paint',
|
|
179
43
|
state: 'active',
|
|
180
|
-
description: 'Pressed state
|
|
44
|
+
description: 'Pressed state for color.background.input'
|
|
181
45
|
}
|
|
182
46
|
}
|
|
183
47
|
},
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
48
|
+
neutral: {
|
|
49
|
+
'[default]': {
|
|
50
|
+
'[default]': {
|
|
51
|
+
attributes: {
|
|
52
|
+
group: 'paint',
|
|
53
|
+
state: 'active',
|
|
54
|
+
description: 'The default background for neutral elements, such as default buttons.'
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
hovered: {
|
|
58
|
+
attributes: {
|
|
59
|
+
group: 'paint',
|
|
60
|
+
state: 'active',
|
|
61
|
+
description: 'Hovered state for color.background.neutral'
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
pressed: {
|
|
65
|
+
attributes: {
|
|
66
|
+
group: 'paint',
|
|
67
|
+
state: 'active',
|
|
68
|
+
description: 'Pressed state for color.background.neutral'
|
|
69
|
+
}
|
|
190
70
|
}
|
|
191
71
|
},
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
72
|
+
subtle: {
|
|
73
|
+
'[default]': {
|
|
74
|
+
attributes: {
|
|
75
|
+
group: 'paint',
|
|
76
|
+
state: 'active',
|
|
77
|
+
description: 'Use for the background of elements that appear to have no background in a resting state, such as subtle buttons and menu items.'
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
hovered: {
|
|
81
|
+
attributes: {
|
|
82
|
+
group: 'paint',
|
|
83
|
+
state: 'active',
|
|
84
|
+
description: 'Hovered state for color.background.neutral.subtle'
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
pressed: {
|
|
88
|
+
attributes: {
|
|
89
|
+
group: 'paint',
|
|
90
|
+
state: 'active',
|
|
91
|
+
description: 'Pressed state for color.background.neutral.subtle'
|
|
92
|
+
}
|
|
197
93
|
}
|
|
198
94
|
},
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
95
|
+
bold: {
|
|
96
|
+
'[default]': {
|
|
97
|
+
attributes: {
|
|
98
|
+
group: 'paint',
|
|
99
|
+
state: 'active',
|
|
100
|
+
description: 'A vibrant background option for neutral UI elements, such as announcement banners.'
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
hovered: {
|
|
104
|
+
attributes: {
|
|
105
|
+
group: 'paint',
|
|
106
|
+
state: 'active',
|
|
107
|
+
description: 'Hovered state of color.background.neutral.bold'
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
pressed: {
|
|
111
|
+
attributes: {
|
|
112
|
+
group: 'paint',
|
|
113
|
+
state: 'active',
|
|
114
|
+
description: 'Pressed state of color.background.neutral.bold'
|
|
115
|
+
}
|
|
204
116
|
}
|
|
205
117
|
}
|
|
206
118
|
},
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
119
|
+
brand: {
|
|
120
|
+
'[default]': {
|
|
121
|
+
'[default]': {
|
|
122
|
+
attributes: {
|
|
123
|
+
group: 'paint',
|
|
124
|
+
state: 'active',
|
|
125
|
+
description: 'Use for the background of elements in a selected state, such as in opened dropdown buttons.'
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
hovered: {
|
|
129
|
+
attributes: {
|
|
130
|
+
group: 'paint',
|
|
131
|
+
state: 'active',
|
|
132
|
+
description: 'Hovered state for color.background.brand'
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
pressed: {
|
|
136
|
+
attributes: {
|
|
137
|
+
group: 'paint',
|
|
138
|
+
state: 'active',
|
|
139
|
+
description: 'Pressed state for color.background.brand'
|
|
140
|
+
}
|
|
213
141
|
}
|
|
214
142
|
},
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
143
|
+
bold: {
|
|
144
|
+
'[default]': {
|
|
145
|
+
attributes: {
|
|
146
|
+
group: 'paint',
|
|
147
|
+
state: 'active',
|
|
148
|
+
description: 'Use for the backgrounds of primary buttons or elements in a selected state, such as checkboxed and radio buttons.'
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
hovered: {
|
|
152
|
+
attributes: {
|
|
153
|
+
group: 'paint',
|
|
154
|
+
state: 'active',
|
|
155
|
+
description: 'Hovered state of color.background.brand.bold'
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
pressed: {
|
|
159
|
+
attributes: {
|
|
160
|
+
group: 'paint',
|
|
161
|
+
state: 'active',
|
|
162
|
+
description: 'Pressed state of color.background.brand.bold'
|
|
163
|
+
}
|
|
227
164
|
}
|
|
228
165
|
}
|
|
229
166
|
},
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
167
|
+
danger: {
|
|
168
|
+
'[default]': {
|
|
169
|
+
'[default]': {
|
|
170
|
+
attributes: {
|
|
171
|
+
group: 'paint',
|
|
172
|
+
state: 'active',
|
|
173
|
+
description: 'Use for backgrounds communicating critical informaton, such in error section messages.'
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
hovered: {
|
|
177
|
+
attributes: {
|
|
178
|
+
group: 'paint',
|
|
179
|
+
state: 'active',
|
|
180
|
+
description: 'Hovered state for color.background.danger'
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
pressed: {
|
|
184
|
+
attributes: {
|
|
185
|
+
group: 'paint',
|
|
186
|
+
state: 'active',
|
|
187
|
+
description: 'Pressed state for color.background.danger'
|
|
188
|
+
}
|
|
243
189
|
}
|
|
244
190
|
},
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
191
|
+
bold: {
|
|
192
|
+
'[default]': {
|
|
193
|
+
attributes: {
|
|
194
|
+
group: 'paint',
|
|
195
|
+
state: 'active',
|
|
196
|
+
description: 'A vibrant background option for communicating critical information, such as in danger buttons and error banners.'
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
hovered: {
|
|
200
|
+
attributes: {
|
|
201
|
+
group: 'paint',
|
|
202
|
+
state: 'active',
|
|
203
|
+
description: 'Hovered state of color.background.danger.bold'
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
pressed: {
|
|
207
|
+
attributes: {
|
|
208
|
+
group: 'paint',
|
|
209
|
+
state: 'active',
|
|
210
|
+
description: 'Pressed state of color.background.danger.bold'
|
|
211
|
+
}
|
|
250
212
|
}
|
|
251
213
|
}
|
|
252
214
|
},
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
215
|
+
warning: {
|
|
216
|
+
'[default]': {
|
|
217
|
+
'[default]': {
|
|
218
|
+
attributes: {
|
|
219
|
+
group: 'paint',
|
|
220
|
+
state: 'active',
|
|
221
|
+
description: 'Use for backgrounds communicating caution, such as in warning section messages.'
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
hovered: {
|
|
225
|
+
attributes: {
|
|
226
|
+
group: 'paint',
|
|
227
|
+
state: 'active',
|
|
228
|
+
description: 'Hovered state for color.background.warning'
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
pressed: {
|
|
232
|
+
attributes: {
|
|
233
|
+
group: 'paint',
|
|
234
|
+
state: 'active',
|
|
235
|
+
description: 'Pressed state for color.background.warning'
|
|
236
|
+
}
|
|
259
237
|
}
|
|
260
238
|
},
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
239
|
+
bold: {
|
|
240
|
+
'[default]': {
|
|
241
|
+
attributes: {
|
|
242
|
+
group: 'paint',
|
|
243
|
+
state: 'active',
|
|
244
|
+
description: 'A vibrant background option for communicating caution, such as in warning buttons and warning banners.'
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
hovered: {
|
|
248
|
+
attributes: {
|
|
249
|
+
group: 'paint',
|
|
250
|
+
state: 'active',
|
|
251
|
+
description: 'Hovered state of color.background.warning.bold'
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
pressed: {
|
|
255
|
+
attributes: {
|
|
256
|
+
group: 'paint',
|
|
257
|
+
state: 'active',
|
|
258
|
+
description: 'Pressed state of color.background.warning.bold'
|
|
259
|
+
}
|
|
273
260
|
}
|
|
274
261
|
}
|
|
275
262
|
},
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
263
|
+
success: {
|
|
264
|
+
'[default]': {
|
|
265
|
+
'[default]': {
|
|
266
|
+
attributes: {
|
|
267
|
+
group: 'paint',
|
|
268
|
+
state: 'active',
|
|
269
|
+
description: 'Use for backgrounds communicating a favourable outcome, such as in success section messages.'
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
hovered: {
|
|
273
|
+
attributes: {
|
|
274
|
+
group: 'paint',
|
|
275
|
+
state: 'active',
|
|
276
|
+
description: 'Hovered state for color.background.success'
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
pressed: {
|
|
280
|
+
attributes: {
|
|
281
|
+
group: 'paint',
|
|
282
|
+
state: 'active',
|
|
283
|
+
description: 'Pressed state for color.background.success'
|
|
284
|
+
}
|
|
282
285
|
}
|
|
283
286
|
},
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
287
|
+
bold: {
|
|
288
|
+
'[default]': {
|
|
289
|
+
attributes: {
|
|
290
|
+
group: 'paint',
|
|
291
|
+
state: 'active',
|
|
292
|
+
description: 'A vibrant background option for communicating a favourable outcome, such as in checked toggles.'
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
hovered: {
|
|
296
|
+
attributes: {
|
|
297
|
+
group: 'paint',
|
|
298
|
+
state: 'active',
|
|
299
|
+
description: 'Hovered state of color.background.success.bold'
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
pressed: {
|
|
303
|
+
attributes: {
|
|
304
|
+
group: 'paint',
|
|
305
|
+
state: 'active',
|
|
306
|
+
description: 'Pressed state of color.background.success.bold'
|
|
307
|
+
}
|
|
296
308
|
}
|
|
297
309
|
}
|
|
298
310
|
},
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
311
|
+
discovery: {
|
|
312
|
+
'[default]': {
|
|
313
|
+
'[default]': {
|
|
314
|
+
attributes: {
|
|
315
|
+
group: 'paint',
|
|
316
|
+
state: 'active',
|
|
317
|
+
description: 'Use for backgrounds communicating change or something new, such as in discovery section messages.'
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
hovered: {
|
|
321
|
+
attributes: {
|
|
322
|
+
group: 'paint',
|
|
323
|
+
state: 'active',
|
|
324
|
+
description: 'Hover state for color.background.discovery'
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
pressed: {
|
|
328
|
+
attributes: {
|
|
329
|
+
group: 'paint',
|
|
330
|
+
state: 'active',
|
|
331
|
+
description: 'Pressed state for color.background.discovery'
|
|
332
|
+
}
|
|
305
333
|
}
|
|
306
334
|
},
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
335
|
+
bold: {
|
|
336
|
+
'[default]': {
|
|
337
|
+
attributes: {
|
|
338
|
+
group: 'paint',
|
|
339
|
+
state: 'active',
|
|
340
|
+
description: 'A vibrant background option communicating change or something new, such as in onboarding spotlights.'
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
hovered: {
|
|
344
|
+
attributes: {
|
|
345
|
+
group: 'paint',
|
|
346
|
+
state: 'active',
|
|
347
|
+
description: 'Hovered state of color.background.discovery.bold'
|
|
348
|
+
}
|
|
349
|
+
},
|
|
350
|
+
pressed: {
|
|
351
|
+
attributes: {
|
|
352
|
+
group: 'paint',
|
|
353
|
+
state: 'active',
|
|
354
|
+
description: 'Pressed state of color.background.discovery.bold'
|
|
355
|
+
}
|
|
319
356
|
}
|
|
320
357
|
}
|
|
321
358
|
},
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
359
|
+
information: {
|
|
360
|
+
'[default]': {
|
|
361
|
+
'[default]': {
|
|
362
|
+
attributes: {
|
|
363
|
+
group: 'paint',
|
|
364
|
+
state: 'active',
|
|
365
|
+
description: 'Use for backgrounds communicating information or something in-progress, such as in information section messages.'
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
hovered: {
|
|
369
|
+
attributes: {
|
|
370
|
+
group: 'paint',
|
|
371
|
+
state: 'active',
|
|
372
|
+
description: 'Hovered state of color.background.information'
|
|
373
|
+
}
|
|
374
|
+
},
|
|
375
|
+
pressed: {
|
|
376
|
+
attributes: {
|
|
377
|
+
group: 'paint',
|
|
378
|
+
state: 'active',
|
|
379
|
+
description: 'Pressed state of color.background.information'
|
|
380
|
+
}
|
|
328
381
|
}
|
|
329
382
|
},
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
}
|
|
352
|
-
},
|
|
353
|
-
pressed: {
|
|
354
|
-
attributes: {
|
|
355
|
-
group: 'paint',
|
|
356
|
-
state: 'active',
|
|
357
|
-
description: 'Pressed state for background.subtleNeutral'
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
},
|
|
361
|
-
subtleBorderedNeutral: {
|
|
362
|
-
resting: {
|
|
363
|
-
attributes: {
|
|
364
|
-
group: 'paint',
|
|
365
|
-
state: 'active',
|
|
366
|
-
description: 'Hover state for background.subtleBorderedNeutral'
|
|
367
|
-
}
|
|
368
|
-
},
|
|
369
|
-
pressed: {
|
|
370
|
-
attributes: {
|
|
371
|
-
group: 'paint',
|
|
372
|
-
state: 'active',
|
|
373
|
-
description: 'Pressed state for background.subtleBorderedNeutral'
|
|
383
|
+
bold: {
|
|
384
|
+
'[default]': {
|
|
385
|
+
attributes: {
|
|
386
|
+
group: 'paint',
|
|
387
|
+
state: 'active',
|
|
388
|
+
description: 'A vibrant background option for communicating information or something in-progress.'
|
|
389
|
+
}
|
|
390
|
+
},
|
|
391
|
+
hovered: {
|
|
392
|
+
attributes: {
|
|
393
|
+
group: 'paint',
|
|
394
|
+
state: 'active',
|
|
395
|
+
description: 'Hovered state of color.background.information.bold'
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
pressed: {
|
|
399
|
+
attributes: {
|
|
400
|
+
group: 'paint',
|
|
401
|
+
state: 'active',
|
|
402
|
+
description: 'Pressed state of color.background.information.bold'
|
|
403
|
+
}
|
|
374
404
|
}
|
|
375
405
|
}
|
|
376
406
|
}
|