@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,376 +1,431 @@
|
|
|
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: {
|
|
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:
|
|
22
|
+
description: 'Use for backgrounds of elements on a bold background, such as in the buttons on spotlight cards.'
|
|
30
23
|
}
|
|
31
24
|
},
|
|
32
|
-
|
|
33
|
-
|
|
25
|
+
input: {
|
|
26
|
+
'[default]': {
|
|
34
27
|
attributes: {
|
|
35
28
|
group: 'paint',
|
|
36
29
|
state: 'active',
|
|
37
|
-
description: 'Use for
|
|
30
|
+
description: 'Use for background of form UI elements, such as text fields, checkboxes, and radio buttons.'
|
|
38
31
|
}
|
|
39
32
|
},
|
|
40
|
-
|
|
33
|
+
hovered: {
|
|
41
34
|
attributes: {
|
|
42
35
|
group: 'paint',
|
|
43
36
|
state: 'active',
|
|
44
|
-
description: '
|
|
37
|
+
description: 'Hovered state for color.background.input'
|
|
45
38
|
}
|
|
46
39
|
},
|
|
47
40
|
pressed: {
|
|
48
41
|
attributes: {
|
|
49
42
|
group: 'paint',
|
|
50
43
|
state: 'active',
|
|
51
|
-
description: 'Pressed state
|
|
44
|
+
description: 'Pressed state for color.background.input'
|
|
52
45
|
}
|
|
53
46
|
}
|
|
54
47
|
},
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
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
|
+
}
|
|
75
70
|
}
|
|
76
71
|
},
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
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
|
+
}
|
|
82
93
|
}
|
|
83
94
|
},
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
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
|
+
}
|
|
89
116
|
}
|
|
90
117
|
}
|
|
91
118
|
},
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
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
|
+
}
|
|
112
141
|
}
|
|
113
142
|
}
|
|
114
143
|
},
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
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
|
-
}
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
|
-
boldWarning: {
|
|
162
|
-
resting: {
|
|
163
|
-
attributes: {
|
|
164
|
-
group: 'paint',
|
|
165
|
-
state: 'active',
|
|
166
|
-
description: 'A vibrant background for small UI elements like warning buttons and bold moved lozenges.'
|
|
167
|
-
}
|
|
168
|
-
},
|
|
169
|
-
hover: {
|
|
170
|
-
attributes: {
|
|
171
|
-
group: 'paint',
|
|
172
|
-
state: 'active',
|
|
173
|
-
description: 'Hover state of background.boldWarning'
|
|
174
|
-
}
|
|
175
|
-
},
|
|
176
|
-
pressed: {
|
|
177
|
-
attributes: {
|
|
178
|
-
group: 'paint',
|
|
179
|
-
state: 'active',
|
|
180
|
-
description: 'Pressed state of background.boldWarning'
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
|
-
subtleWarning: {
|
|
185
|
-
resting: {
|
|
186
|
-
attributes: {
|
|
187
|
-
group: 'paint',
|
|
188
|
-
state: 'active',
|
|
189
|
-
description: 'Use for subdued backgrounds of UI elements like warning section messages and moved lozenges.'
|
|
190
|
-
}
|
|
191
|
-
},
|
|
192
|
-
hover: {
|
|
193
|
-
attributes: {
|
|
194
|
-
group: 'paint',
|
|
195
|
-
state: 'active',
|
|
196
|
-
description: 'Hover state for background.subtleWarning'
|
|
197
|
-
}
|
|
198
|
-
},
|
|
199
|
-
pressed: {
|
|
200
|
-
attributes: {
|
|
201
|
-
group: 'paint',
|
|
202
|
-
state: 'active',
|
|
203
|
-
description: 'Pressed state for background.subtleWarning'
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
boldSuccess: {
|
|
208
|
-
resting: {
|
|
209
|
-
attributes: {
|
|
210
|
-
group: 'paint',
|
|
211
|
-
state: 'active',
|
|
212
|
-
description: 'A vibrant background for small UI elements like checked toggles and bold success lozenges.'
|
|
213
|
-
}
|
|
214
|
-
},
|
|
215
|
-
hover: {
|
|
216
|
-
attributes: {
|
|
217
|
-
group: 'paint',
|
|
218
|
-
state: 'active',
|
|
219
|
-
description: 'Hover state of background.boldSuccess'
|
|
220
|
-
}
|
|
221
|
-
},
|
|
222
|
-
pressed: {
|
|
223
|
-
attributes: {
|
|
224
|
-
group: 'paint',
|
|
225
|
-
state: 'active',
|
|
226
|
-
description: 'Pressed state of background.boldSuccess'
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
},
|
|
230
|
-
subtleSuccess: {
|
|
231
|
-
resting: {
|
|
232
|
-
attributes: {
|
|
233
|
-
group: 'paint',
|
|
234
|
-
state: 'active',
|
|
235
|
-
description: 'Use for subdued backgrounds of UI elements like success section messages and success lozenges. '
|
|
236
|
-
}
|
|
237
|
-
},
|
|
238
|
-
hover: {
|
|
239
|
-
attributes: {
|
|
240
|
-
group: 'paint',
|
|
241
|
-
state: 'active',
|
|
242
|
-
description: 'Hover state for background.subtleSuccess'
|
|
243
|
-
}
|
|
244
|
-
},
|
|
245
|
-
pressed: {
|
|
246
|
-
attributes: {
|
|
247
|
-
group: 'paint',
|
|
248
|
-
state: 'active',
|
|
249
|
-
description: 'Pressed state for background.subtleSuccess'
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
},
|
|
253
|
-
boldDiscovery: {
|
|
254
|
-
resting: {
|
|
255
|
-
attributes: {
|
|
256
|
-
group: 'paint',
|
|
257
|
-
state: 'active',
|
|
258
|
-
description: 'A vibrant background for small UI elements like onboarding buttons and bold new lozenges.'
|
|
259
|
-
}
|
|
260
|
-
},
|
|
261
|
-
hover: {
|
|
262
|
-
attributes: {
|
|
263
|
-
group: 'paint',
|
|
264
|
-
state: 'active',
|
|
265
|
-
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
|
+
}
|
|
266
166
|
}
|
|
267
167
|
},
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
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
|
+
}
|
|
273
189
|
}
|
|
274
190
|
}
|
|
275
191
|
},
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
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
|
+
}
|
|
282
214
|
}
|
|
283
215
|
},
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
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
|
+
}
|
|
296
237
|
}
|
|
297
238
|
}
|
|
298
239
|
},
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
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
|
+
}
|
|
305
262
|
}
|
|
306
263
|
},
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
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
|
+
}
|
|
319
285
|
}
|
|
320
286
|
}
|
|
321
287
|
},
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
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
|
+
}
|
|
328
310
|
}
|
|
329
311
|
},
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
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
|
+
}
|
|
335
333
|
}
|
|
336
334
|
}
|
|
337
335
|
},
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
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
|
+
}
|
|
351
358
|
}
|
|
352
359
|
},
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
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
|
+
}
|
|
358
381
|
}
|
|
359
382
|
}
|
|
360
383
|
},
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
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
|
+
}
|
|
367
406
|
}
|
|
368
407
|
},
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
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
|
+
}
|
|
374
429
|
}
|
|
375
430
|
}
|
|
376
431
|
}
|