@atlaskit/tokens 0.4.1 → 0.6.1

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