@atlaskit/tokens 0.13.5 → 1.0.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 (187) hide show
  1. package/CHANGELOG.md +289 -0
  2. package/README.md +7 -16
  3. package/dist/cjs/artifacts/palettes-raw/legacy-palette.js +0 -1
  4. package/dist/cjs/artifacts/palettes-raw/palette.js +0 -1
  5. package/dist/cjs/artifacts/palettes-raw/spacing-scale.js +0 -1
  6. package/dist/cjs/artifacts/palettes-raw/typography-palette.js +0 -1
  7. package/dist/cjs/artifacts/replacement-mapping.js +2 -402
  8. package/dist/cjs/artifacts/theme-import-map.js +56 -0
  9. package/dist/cjs/artifacts/themes/atlassian-dark.js +13 -0
  10. package/dist/cjs/artifacts/themes/atlassian-legacy-dark.js +13 -0
  11. package/dist/cjs/artifacts/themes/atlassian-legacy-light.js +13 -0
  12. package/dist/cjs/artifacts/themes/atlassian-light.js +13 -0
  13. package/dist/cjs/artifacts/themes/atlassian-spacing.js +13 -0
  14. package/dist/cjs/artifacts/themes/atlassian-typography.js +13 -0
  15. package/dist/cjs/artifacts/token-default-values.js +2 -104
  16. package/dist/cjs/artifacts/token-names.js +2 -104
  17. package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +1354 -4261
  18. package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-dark.js +1352 -4259
  19. package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-light.js +1396 -4283
  20. package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +1365 -4252
  21. package/dist/cjs/artifacts/tokens-raw/atlassian-spacing.js +0 -1
  22. package/dist/cjs/artifacts/tokens-raw/atlassian-typography.js +0 -1
  23. package/dist/cjs/artifacts/typescript/atlassian-dark-token-names.js +0 -1
  24. package/dist/cjs/artifacts/typescript/atlassian-light-token-names.js +0 -1
  25. package/dist/cjs/babel-plugin/index.js +0 -2
  26. package/dist/cjs/babel-plugin/plugin.js +17 -43
  27. package/dist/cjs/entry-points/babel-plugin.js +0 -2
  28. package/dist/cjs/entry-points/palettes-raw.js +0 -2
  29. package/dist/cjs/entry-points/rename-mapping.js +0 -2
  30. package/dist/cjs/entry-points/token-ids.js +0 -1
  31. package/dist/cjs/entry-points/token-names.js +0 -2
  32. package/dist/cjs/entry-points/tokens-raw.js +0 -5
  33. package/dist/cjs/get-global-theme.js +30 -0
  34. package/dist/cjs/get-token-value.js +1 -10
  35. package/dist/cjs/get-token.js +3 -13
  36. package/dist/cjs/index.js +46 -10
  37. package/dist/cjs/palettes/legacy-palette.js +1 -1
  38. package/dist/cjs/palettes/spacing-scale.js +1 -1
  39. package/dist/cjs/palettes/typography-palette.js +0 -5
  40. package/dist/cjs/set-global-theme.js +265 -39
  41. package/dist/cjs/theme-config.js +8 -23
  42. package/dist/cjs/{theme-change-observer.js → theme-mutation-observer.js} +5 -57
  43. package/dist/cjs/tokens/atlassian-dark/utility/utility.js +1 -4
  44. package/dist/cjs/tokens/atlassian-legacy-dark/utility/utility.js +1 -4
  45. package/dist/cjs/tokens/atlassian-legacy-light/utility/utility.js +1 -4
  46. package/dist/cjs/tokens/atlassian-light/utility/utility.js +1 -4
  47. package/dist/cjs/tokens/atlassian-spacing/spacing.js +0 -1
  48. package/dist/cjs/tokens/default/spacing/spacing.js +0 -1
  49. package/dist/cjs/tokens/default/utility/utility.js +1 -9
  50. package/dist/cjs/use-theme-observer.js +41 -0
  51. package/dist/cjs/utils/color-detection.js +23 -43
  52. package/dist/cjs/utils/theme-loading.js +69 -0
  53. package/dist/cjs/utils/theme-state-transformer.js +73 -0
  54. package/dist/cjs/utils/token-ids.js +4 -12
  55. package/dist/cjs/version.json +1 -1
  56. package/dist/es2019/artifacts/replacement-mapping.js +2 -401
  57. package/dist/es2019/artifacts/theme-import-map.js +27 -0
  58. package/dist/es2019/artifacts/themes/atlassian-dark.js +296 -0
  59. package/dist/es2019/artifacts/themes/atlassian-legacy-dark.js +296 -0
  60. package/dist/es2019/artifacts/themes/atlassian-legacy-light.js +296 -0
  61. package/dist/es2019/artifacts/themes/atlassian-light.js +296 -0
  62. package/{css/atlassian-spacing.css → dist/es2019/artifacts/themes/atlassian-spacing.js} +4 -2
  63. package/{css/atlassian-typography.css → dist/es2019/artifacts/themes/atlassian-typography.js} +4 -2
  64. package/dist/es2019/artifacts/token-default-values.js +2 -103
  65. package/dist/es2019/artifacts/token-names.js +2 -103
  66. package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +1354 -4260
  67. package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-dark.js +1349 -4255
  68. package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-light.js +1397 -4283
  69. package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +1360 -4246
  70. package/dist/es2019/babel-plugin/plugin.js +17 -37
  71. package/dist/es2019/get-global-theme.js +20 -0
  72. package/dist/es2019/get-token-value.js +1 -6
  73. package/dist/es2019/get-token.js +3 -8
  74. package/dist/es2019/index.js +5 -2
  75. package/dist/es2019/palettes/legacy-palette.js +1 -0
  76. package/dist/es2019/palettes/spacing-scale.js +1 -0
  77. package/dist/es2019/palettes/typography-palette.js +2 -1
  78. package/dist/es2019/set-global-theme.js +162 -32
  79. package/dist/es2019/theme-config.js +5 -21
  80. package/dist/es2019/{theme-change-observer.js → theme-mutation-observer.js} +4 -37
  81. package/dist/es2019/tokens/atlassian-dark/utility/utility.js +1 -4
  82. package/dist/es2019/tokens/atlassian-legacy-dark/utility/utility.js +1 -4
  83. package/dist/es2019/tokens/atlassian-legacy-light/utility/utility.js +1 -4
  84. package/dist/es2019/tokens/atlassian-light/utility/utility.js +1 -4
  85. package/dist/es2019/tokens/default/utility/utility.js +1 -9
  86. package/dist/es2019/use-theme-observer.js +26 -0
  87. package/dist/es2019/utils/color-detection.js +3 -5
  88. package/dist/es2019/utils/theme-loading.js +18 -0
  89. package/dist/es2019/utils/theme-state-transformer.js +47 -0
  90. package/dist/es2019/utils/token-ids.js +5 -4
  91. package/dist/es2019/version.json +1 -1
  92. package/dist/esm/artifacts/replacement-mapping.js +2 -401
  93. package/dist/esm/artifacts/theme-import-map.js +39 -0
  94. package/dist/esm/artifacts/themes/atlassian-dark.js +6 -0
  95. package/dist/esm/artifacts/themes/atlassian-legacy-dark.js +6 -0
  96. package/dist/esm/artifacts/themes/atlassian-legacy-light.js +6 -0
  97. package/dist/esm/artifacts/themes/atlassian-light.js +6 -0
  98. package/dist/esm/artifacts/themes/atlassian-spacing.js +6 -0
  99. package/dist/esm/artifacts/themes/atlassian-typography.js +6 -0
  100. package/dist/esm/artifacts/token-default-values.js +2 -103
  101. package/dist/esm/artifacts/token-names.js +2 -103
  102. package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +1354 -4260
  103. package/dist/esm/artifacts/tokens-raw/atlassian-legacy-dark.js +1349 -4255
  104. package/dist/esm/artifacts/tokens-raw/atlassian-legacy-light.js +1397 -4283
  105. package/dist/esm/artifacts/tokens-raw/atlassian-light.js +1360 -4246
  106. package/dist/esm/babel-plugin/plugin.js +17 -35
  107. package/dist/esm/get-global-theme.js +22 -0
  108. package/dist/esm/get-token-value.js +1 -6
  109. package/dist/esm/get-token.js +3 -8
  110. package/dist/esm/index.js +5 -2
  111. package/dist/esm/palettes/legacy-palette.js +1 -0
  112. package/dist/esm/palettes/spacing-scale.js +1 -0
  113. package/dist/esm/palettes/typography-palette.js +0 -3
  114. package/dist/esm/set-global-theme.js +263 -37
  115. package/dist/esm/theme-config.js +5 -21
  116. package/dist/esm/{theme-change-observer.js → theme-mutation-observer.js} +4 -49
  117. package/dist/esm/tokens/atlassian-dark/utility/utility.js +1 -4
  118. package/dist/esm/tokens/atlassian-legacy-dark/utility/utility.js +1 -4
  119. package/dist/esm/tokens/atlassian-legacy-light/utility/utility.js +1 -4
  120. package/dist/esm/tokens/atlassian-light/utility/utility.js +1 -4
  121. package/dist/esm/tokens/default/utility/utility.js +1 -9
  122. package/dist/esm/use-theme-observer.js +34 -0
  123. package/dist/esm/utils/color-detection.js +23 -30
  124. package/dist/esm/utils/theme-loading.js +60 -0
  125. package/dist/esm/utils/theme-state-transformer.js +64 -0
  126. package/dist/esm/utils/token-ids.js +5 -4
  127. package/dist/esm/version.json +1 -1
  128. package/dist/types/artifacts/replacement-mapping.d.ts +1 -1
  129. package/dist/types/artifacts/theme-import-map.d.ts +16 -0
  130. package/dist/types/artifacts/themes/atlassian-dark.d.ts +7 -0
  131. package/dist/types/artifacts/themes/atlassian-legacy-dark.d.ts +7 -0
  132. package/dist/types/artifacts/themes/atlassian-legacy-light.d.ts +7 -0
  133. package/dist/types/artifacts/themes/atlassian-light.d.ts +7 -0
  134. package/dist/types/artifacts/themes/atlassian-spacing.d.ts +7 -0
  135. package/dist/types/artifacts/themes/atlassian-typography.d.ts +7 -0
  136. package/dist/types/artifacts/token-default-values.d.ts +2 -103
  137. package/dist/types/artifacts/token-names.d.ts +3 -205
  138. package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +1 -115
  139. package/dist/types/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +1 -115
  140. package/dist/types/artifacts/tokens-raw/atlassian-legacy-light.d.ts +1 -91
  141. package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +1 -91
  142. package/dist/types/artifacts/types-internal.d.ts +2 -2
  143. package/dist/types/artifacts/types.d.ts +2 -2
  144. package/dist/types/get-global-theme.d.ts +2 -0
  145. package/dist/types/index.d.ts +7 -3
  146. package/dist/types/set-global-theme.d.ts +63 -7
  147. package/dist/types/theme-config.d.ts +10 -7
  148. package/dist/types/{theme-change-observer.d.ts → theme-mutation-observer.d.ts} +2 -16
  149. package/dist/types/types.d.ts +1 -180
  150. package/dist/types/use-theme-observer.d.ts +15 -0
  151. package/dist/types/utils/theme-loading.d.ts +3 -0
  152. package/dist/types/utils/theme-state-transformer.d.ts +26 -0
  153. package/figma/atlassian-dark.json +1 -102
  154. package/figma/atlassian-legacy-dark.json +1 -102
  155. package/figma/atlassian-legacy-light.json +1 -102
  156. package/figma/atlassian-light.json +1 -102
  157. package/package.json +5 -8
  158. package/report.api.md +85 -219
  159. package/tmp/api-report-tmp.d.ts +58 -210
  160. package/css/atlassian-dark.css +0 -786
  161. package/css/atlassian-legacy-dark.css +0 -786
  162. package/css/atlassian-legacy-light.css +0 -786
  163. package/css/atlassian-light.css +0 -786
  164. package/dist/cjs/artifacts/typescript/atlassian-light-token-default-values.js +0 -407
  165. package/dist/cjs/tokens/atlassian-dark/deprecated/deprecated.js +0 -435
  166. package/dist/cjs/tokens/atlassian-legacy-dark/deprecated/deprecated.js +0 -532
  167. package/dist/cjs/tokens/atlassian-legacy-light/deprecated/deprecated.js +0 -523
  168. package/dist/cjs/tokens/atlassian-light/deprecated/deprecated.js +0 -421
  169. package/dist/cjs/tokens/default/deprecated/deprecated.js +0 -1186
  170. package/dist/es2019/artifacts/typescript/atlassian-light-token-default-values.js +0 -399
  171. package/dist/es2019/tokens/atlassian-dark/deprecated/deprecated.js +0 -428
  172. package/dist/es2019/tokens/atlassian-legacy-dark/deprecated/deprecated.js +0 -525
  173. package/dist/es2019/tokens/atlassian-legacy-light/deprecated/deprecated.js +0 -516
  174. package/dist/es2019/tokens/atlassian-light/deprecated/deprecated.js +0 -414
  175. package/dist/es2019/tokens/default/deprecated/deprecated.js +0 -1217
  176. package/dist/esm/artifacts/typescript/atlassian-light-token-default-values.js +0 -399
  177. package/dist/esm/tokens/atlassian-dark/deprecated/deprecated.js +0 -428
  178. package/dist/esm/tokens/atlassian-legacy-dark/deprecated/deprecated.js +0 -525
  179. package/dist/esm/tokens/atlassian-legacy-light/deprecated/deprecated.js +0 -516
  180. package/dist/esm/tokens/atlassian-light/deprecated/deprecated.js +0 -414
  181. package/dist/esm/tokens/default/deprecated/deprecated.js +0 -1179
  182. package/dist/types/artifacts/typescript/atlassian-light-token-default-values.d.ts +0 -399
  183. package/dist/types/tokens/atlassian-dark/deprecated/deprecated.d.ts +0 -4
  184. package/dist/types/tokens/atlassian-legacy-dark/deprecated/deprecated.d.ts +0 -4
  185. package/dist/types/tokens/atlassian-legacy-light/deprecated/deprecated.d.ts +0 -4
  186. package/dist/types/tokens/atlassian-light/deprecated/deprecated.d.ts +0 -4
  187. package/dist/types/tokens/default/deprecated/deprecated.d.ts +0 -4
@@ -1,1217 +0,0 @@
1
- const color = {
2
- color: {
3
- accent: {
4
- boldBlue: {
5
- attributes: {
6
- group: 'paint',
7
- state: 'deleted',
8
- introduced: '0.1.1',
9
- deprecated: '0.6.0',
10
- deleted: '0.8.0',
11
- replacement: 'color.background.accent.blue.bolder',
12
- description: 'Use for blue backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
13
- }
14
- },
15
- boldGreen: {
16
- attributes: {
17
- group: 'paint',
18
- state: 'deleted',
19
- introduced: '0.1.1',
20
- deprecated: '0.6.0',
21
- deleted: '0.8.0',
22
- replacement: 'color.background.accent.green.bolder',
23
- description: 'Use for green backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
24
- }
25
- },
26
- boldOrange: {
27
- attributes: {
28
- group: 'paint',
29
- state: 'deleted',
30
- introduced: '0.1.1',
31
- deprecated: '0.6.0',
32
- deleted: '0.8.0',
33
- replacement: 'color.background.accent.orange.bolder',
34
- description: 'Use for orange backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
35
- }
36
- },
37
- boldPurple: {
38
- attributes: {
39
- group: 'paint',
40
- state: 'deleted',
41
- introduced: '0.1.1',
42
- deprecated: '0.6.0',
43
- deleted: '0.8.0',
44
- replacement: 'color.background.accent.purple.bolder',
45
- description: 'Use for purple backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
46
- }
47
- },
48
- boldRed: {
49
- attributes: {
50
- group: 'paint',
51
- state: 'deleted',
52
- introduced: '0.1.1',
53
- deprecated: '0.6.0',
54
- deleted: '0.8.0',
55
- replacement: 'color.background.accent.red.bolder',
56
- description: 'Use for red backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
57
- }
58
- },
59
- boldTeal: {
60
- attributes: {
61
- group: 'paint',
62
- state: 'deleted',
63
- introduced: '0.1.1',
64
- deprecated: '0.6.0',
65
- deleted: '0.8.0',
66
- replacement: 'color.background.accent.teal.bolder',
67
- description: 'Use for teal backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
68
- }
69
- },
70
- subtleBlue: {
71
- attributes: {
72
- group: 'paint',
73
- state: 'deleted',
74
- introduced: '0.1.0',
75
- deprecated: '0.6.0',
76
- deleted: '0.8.0',
77
- replacement: 'color.background.accent.blue.subtler',
78
- description: 'Use for blue subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
79
- }
80
- },
81
- subtleGreen: {
82
- attributes: {
83
- group: 'paint',
84
- state: 'deleted',
85
- introduced: '0.1.0',
86
- deprecated: '0.6.0',
87
- deleted: '0.8.0',
88
- replacement: 'color.background.accent.green.subtler',
89
- description: 'Use for green subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
90
- }
91
- },
92
- subtleMagenta: {
93
- attributes: {
94
- group: 'paint',
95
- state: 'deleted',
96
- introduced: '0.1.0',
97
- deprecated: '0.6.0',
98
- deleted: '0.8.0',
99
- replacement: 'color.background.accent.magenta.subtler',
100
- description: 'Use for magenta subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
101
- }
102
- },
103
- subtleOrange: {
104
- attributes: {
105
- group: 'paint',
106
- state: 'deleted',
107
- introduced: '0.1.0',
108
- deprecated: '0.6.0',
109
- deleted: '0.8.0',
110
- replacement: 'color.background.accent.orange.subtler',
111
- description: 'Use for orange subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
112
- }
113
- },
114
- subtlePurple: {
115
- attributes: {
116
- group: 'paint',
117
- state: 'deleted',
118
- introduced: '0.1.0',
119
- deprecated: '0.6.0',
120
- deleted: '0.8.0',
121
- replacement: 'color.background.accent.purple.subtler',
122
- description: 'Use for purple subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
123
- }
124
- },
125
- subtleRed: {
126
- attributes: {
127
- group: 'paint',
128
- state: 'deleted',
129
- introduced: '0.1.0',
130
- deprecated: '0.6.0',
131
- deleted: '0.8.0',
132
- replacement: 'color.background.accent.red.subtler',
133
- description: 'Use for red subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
134
- }
135
- },
136
- subtleTeal: {
137
- attributes: {
138
- group: 'paint',
139
- state: 'deleted',
140
- introduced: '0.1.0',
141
- deprecated: '0.6.0',
142
- deleted: '0.8.0',
143
- replacement: 'color.background.accent.teal.subtler',
144
- description: 'Use for teal subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
145
- }
146
- }
147
- },
148
- background: {
149
- accent: {
150
- blue: {
151
- '[default]': {
152
- attributes: {
153
- group: 'paint',
154
- state: 'deleted',
155
- introduced: '0.6.0',
156
- deprecated: '0.7.0',
157
- deleted: '0.8.0',
158
- replacement: 'color.background.accent.blue.subtler',
159
- description: 'Use for blue backgrounds when there is no meaning tied to the color, such as colored tags.'
160
- }
161
- },
162
- bold: {
163
- attributes: {
164
- group: 'paint',
165
- state: 'deleted',
166
- introduced: '0.6.0',
167
- deprecated: '0.7.0',
168
- deleted: '0.8.0',
169
- replacement: 'color.background.accent.blue.subtle',
170
- description: 'Use for blue backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
171
- }
172
- }
173
- },
174
- red: {
175
- '[default]': {
176
- attributes: {
177
- group: 'paint',
178
- state: 'deleted',
179
- introduced: '0.6.0',
180
- deprecated: '0.7.0',
181
- deleted: '0.8.0',
182
- replacement: 'color.background.accent.red.subtler',
183
- description: 'Use for red backgrounds when there is no meaning tied to the color, such as colored tags.'
184
- }
185
- },
186
- bold: {
187
- attributes: {
188
- group: 'paint',
189
- state: 'deleted',
190
- introduced: '0.6.0',
191
- deprecated: '0.7.0',
192
- deleted: '0.8.0',
193
- replacement: 'color.background.accent.red.subtle',
194
- description: 'Use for red backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
195
- }
196
- }
197
- },
198
- orange: {
199
- '[default]': {
200
- attributes: {
201
- group: 'paint',
202
- state: 'deleted',
203
- introduced: '0.6.0',
204
- deprecated: '0.7.0',
205
- deleted: '0.8.0',
206
- replacement: 'color.background.accent.orange.subtler',
207
- description: 'Use for orange backgrounds when there is no meaning tied to the color, such as colored tags.'
208
- }
209
- },
210
- bold: {
211
- attributes: {
212
- group: 'paint',
213
- state: 'deleted',
214
- introduced: '0.6.0',
215
- deprecated: '0.7.0',
216
- deleted: '0.8.0',
217
- replacement: 'color.background.accent.orange.subtle',
218
- description: 'Use for orange backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
219
- }
220
- }
221
- },
222
- yellow: {
223
- '[default]': {
224
- attributes: {
225
- group: 'paint',
226
- state: 'deleted',
227
- introduced: '0.6.0',
228
- deprecated: '0.7.0',
229
- deleted: '0.8.0',
230
- replacement: 'color.background.accent.yellow.subtler',
231
- description: 'Use for yellow backgrounds when there is no meaning tied to the color, such as colored tags.'
232
- }
233
- },
234
- bold: {
235
- attributes: {
236
- group: 'paint',
237
- state: 'deleted',
238
- introduced: '0.6.0',
239
- deprecated: '0.7.0',
240
- deleted: '0.8.0',
241
- replacement: 'color.background.accent.yellow.subtle',
242
- description: 'Use for yellow backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
243
- }
244
- }
245
- },
246
- green: {
247
- '[default]': {
248
- attributes: {
249
- group: 'paint',
250
- state: 'deleted',
251
- introduced: '0.6.0',
252
- deprecated: '0.7.0',
253
- deleted: '0.8.0',
254
- replacement: 'color.background.accent.green.subtler',
255
- description: 'Use for green backgrounds when there is no meaning tied to the color, such as colored tags.'
256
- }
257
- },
258
- bold: {
259
- attributes: {
260
- group: 'paint',
261
- state: 'deleted',
262
- introduced: '0.6.0',
263
- deprecated: '0.7.0',
264
- deleted: '0.8.0',
265
- replacement: 'color.background.accent.green.subtle',
266
- description: 'Use for green backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
267
- }
268
- }
269
- },
270
- teal: {
271
- '[default]': {
272
- attributes: {
273
- group: 'paint',
274
- state: 'deleted',
275
- introduced: '0.6.0',
276
- deprecated: '0.7.0',
277
- deleted: '0.8.0',
278
- replacement: 'color.background.accent.teal.subtler',
279
- description: 'Use for teal backgrounds when there is no meaning tied to the color, such as colored tags.'
280
- }
281
- },
282
- bold: {
283
- attributes: {
284
- group: 'paint',
285
- state: 'deleted',
286
- introduced: '0.6.0',
287
- deprecated: '0.7.0',
288
- deleted: '0.8.0',
289
- replacement: 'color.background.accent.teal.subtle',
290
- description: 'Use for teal backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
291
- }
292
- }
293
- },
294
- purple: {
295
- '[default]': {
296
- attributes: {
297
- group: 'paint',
298
- state: 'deleted',
299
- introduced: '0.6.0',
300
- deprecated: '0.7.0',
301
- deleted: '0.8.0',
302
- replacement: 'color.background.accent.purple.subtler',
303
- description: 'Use for purple backgrounds when there is no meaning tied to the color, such as colored tags.'
304
- }
305
- },
306
- bold: {
307
- attributes: {
308
- group: 'paint',
309
- state: 'deleted',
310
- introduced: '0.6.0',
311
- deprecated: '0.7.0',
312
- deleted: '0.8.0',
313
- replacement: 'color.background.accent.purple.subtle',
314
- description: 'Use for purple backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
315
- }
316
- }
317
- },
318
- magenta: {
319
- '[default]': {
320
- attributes: {
321
- group: 'paint',
322
- state: 'deleted',
323
- introduced: '0.6.0',
324
- deprecated: '0.7.0',
325
- deleted: '0.8.0',
326
- replacement: 'color.background.accent.magenta.subtler',
327
- description: 'Use for magenta backgrounds when there is no meaning tied to the color, such as colored tags.'
328
- }
329
- },
330
- bold: {
331
- attributes: {
332
- group: 'paint',
333
- state: 'deleted',
334
- introduced: '0.6.0',
335
- deprecated: '0.7.0',
336
- deleted: '0.8.0',
337
- replacement: 'color.background.accent.magenta.subtle',
338
- description: 'Use for magenta backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
339
- }
340
- }
341
- }
342
- },
343
- blanket: {
344
- attributes: {
345
- group: 'paint',
346
- state: 'deleted',
347
- introduced: '0.0.15',
348
- deprecated: '0.6.0',
349
- deleted: '0.8.0',
350
- replacement: 'color.blanket.[default]',
351
- description: 'Use for the screen overlay that appears with modal dialogs'
352
- }
353
- },
354
- brand: {
355
- '[default]': {
356
- '[default]': {
357
- attributes: {
358
- group: 'paint',
359
- state: 'deleted',
360
- introduced: '0.6.0',
361
- deprecated: '0.6.2',
362
- deleted: '0.10.5',
363
- replacement: 'color.background.selected.[default].[default]',
364
- description: 'Use for the background of elements used to reinforce our brand.'
365
- }
366
- },
367
- hovered: {
368
- attributes: {
369
- group: 'paint',
370
- state: 'deleted',
371
- introduced: '0.6.0',
372
- deprecated: '0.6.2',
373
- deleted: '0.10.5',
374
- replacement: 'color.background.selected.[default].hovered',
375
- description: 'Hovered state for color.background.brand'
376
- }
377
- },
378
- pressed: {
379
- attributes: {
380
- group: 'paint',
381
- state: 'deleted',
382
- introduced: '0.6.0',
383
- deprecated: '0.6.2',
384
- deleted: '0.10.5',
385
- replacement: 'color.background.selected.[default].pressed',
386
- description: 'Pressed state for color.background.brand'
387
- }
388
- }
389
- }
390
- },
391
- boldBrand: {
392
- hover: {
393
- attributes: {
394
- group: 'paint',
395
- state: 'deleted',
396
- introduced: '0.0.15',
397
- deprecated: '0.6.0',
398
- deleted: '0.8.0',
399
- replacement: 'color.background.brand.bold.hovered',
400
- description: 'Hover state of background.boldBrand'
401
- }
402
- },
403
- pressed: {
404
- attributes: {
405
- group: 'paint',
406
- state: 'deleted',
407
- introduced: '0.0.15',
408
- deprecated: '0.6.0',
409
- deleted: '0.8.0',
410
- replacement: 'color.background.brand.bold.pressed',
411
- description: 'Pressed state of background.boldBrand'
412
- }
413
- },
414
- resting: {
415
- attributes: {
416
- group: 'paint',
417
- state: 'deleted',
418
- introduced: '0.0.15',
419
- deprecated: '0.6.0',
420
- deleted: '0.8.0',
421
- replacement: 'color.background.brand.bold.[default]',
422
- description: 'A vibrant background for small UI elements like primary buttons and bold in progress lozenges.'
423
- }
424
- }
425
- },
426
- boldDanger: {
427
- hover: {
428
- attributes: {
429
- group: 'paint',
430
- state: 'deleted',
431
- introduced: '0.0.15',
432
- deprecated: '0.6.0',
433
- deleted: '0.8.0',
434
- replacement: 'color.background.danger.bold.hovered',
435
- description: 'Hover state of background.boldDanger'
436
- }
437
- },
438
- pressed: {
439
- attributes: {
440
- group: 'paint',
441
- state: 'deleted',
442
- introduced: '0.0.15',
443
- deprecated: '0.6.0',
444
- deleted: '0.8.0',
445
- replacement: 'color.background.danger.bold.pressed',
446
- description: 'Pressed state of background.boldDanger'
447
- }
448
- },
449
- resting: {
450
- attributes: {
451
- group: 'paint',
452
- state: 'deleted',
453
- introduced: '0.0.15',
454
- deprecated: '0.6.0',
455
- deleted: '0.8.0',
456
- replacement: 'color.background.danger.bold.[default]',
457
- description: 'A vibrant background for small UI elements like danger buttons and bold removed lozenges.'
458
- }
459
- }
460
- },
461
- boldDiscovery: {
462
- hover: {
463
- attributes: {
464
- group: 'paint',
465
- state: 'deleted',
466
- introduced: '0.0.15',
467
- deprecated: '0.6.0',
468
- deleted: '0.8.0',
469
- replacement: 'color.background.discovery.bold.hovered',
470
- description: 'Hover state of background.boldDiscovery'
471
- }
472
- },
473
- pressed: {
474
- attributes: {
475
- group: 'paint',
476
- state: 'deleted',
477
- introduced: '0.0.15',
478
- deprecated: '0.6.0',
479
- deleted: '0.8.0',
480
- replacement: 'color.background.discovery.bold.pressed',
481
- description: 'Pressed state of background.boldDiscovery'
482
- }
483
- },
484
- resting: {
485
- attributes: {
486
- group: 'paint',
487
- state: 'deleted',
488
- introduced: '0.0.15',
489
- deprecated: '0.6.0',
490
- deleted: '0.8.0',
491
- replacement: 'color.background.discovery.bold.[default]',
492
- description: 'A vibrant background for small UI elements like onboarding buttons and bold new lozenges.'
493
- }
494
- }
495
- },
496
- boldNeutral: {
497
- hover: {
498
- attributes: {
499
- group: 'paint',
500
- state: 'deleted',
501
- introduced: '0.0.15',
502
- deprecated: '0.6.0',
503
- deleted: '0.8.0',
504
- replacement: 'color.background.neutral.bold.hovered',
505
- description: 'Hover state of background.boldNeutral'
506
- }
507
- },
508
- pressed: {
509
- attributes: {
510
- group: 'paint',
511
- state: 'deleted',
512
- introduced: '0.0.15',
513
- deprecated: '0.6.0',
514
- deleted: '0.8.0',
515
- replacement: 'color.background.neutral.bold.pressed',
516
- description: 'Pressed state of background.boldNeutral'
517
- }
518
- },
519
- resting: {
520
- attributes: {
521
- group: 'paint',
522
- state: 'deleted',
523
- introduced: '0.0.15',
524
- deprecated: '0.6.0',
525
- deleted: '0.8.0',
526
- replacement: 'color.background.neutral.bold.[default]',
527
- description: 'A vibrant background for small UI elements like unchecked toggles and bold default lozenges.'
528
- }
529
- }
530
- },
531
- boldSuccess: {
532
- hover: {
533
- attributes: {
534
- group: 'paint',
535
- state: 'deleted',
536
- introduced: '0.0.15',
537
- deprecated: '0.6.0',
538
- deleted: '0.8.0',
539
- replacement: 'color.background.success.bold.hovered',
540
- description: 'Hover state of background.boldSuccess'
541
- }
542
- },
543
- pressed: {
544
- attributes: {
545
- group: 'paint',
546
- state: 'deleted',
547
- introduced: '0.0.15',
548
- deprecated: '0.6.0',
549
- deleted: '0.8.0',
550
- replacement: 'color.background.success.bold.pressed',
551
- description: 'Pressed state of background.boldSuccess'
552
- }
553
- },
554
- resting: {
555
- attributes: {
556
- group: 'paint',
557
- state: 'deleted',
558
- introduced: '0.0.15',
559
- deprecated: '0.6.0',
560
- deleted: '0.8.0',
561
- replacement: 'color.background.success.bold.[default]',
562
- description: 'A vibrant background for small UI elements like checked toggles and bold success lozenges.'
563
- }
564
- }
565
- },
566
- boldWarning: {
567
- hover: {
568
- attributes: {
569
- group: 'paint',
570
- state: 'deleted',
571
- introduced: '0.0.15',
572
- deprecated: '0.6.0',
573
- deleted: '0.8.0',
574
- replacement: 'color.background.warning.bold.hovered',
575
- description: 'Hover state of background.boldWarning'
576
- }
577
- },
578
- pressed: {
579
- attributes: {
580
- group: 'paint',
581
- state: 'deleted',
582
- introduced: '0.0.15',
583
- deprecated: '0.6.0',
584
- deleted: '0.8.0',
585
- replacement: 'color.background.warning.bold.pressed',
586
- description: 'Pressed state of background.boldWarning'
587
- }
588
- },
589
- resting: {
590
- attributes: {
591
- group: 'paint',
592
- state: 'deleted',
593
- introduced: '0.0.15',
594
- deprecated: '0.6.0',
595
- deleted: '0.8.0',
596
- replacement: 'color.background.warning.bold.[default]',
597
- description: 'A vibrant background for small UI elements like warning buttons and bold moved lozenges.'
598
- }
599
- }
600
- },
601
- card: {
602
- attributes: {
603
- group: 'paint',
604
- state: 'deleted',
605
- introduced: '0.0.15',
606
- deprecated: '0.6.0',
607
- deleted: '0.8.0',
608
- replacement: 'elevation.surface.raised.[default]',
609
- description: 'Use for the background of raised cards, such as Jira cards on a Kanban board.\nCombine with shadow.card.'
610
- }
611
- },
612
- default: {
613
- attributes: {
614
- group: 'paint',
615
- state: 'deleted',
616
- introduced: '0.0.15',
617
- deprecated: '0.6.0',
618
- deleted: '0.8.0',
619
- replacement: 'elevation.surface.[default].[default]',
620
- description: 'Use as the primary background for the UI'
621
- }
622
- },
623
- inverse: {
624
- '[default]': {
625
- attributes: {
626
- group: 'paint',
627
- state: 'deleted',
628
- introduced: '0.1.0',
629
- deprecated: '0.8.3',
630
- deleted: '0.10.5',
631
- replacement: 'color.background.inverse.subtle.[default]',
632
- description: 'Use for backgrounds of elements on a bold background, such as in the buttons on spotlight cards.'
633
- }
634
- }
635
- },
636
- overlay: {
637
- attributes: {
638
- group: 'paint',
639
- state: 'deleted',
640
- introduced: '0.0.15',
641
- deprecated: '0.6.0',
642
- deleted: '0.8.0',
643
- replacement: 'elevation.surface.overlay.[default]',
644
- description: `
645
- 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).
646
-
647
- Also use for the background of raised cards in a dragged state.
648
-
649
- Combine with shadow.overlay.`
650
- }
651
- },
652
- selected: {
653
- resting: {
654
- attributes: {
655
- group: 'paint',
656
- state: 'deleted',
657
- introduced: '0.1.0',
658
- deprecated: '0.6.0',
659
- deleted: '0.10.5',
660
- replacement: 'color.background.selected.[default].[default]',
661
- description: 'Use for backgrounds of elements in a selected state'
662
- }
663
- },
664
- hover: {
665
- attributes: {
666
- group: 'paint',
667
- state: 'deleted',
668
- introduced: '0.1.0',
669
- deprecated: '0.6.0',
670
- deleted: '0.10.5',
671
- replacement: 'color.background.selected.[default].hovered',
672
- description: 'Hover state for color.background.selected'
673
- }
674
- }
675
- },
676
- subtleBorderedNeutral: {
677
- pressed: {
678
- attributes: {
679
- group: 'paint',
680
- state: 'deleted',
681
- introduced: '0.0.15',
682
- deprecated: '0.6.0',
683
- deleted: '0.8.0',
684
- replacement: 'color.background.input.pressed',
685
- description: 'Pressed state for background.subtleBorderedNeutral'
686
- }
687
- },
688
- resting: {
689
- attributes: {
690
- group: 'paint',
691
- state: 'deleted',
692
- introduced: '0.0.15',
693
- deprecated: '0.6.0',
694
- deleted: '0.8.0',
695
- replacement: 'color.background.input.[default]',
696
- description: 'Hover state for background.subtleBorderedNeutral'
697
- }
698
- }
699
- },
700
- subtleBrand: {
701
- hover: {
702
- attributes: {
703
- group: 'paint',
704
- state: 'deleted',
705
- introduced: '0.0.15',
706
- deprecated: '0.6.0',
707
- deleted: '0.10.5',
708
- replacement: 'color.background.selected.[default].hovered',
709
- description: 'Hover state for background.subtleBrand'
710
- }
711
- },
712
- pressed: {
713
- attributes: {
714
- group: 'paint',
715
- state: 'deleted',
716
- introduced: '0.0.15',
717
- deprecated: '0.6.0',
718
- deleted: '0.10.5',
719
- replacement: 'color.background.selected.[default].pressed',
720
- description: 'Pressed state for background.subtleBrand'
721
- }
722
- },
723
- resting: {
724
- attributes: {
725
- group: 'paint',
726
- state: 'deleted',
727
- introduced: '0.0.15',
728
- deprecated: '0.6.0',
729
- deleted: '0.10.5',
730
- replacement: 'color.background.selected.[default].[default]',
731
- description: 'Use for subdued backgrounds of UI elements like information section messages and in progress lozenges.'
732
- }
733
- }
734
- },
735
- subtleDanger: {
736
- hover: {
737
- attributes: {
738
- group: 'paint',
739
- state: 'deleted',
740
- introduced: '0.0.15',
741
- deprecated: '0.6.0',
742
- deleted: '0.8.0',
743
- replacement: 'color.background.danger.[default].hovered',
744
- description: 'Hover state for background.subtleDanger'
745
- }
746
- },
747
- pressed: {
748
- attributes: {
749
- group: 'paint',
750
- state: 'deleted',
751
- introduced: '0.0.15',
752
- deprecated: '0.6.0',
753
- deleted: '0.8.0',
754
- replacement: 'color.background.danger.[default].pressed',
755
- description: 'Pressed state for background.subtleDanger'
756
- }
757
- },
758
- resting: {
759
- attributes: {
760
- group: 'paint',
761
- state: 'deleted',
762
- introduced: '0.0.15',
763
- deprecated: '0.6.0',
764
- deleted: '0.8.0',
765
- replacement: 'color.background.danger.[default].[default]',
766
- description: 'Use for subdued backgrounds of UI elements like error section messages and removed lozenges.'
767
- }
768
- }
769
- },
770
- subtleDiscovery: {
771
- hover: {
772
- attributes: {
773
- group: 'paint',
774
- state: 'deleted',
775
- introduced: '0.0.15',
776
- deprecated: '0.6.0',
777
- deleted: '0.8.0',
778
- replacement: 'color.background.discovery.[default].hovered',
779
- description: 'Hover state for background.subtleDiscovery'
780
- }
781
- },
782
- pressed: {
783
- attributes: {
784
- group: 'paint',
785
- state: 'deleted',
786
- introduced: '0.0.15',
787
- deprecated: '0.6.0',
788
- deleted: '0.8.0',
789
- replacement: 'color.background.discovery.[default].pressed',
790
- description: 'Pressed state for background.subtleDiscovery'
791
- }
792
- },
793
- resting: {
794
- attributes: {
795
- group: 'paint',
796
- state: 'deleted',
797
- introduced: '0.0.15',
798
- deprecated: '0.6.0',
799
- deleted: '0.8.0',
800
- replacement: 'color.background.discovery.[default].[default]',
801
- description: 'Use for subdued backgrounds of UI elements like discovery section messages and new lozenges.'
802
- }
803
- }
804
- },
805
- subtleNeutral: {
806
- hover: {
807
- attributes: {
808
- group: 'paint',
809
- state: 'deleted',
810
- introduced: '0.0.15',
811
- deprecated: '0.6.0',
812
- deleted: '0.8.0',
813
- replacement: 'color.background.neutral.[default].hovered',
814
- description: 'Hover state for background.subtleNeutral'
815
- }
816
- },
817
- pressed: {
818
- attributes: {
819
- group: 'paint',
820
- state: 'deleted',
821
- introduced: '0.0.15',
822
- deprecated: '0.6.0',
823
- deleted: '0.8.0',
824
- replacement: 'color.background.neutral.[default].pressed',
825
- description: 'Pressed state for background.subtleNeutral'
826
- }
827
- },
828
- resting: {
829
- attributes: {
830
- group: 'paint',
831
- state: 'deleted',
832
- introduced: '0.0.15',
833
- deprecated: '0.6.0',
834
- deleted: '0.8.0',
835
- replacement: 'color.background.neutral.[default].[default]',
836
- description: 'Use as the default background of UI elements like buttons, lozenges, and tags.'
837
- }
838
- }
839
- },
840
- subtleSuccess: {
841
- hover: {
842
- attributes: {
843
- group: 'paint',
844
- state: 'deleted',
845
- introduced: '0.0.15',
846
- deprecated: '0.6.0',
847
- deleted: '0.8.0',
848
- replacement: 'color.background.success.[default].hovered',
849
- description: 'Hover state for background.subtleSuccess'
850
- }
851
- },
852
- pressed: {
853
- attributes: {
854
- group: 'paint',
855
- state: 'deleted',
856
- introduced: '0.0.15',
857
- deprecated: '0.6.0',
858
- deleted: '0.8.0',
859
- replacement: 'color.background.success.[default].pressed',
860
- description: 'Pressed state for background.subtleSuccess'
861
- }
862
- },
863
- resting: {
864
- attributes: {
865
- group: 'paint',
866
- state: 'deleted',
867
- introduced: '0.0.15',
868
- deprecated: '0.6.0',
869
- deleted: '0.8.0',
870
- replacement: 'color.background.success.[default].[default]',
871
- description: 'Use for subdued backgrounds of UI elements like success section messages and success lozenges.'
872
- }
873
- }
874
- },
875
- subtleWarning: {
876
- hover: {
877
- attributes: {
878
- group: 'paint',
879
- state: 'deleted',
880
- introduced: '0.0.15',
881
- deprecated: '0.6.0',
882
- deleted: '0.8.0',
883
- replacement: 'color.background.warning.[default].hovered',
884
- description: 'Hover state for background.subtleWarning'
885
- }
886
- },
887
- pressed: {
888
- attributes: {
889
- group: 'paint',
890
- state: 'deleted',
891
- introduced: '0.0.15',
892
- deprecated: '0.6.0',
893
- deleted: '0.8.0',
894
- replacement: 'color.background.warning.[default].pressed',
895
- description: 'Pressed state for background.subtleWarning'
896
- }
897
- },
898
- resting: {
899
- attributes: {
900
- group: 'paint',
901
- state: 'deleted',
902
- introduced: '0.0.15',
903
- deprecated: '0.6.0',
904
- deleted: '0.8.0',
905
- replacement: 'color.background.warning.[default].[default]',
906
- description: 'Use for subdued backgrounds of UI elements like warning section messages and moved lozenges.'
907
- }
908
- }
909
- },
910
- sunken: {
911
- attributes: {
912
- group: 'paint',
913
- state: 'deleted',
914
- introduced: '0.0.15',
915
- deprecated: '0.6.0',
916
- deleted: '0.8.0',
917
- replacement: 'elevation.surface.sunken',
918
- description: 'Use as a secondary background for the UI'
919
- }
920
- },
921
- transparentNeutral: {
922
- hover: {
923
- attributes: {
924
- group: 'paint',
925
- state: 'deleted',
926
- introduced: '0.0.15',
927
- deprecated: '0.6.0',
928
- deleted: '0.8.0',
929
- replacement: 'color.background.neutral.subtle.hovered',
930
- description: 'Hover state for UIs that do not have a default background, such as menu items or subtle buttons.'
931
- }
932
- },
933
- pressed: {
934
- attributes: {
935
- group: 'paint',
936
- state: 'deleted',
937
- introduced: '0.0.15',
938
- deprecated: '0.6.0',
939
- deleted: '0.8.0',
940
- replacement: 'color.background.neutral.subtle.pressed',
941
- description: 'Pressed state for UIs that do not have a default background, such as menu items or subtle buttons.'
942
- }
943
- }
944
- }
945
- },
946
- text: {
947
- highEmphasis: {
948
- attributes: {
949
- group: 'paint',
950
- state: 'deleted',
951
- introduced: '0.0.15',
952
- deprecated: '0.6.0',
953
- deleted: '0.8.0',
954
- replacement: 'color.text.[default]',
955
- description: 'Use for primary text, such as body copy, sentence case headers, and buttons'
956
- }
957
- },
958
- link: {
959
- pressed: {
960
- attributes: {
961
- group: 'paint',
962
- state: 'deleted',
963
- introduced: '0.0.15',
964
- deprecated: '0.6.0',
965
- deleted: '0.8.0',
966
- replacement: 'color.link.pressed',
967
- description: 'Use for links in a pressed state'
968
- }
969
- },
970
- resting: {
971
- attributes: {
972
- group: 'paint',
973
- state: 'deleted',
974
- introduced: '0.0.15',
975
- deprecated: '0.6.0',
976
- deleted: '0.8.0',
977
- replacement: 'color.link.[default]',
978
- description: 'Use for links in a resting or hover state. Add an underline for hover states'
979
- }
980
- }
981
- },
982
- lowEmphasis: {
983
- attributes: {
984
- group: 'paint',
985
- state: 'deleted',
986
- introduced: '0.0.15',
987
- deprecated: '0.6.0',
988
- deleted: '0.8.0',
989
- replacement: 'color.text.subtlest',
990
- description: `
991
- Use for tertiary text, such as meta-data, breadcrumbs, input field placeholder and helper text.
992
-
993
- Use for icons that are paired with text.medEmphasis text`
994
- }
995
- },
996
- mediumEmphasis: {
997
- attributes: {
998
- group: 'paint',
999
- state: 'deleted',
1000
- introduced: '0.0.15',
1001
- deprecated: '0.6.0',
1002
- deleted: '0.8.0',
1003
- replacement: 'color.text.subtle',
1004
- description: `
1005
- Use for secondary text, such navigation, subtle button links, input field labels, and all caps subheadings.
1006
-
1007
- Use for icon-only buttons, or icons paired with text.highEmphasis text
1008
- `
1009
- }
1010
- },
1011
- onBold: {
1012
- attributes: {
1013
- group: 'paint',
1014
- state: 'deleted',
1015
- introduced: '0.0.15',
1016
- deprecated: '0.6.0',
1017
- deleted: '0.8.0',
1018
- replacement: 'color.text.inverse',
1019
- description: 'Use for text and icons when on bold backgrounds'
1020
- }
1021
- },
1022
- onBoldWarning: {
1023
- attributes: {
1024
- group: 'paint',
1025
- state: 'deleted',
1026
- introduced: '0.0.15',
1027
- deprecated: '0.6.0',
1028
- deleted: '0.8.0',
1029
- replacement: 'color.text.warning.inverse',
1030
- description: 'Use for text and icons when on bold warning backgrounds'
1031
- }
1032
- }
1033
- },
1034
- border: {
1035
- focus: {
1036
- attributes: {
1037
- group: 'paint',
1038
- state: 'deleted',
1039
- introduced: '0.0.15',
1040
- deprecated: '0.6.0',
1041
- deleted: '0.8.0',
1042
- replacement: 'color.border.focused',
1043
- description: 'Use for focus rings of elements in a focus state'
1044
- }
1045
- },
1046
- neutral: {
1047
- attributes: {
1048
- group: 'paint',
1049
- state: 'deleted',
1050
- introduced: '0.0.15',
1051
- deprecated: '0.6.0',
1052
- deleted: '0.8.0',
1053
- replacement: 'color.border.[default]',
1054
- description: 'Use to create borders around UI elements such as text fields, checkboxes, and radio buttons, or to visually group or separate UI elements, such as flat cards or side panel dividers'
1055
- }
1056
- }
1057
- },
1058
- iconBorder: {
1059
- brand: {
1060
- attributes: {
1061
- group: 'paint',
1062
- state: 'deleted',
1063
- introduced: '0.0.15',
1064
- deprecated: '0.6.0',
1065
- deleted: '0.8.0',
1066
- replacement: 'color.icon.brand',
1067
- description: `
1068
- Use rarely for icons or borders representing brand, in-progress, or information, such as the icons in information sections messages.
1069
-
1070
- Also use for blue icons or borders when there is no meaning tied to the color, such as file type icons.`
1071
- }
1072
- },
1073
- danger: {
1074
- attributes: {
1075
- group: 'paint',
1076
- state: 'deleted',
1077
- introduced: '0.0.15',
1078
- deprecated: '0.6.0',
1079
- deleted: '0.8.0',
1080
- replacement: 'color.icon.danger',
1081
- description: `
1082
- Use rarely for icons and borders representing critical information, such the icons in error section messages or the borders on invalid text fields.
1083
-
1084
- Also use for red icons or borders when there is no meaning tied to the color, such as file type icons.`
1085
- }
1086
- },
1087
- discovery: {
1088
- attributes: {
1089
- group: 'paint',
1090
- state: 'deleted',
1091
- introduced: '0.0.15',
1092
- deprecated: '0.6.0',
1093
- deleted: '0.8.0',
1094
- replacement: 'color.icon.discovery',
1095
- description: `
1096
- Use rarely for icons and borders representing new information, such as the icons in discovery section mesages or the borders in onboarding spotlights.
1097
-
1098
- Also use for purple icons or borders when there is no meaning tied to the color, such as file type icons.
1099
- `
1100
- }
1101
- },
1102
- success: {
1103
- attributes: {
1104
- group: 'paint',
1105
- state: 'deleted',
1106
- introduced: '0.0.15',
1107
- deprecated: '0.6.0',
1108
- deleted: '0.8.0',
1109
- replacement: 'color.icon.success',
1110
- description: `
1111
- Use rarely for icons and borders representing positive information, such as the icons in success section messages or the borders on validated text fields.
1112
-
1113
- Also use for green icons or borders when there is no meaning tied to the color, such as file type icons.
1114
- `
1115
- }
1116
- },
1117
- warning: {
1118
- attributes: {
1119
- group: 'paint',
1120
- state: 'deleted',
1121
- introduced: '0.0.15',
1122
- deprecated: '0.6.0',
1123
- deleted: '0.8.0',
1124
- replacement: 'color.icon.warning.[default]',
1125
- description: `
1126
- Use rarely for icons and borders representing semi-urgent information, such as the icons in warning section messages.
1127
-
1128
- Also use for yellow icons or borders when there is no meaning tied to the color, such as file type icons.
1129
- `
1130
- }
1131
- }
1132
- },
1133
- overlay: {
1134
- hover: {
1135
- attributes: {
1136
- group: 'paint',
1137
- state: 'deleted',
1138
- introduced: '0.1.0',
1139
- deprecated: '0.6.0',
1140
- deleted: '0.8.0',
1141
- replacement: 'color.interaction.hovered',
1142
- description: 'Use as a background overlay for elements in a hover state when their background color cannot change, such as avatars.'
1143
- }
1144
- },
1145
- pressed: {
1146
- attributes: {
1147
- group: 'paint',
1148
- state: 'deleted',
1149
- introduced: '0.1.0',
1150
- deprecated: '0.6.0',
1151
- deleted: '0.8.0',
1152
- replacement: 'color.interaction.pressed',
1153
- description: 'Use as a background overlay for elements in a pressed state when their background color cannot change, such as avatars.'
1154
- }
1155
- }
1156
- },
1157
- interaction: {
1158
- inverse: {
1159
- hovered: {
1160
- attributes: {
1161
- group: 'paint',
1162
- state: 'deleted',
1163
- introduced: '0.6.0',
1164
- deprecated: '0.10.8',
1165
- deleted: '0.10.13',
1166
- description: 'Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.',
1167
- replacement: 'color.background.inverse.subtle.hovered'
1168
- }
1169
- },
1170
- pressed: {
1171
- attributes: {
1172
- group: 'paint',
1173
- state: 'deleted',
1174
- introduced: '0.6.0',
1175
- deprecated: '0.10.8 ',
1176
- deleted: '0.10.13',
1177
- description: 'Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.',
1178
- replacement: 'color.background.inverse.subtle.pressed'
1179
- }
1180
- }
1181
- }
1182
- }
1183
- },
1184
- shadow: {
1185
- card: {
1186
- attributes: {
1187
- group: 'shadow',
1188
- state: 'deleted',
1189
- introduced: '0.6.0',
1190
- deprecated: '0.6.0',
1191
- deleted: '0.8.0',
1192
- replacement: 'elevation.shadow.raised',
1193
- description: `
1194
- Use for the box shadow of raised card elements, such as Jira cards on a Kanban board.
1195
-
1196
- Combine with background.overlay`
1197
- }
1198
- },
1199
- overlay: {
1200
- attributes: {
1201
- group: 'shadow',
1202
- state: 'deleted',
1203
- introduced: '0.6.0',
1204
- deprecated: '0.6.0',
1205
- deleted: '0.8.0',
1206
- replacement: 'elevation.shadow.overlay',
1207
- description: `
1208
- Use for the box shadow of overlay elements, such as modals, dropdown menus, flags, and inline dialogs (i.e. elements that sit on top of the UI).
1209
-
1210
- Also use for the box shadow of raised cards in a dragged state.
1211
-
1212
- Combine with background.overlay`
1213
- }
1214
- }
1215
- }
1216
- };
1217
- export default color;