@atlaskit/tokens 0.4.0 → 0.6.0

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