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