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