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