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