@atlaskit/tokens 0.10.14 → 0.10.17

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 (166) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/css/atlassian-legacy-dark.css +290 -0
  3. package/css/atlassian-legacy-light.css +290 -0
  4. package/dist/cjs/artifacts/palettes-raw/legacy-palette.js +1970 -0
  5. package/dist/cjs/artifacts/{palettes-raw.js → palettes-raw/palette.js} +233 -233
  6. package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-dark.js +6758 -0
  7. package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-light.js +6718 -0
  8. package/dist/cjs/constants.js +7 -5
  9. package/dist/cjs/entry-points/palettes-raw.js +2 -2
  10. package/dist/cjs/get-token.js +1 -1
  11. package/dist/cjs/palettes/legacy-palette.js +825 -0
  12. package/dist/cjs/{tokens → palettes}/palette.js +0 -0
  13. package/dist/cjs/tokens/atlassian-legacy-dark/color/accent.js +296 -0
  14. package/dist/cjs/tokens/atlassian-legacy-dark/color/background.js +250 -0
  15. package/dist/cjs/tokens/atlassian-legacy-dark/color/border.js +53 -0
  16. package/dist/cjs/tokens/atlassian-legacy-dark/color/icon.js +52 -0
  17. package/dist/cjs/tokens/atlassian-legacy-dark/color/interaction.js +22 -0
  18. package/dist/cjs/tokens/atlassian-legacy-dark/color/skeleton.js +20 -0
  19. package/dist/cjs/tokens/atlassian-legacy-dark/color/text.js +63 -0
  20. package/dist/cjs/tokens/atlassian-legacy-dark/deprecated/deprecated.js +532 -0
  21. package/dist/cjs/tokens/atlassian-legacy-dark/elevation/shadow.js +89 -0
  22. package/dist/cjs/tokens/atlassian-legacy-dark/elevation/surface.js +26 -0
  23. package/dist/cjs/tokens/atlassian-legacy-dark/utility/utility.js +20 -0
  24. package/dist/cjs/tokens/atlassian-legacy-light/color/accent.js +296 -0
  25. package/dist/cjs/tokens/atlassian-legacy-light/color/background.js +249 -0
  26. package/dist/cjs/tokens/atlassian-legacy-light/color/border.js +53 -0
  27. package/dist/cjs/tokens/atlassian-legacy-light/color/icon.js +52 -0
  28. package/dist/cjs/tokens/atlassian-legacy-light/color/interaction.js +22 -0
  29. package/dist/cjs/tokens/atlassian-legacy-light/color/skeleton.js +20 -0
  30. package/dist/cjs/tokens/atlassian-legacy-light/color/text.js +63 -0
  31. package/dist/cjs/tokens/atlassian-legacy-light/deprecated/deprecated.js +523 -0
  32. package/dist/cjs/tokens/atlassian-legacy-light/elevation/shadow.js +71 -0
  33. package/dist/cjs/tokens/atlassian-legacy-light/elevation/surface.js +26 -0
  34. package/dist/cjs/tokens/atlassian-legacy-light/utility/utility.js +20 -0
  35. package/dist/cjs/version.json +1 -1
  36. package/dist/es2019/artifacts/palettes-raw/legacy-palette.js +1962 -0
  37. package/dist/es2019/artifacts/{palettes-raw.js → palettes-raw/palette.js} +233 -233
  38. package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-dark.js +6750 -0
  39. package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-light.js +6710 -0
  40. package/dist/es2019/constants.js +5 -3
  41. package/dist/es2019/entry-points/palettes-raw.js +1 -1
  42. package/dist/es2019/get-token.js +1 -1
  43. package/dist/es2019/palettes/legacy-palette.js +817 -0
  44. package/dist/es2019/{tokens → palettes}/palette.js +0 -0
  45. package/dist/es2019/tokens/atlassian-legacy-dark/color/accent.js +289 -0
  46. package/dist/es2019/tokens/atlassian-legacy-dark/color/background.js +243 -0
  47. package/dist/es2019/tokens/atlassian-legacy-dark/color/border.js +46 -0
  48. package/dist/es2019/tokens/atlassian-legacy-dark/color/icon.js +45 -0
  49. package/dist/es2019/tokens/atlassian-legacy-dark/color/interaction.js +15 -0
  50. package/dist/es2019/tokens/atlassian-legacy-dark/color/skeleton.js +13 -0
  51. package/dist/es2019/tokens/atlassian-legacy-dark/color/text.js +56 -0
  52. package/dist/es2019/tokens/atlassian-legacy-dark/deprecated/deprecated.js +525 -0
  53. package/dist/es2019/tokens/atlassian-legacy-dark/elevation/shadow.js +82 -0
  54. package/dist/es2019/tokens/atlassian-legacy-dark/elevation/surface.js +19 -0
  55. package/dist/es2019/tokens/atlassian-legacy-dark/utility/utility.js +13 -0
  56. package/dist/es2019/tokens/atlassian-legacy-light/color/accent.js +289 -0
  57. package/dist/es2019/tokens/atlassian-legacy-light/color/background.js +242 -0
  58. package/dist/es2019/tokens/atlassian-legacy-light/color/border.js +46 -0
  59. package/dist/es2019/tokens/atlassian-legacy-light/color/icon.js +45 -0
  60. package/dist/es2019/tokens/atlassian-legacy-light/color/interaction.js +15 -0
  61. package/dist/es2019/tokens/atlassian-legacy-light/color/skeleton.js +13 -0
  62. package/dist/es2019/tokens/atlassian-legacy-light/color/text.js +56 -0
  63. package/dist/es2019/tokens/atlassian-legacy-light/deprecated/deprecated.js +516 -0
  64. package/dist/es2019/tokens/atlassian-legacy-light/elevation/shadow.js +64 -0
  65. package/dist/es2019/tokens/atlassian-legacy-light/elevation/surface.js +19 -0
  66. package/dist/es2019/tokens/atlassian-legacy-light/utility/utility.js +13 -0
  67. package/dist/es2019/version.json +1 -1
  68. package/dist/esm/artifacts/palettes-raw/legacy-palette.js +1962 -0
  69. package/dist/esm/artifacts/{palettes-raw.js → palettes-raw/palette.js} +233 -233
  70. package/dist/esm/artifacts/tokens-raw/atlassian-legacy-dark.js +6750 -0
  71. package/dist/esm/artifacts/tokens-raw/atlassian-legacy-light.js +6710 -0
  72. package/dist/esm/constants.js +5 -3
  73. package/dist/esm/entry-points/palettes-raw.js +1 -1
  74. package/dist/esm/get-token.js +1 -1
  75. package/dist/esm/palettes/legacy-palette.js +817 -0
  76. package/dist/esm/{tokens → palettes}/palette.js +0 -0
  77. package/dist/esm/tokens/atlassian-legacy-dark/color/accent.js +289 -0
  78. package/dist/esm/tokens/atlassian-legacy-dark/color/background.js +243 -0
  79. package/dist/esm/tokens/atlassian-legacy-dark/color/border.js +46 -0
  80. package/dist/esm/tokens/atlassian-legacy-dark/color/icon.js +45 -0
  81. package/dist/esm/tokens/atlassian-legacy-dark/color/interaction.js +15 -0
  82. package/dist/esm/tokens/atlassian-legacy-dark/color/skeleton.js +13 -0
  83. package/dist/esm/tokens/atlassian-legacy-dark/color/text.js +56 -0
  84. package/dist/esm/tokens/atlassian-legacy-dark/deprecated/deprecated.js +525 -0
  85. package/dist/esm/tokens/atlassian-legacy-dark/elevation/shadow.js +82 -0
  86. package/dist/esm/tokens/atlassian-legacy-dark/elevation/surface.js +19 -0
  87. package/dist/esm/tokens/atlassian-legacy-dark/utility/utility.js +13 -0
  88. package/dist/esm/tokens/atlassian-legacy-light/color/accent.js +289 -0
  89. package/dist/esm/tokens/atlassian-legacy-light/color/background.js +242 -0
  90. package/dist/esm/tokens/atlassian-legacy-light/color/border.js +46 -0
  91. package/dist/esm/tokens/atlassian-legacy-light/color/icon.js +45 -0
  92. package/dist/esm/tokens/atlassian-legacy-light/color/interaction.js +15 -0
  93. package/dist/esm/tokens/atlassian-legacy-light/color/skeleton.js +13 -0
  94. package/dist/esm/tokens/atlassian-legacy-light/color/text.js +56 -0
  95. package/dist/esm/tokens/atlassian-legacy-light/deprecated/deprecated.js +516 -0
  96. package/dist/esm/tokens/atlassian-legacy-light/elevation/shadow.js +64 -0
  97. package/dist/esm/tokens/atlassian-legacy-light/elevation/surface.js +19 -0
  98. package/dist/esm/tokens/atlassian-legacy-light/utility/utility.js +13 -0
  99. package/dist/esm/version.json +1 -1
  100. package/dist/types/artifacts/{palettes-raw.d.ts → palettes-raw/legacy-palette.d.ts} +1 -1
  101. package/dist/types/artifacts/palettes-raw/palette.d.ts +24 -0
  102. package/dist/types/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +195 -0
  103. package/dist/types/artifacts/tokens-raw/atlassian-legacy-light.d.ts +147 -0
  104. package/dist/types/constants.d.ts +7 -2
  105. package/dist/types/entry-points/palettes-raw.d.ts +1 -1
  106. package/dist/types/palettes/legacy-palette.d.ts +10 -0
  107. package/dist/types/palettes/palette.d.ts +5 -0
  108. package/dist/types/tokens/atlassian-dark/color/accent.d.ts +2 -1
  109. package/dist/types/tokens/atlassian-dark/color/background.d.ts +2 -1
  110. package/dist/types/tokens/atlassian-dark/color/border.d.ts +2 -1
  111. package/dist/types/tokens/atlassian-dark/color/icon.d.ts +2 -1
  112. package/dist/types/tokens/atlassian-dark/color/interaction.d.ts +2 -1
  113. package/dist/types/tokens/atlassian-dark/color/skeleton.d.ts +2 -1
  114. package/dist/types/tokens/atlassian-dark/color/text.d.ts +2 -1
  115. package/dist/types/tokens/atlassian-dark/deprecated/deprecated.d.ts +2 -1
  116. package/dist/types/tokens/atlassian-dark/elevation/shadow.d.ts +2 -1
  117. package/dist/types/tokens/atlassian-dark/elevation/surface.d.ts +2 -1
  118. package/dist/types/tokens/atlassian-dark/utility/utility.d.ts +1 -1
  119. package/dist/types/tokens/atlassian-legacy-dark/color/accent.d.ts +4 -0
  120. package/dist/types/tokens/atlassian-legacy-dark/color/background.d.ts +4 -0
  121. package/dist/types/tokens/atlassian-legacy-dark/color/border.d.ts +4 -0
  122. package/dist/types/tokens/atlassian-legacy-dark/color/icon.d.ts +4 -0
  123. package/dist/types/tokens/atlassian-legacy-dark/color/interaction.d.ts +4 -0
  124. package/dist/types/tokens/atlassian-legacy-dark/color/skeleton.d.ts +4 -0
  125. package/dist/types/tokens/atlassian-legacy-dark/color/text.d.ts +4 -0
  126. package/dist/types/tokens/atlassian-legacy-dark/deprecated/deprecated.d.ts +4 -0
  127. package/dist/types/tokens/atlassian-legacy-dark/elevation/shadow.d.ts +4 -0
  128. package/dist/types/tokens/atlassian-legacy-dark/elevation/surface.d.ts +4 -0
  129. package/dist/types/tokens/atlassian-legacy-dark/utility/utility.d.ts +5 -0
  130. package/dist/types/tokens/atlassian-legacy-light/color/accent.d.ts +4 -0
  131. package/dist/types/tokens/atlassian-legacy-light/color/background.d.ts +4 -0
  132. package/dist/types/tokens/atlassian-legacy-light/color/border.d.ts +4 -0
  133. package/dist/types/tokens/atlassian-legacy-light/color/icon.d.ts +4 -0
  134. package/dist/types/tokens/atlassian-legacy-light/color/interaction.d.ts +4 -0
  135. package/dist/types/tokens/atlassian-legacy-light/color/skeleton.d.ts +4 -0
  136. package/dist/types/tokens/atlassian-legacy-light/color/text.d.ts +4 -0
  137. package/dist/types/tokens/atlassian-legacy-light/deprecated/deprecated.d.ts +4 -0
  138. package/dist/types/tokens/atlassian-legacy-light/elevation/shadow.d.ts +4 -0
  139. package/dist/types/tokens/atlassian-legacy-light/elevation/surface.d.ts +4 -0
  140. package/dist/types/tokens/atlassian-legacy-light/utility/utility.d.ts +5 -0
  141. package/dist/types/tokens/atlassian-light/color/accent.d.ts +2 -1
  142. package/dist/types/tokens/atlassian-light/color/background.d.ts +2 -1
  143. package/dist/types/tokens/atlassian-light/color/border.d.ts +2 -1
  144. package/dist/types/tokens/atlassian-light/color/icon.d.ts +2 -1
  145. package/dist/types/tokens/atlassian-light/color/interaction.d.ts +2 -1
  146. package/dist/types/tokens/atlassian-light/color/skeleton.d.ts +2 -1
  147. package/dist/types/tokens/atlassian-light/color/text.d.ts +2 -1
  148. package/dist/types/tokens/atlassian-light/deprecated/deprecated.d.ts +2 -1
  149. package/dist/types/tokens/atlassian-light/elevation/shadow.d.ts +2 -1
  150. package/dist/types/tokens/atlassian-light/elevation/surface.d.ts +2 -1
  151. package/dist/types/tokens/atlassian-light/utility/utility.d.ts +1 -1
  152. package/dist/types/tokens/default/color/accent.d.ts +2 -1
  153. package/dist/types/tokens/default/color/background.d.ts +2 -1
  154. package/dist/types/tokens/default/color/border.d.ts +2 -1
  155. package/dist/types/tokens/default/color/icon.d.ts +2 -1
  156. package/dist/types/tokens/default/color/interaction.d.ts +2 -1
  157. package/dist/types/tokens/default/color/skeleton.d.ts +2 -1
  158. package/dist/types/tokens/default/color/text.d.ts +2 -1
  159. package/dist/types/tokens/default/deprecated/deprecated.d.ts +2 -1
  160. package/dist/types/tokens/default/elevation/shadow.d.ts +2 -1
  161. package/dist/types/tokens/default/elevation/surface.d.ts +2 -1
  162. package/dist/types/tokens/default/utility/utility.d.ts +1 -1
  163. package/dist/types/types.d.ts +308 -426
  164. package/dist/types/utils/color-detection.d.ts +1 -1
  165. package/package.json +6 -4
  166. package/dist/types/tokens/palette.d.ts +0 -3
@@ -0,0 +1,525 @@
1
+ const color = {
2
+ color: {
3
+ accent: {
4
+ boldBlue: {
5
+ // @ts-expect-error deprecated tokens should not be in use
6
+ value: '#FA11F2'
7
+ },
8
+ boldGreen: {
9
+ // @ts-expect-error deprecated tokens should not be in use
10
+ value: '#FA11F2'
11
+ },
12
+ boldOrange: {
13
+ // @ts-expect-error deprecated tokens should not be in use
14
+ value: '#FA11F2'
15
+ },
16
+ boldPurple: {
17
+ // @ts-expect-error deprecated tokens should not be in use
18
+ value: '#FA11F2'
19
+ },
20
+ boldRed: {
21
+ // @ts-expect-error deprecated tokens should not be in use
22
+ value: '#FA11F2'
23
+ },
24
+ boldTeal: {
25
+ // @ts-expect-error deprecated tokens should not be in use
26
+ value: '#FA11F2'
27
+ },
28
+ subtleBlue: {
29
+ // @ts-expect-error deprecated tokens should not be in use
30
+ value: '#FA11F2'
31
+ },
32
+ subtleGreen: {
33
+ // @ts-expect-error deprecated tokens should not be in use
34
+ value: '#FA11F2'
35
+ },
36
+ subtleMagenta: {
37
+ // @ts-expect-error deprecated tokens should not be in use
38
+ value: '#FA11F2'
39
+ },
40
+ subtleOrange: {
41
+ // @ts-expect-error deprecated tokens should not be in use
42
+ value: '#FA11F2'
43
+ },
44
+ subtlePurple: {
45
+ // @ts-expect-error deprecated tokens should not be in use
46
+ value: '#FA11F2'
47
+ },
48
+ subtleRed: {
49
+ // @ts-expect-error deprecated tokens should not be in use
50
+ value: '#FA11F2'
51
+ },
52
+ subtleTeal: {
53
+ // @ts-expect-error deprecated tokens should not be in use
54
+ value: '#FA11F2'
55
+ }
56
+ },
57
+ background: {
58
+ accent: {
59
+ blue: {
60
+ '[default]': {
61
+ // @ts-expect-error deprecated tokens should not be in use
62
+ value: '#FA11F2'
63
+ },
64
+ bold: {
65
+ // @ts-expect-error deprecated tokens should not be in use
66
+ value: '#FA11F2'
67
+ }
68
+ },
69
+ red: {
70
+ '[default]': {
71
+ // @ts-expect-error deprecated tokens should not be in use
72
+ value: '#FA11F2'
73
+ },
74
+ bold: {
75
+ // @ts-expect-error deprecated tokens should not be in use
76
+ value: '#FA11F2'
77
+ }
78
+ },
79
+ orange: {
80
+ '[default]': {
81
+ // @ts-expect-error deprecated tokens should not be in use
82
+ value: '#FA11F2'
83
+ },
84
+ bold: {
85
+ // @ts-expect-error deprecated tokens should not be in use
86
+ value: '#FA11F2'
87
+ }
88
+ },
89
+ yellow: {
90
+ '[default]': {
91
+ // @ts-expect-error deprecated tokens should not be in use
92
+ value: '#FA11F2'
93
+ },
94
+ bold: {
95
+ // @ts-expect-error deprecated tokens should not be in use
96
+ value: '#FA11F2'
97
+ }
98
+ },
99
+ green: {
100
+ '[default]': {
101
+ // @ts-expect-error deprecated tokens should not be in use
102
+ value: '#FA11F2'
103
+ },
104
+ bold: {
105
+ // @ts-expect-error deprecated tokens should not be in use
106
+ value: '#FA11F2'
107
+ }
108
+ },
109
+ purple: {
110
+ '[default]': {
111
+ // @ts-expect-error deprecated tokens should not be in use
112
+ value: '#FA11F2'
113
+ },
114
+ bold: {
115
+ // @ts-expect-error deprecated tokens should not be in use
116
+ value: '#FA11F2'
117
+ }
118
+ },
119
+ teal: {
120
+ '[default]': {
121
+ // @ts-expect-error deprecated tokens should not be in use
122
+ value: '#FA11F2'
123
+ },
124
+ bold: {
125
+ // @ts-expect-error deprecated tokens should not be in use
126
+ value: '#FA11F2'
127
+ }
128
+ },
129
+ magenta: {
130
+ '[default]': {
131
+ // @ts-expect-error deprecated tokens should not be in use
132
+ value: '#FA11F2'
133
+ },
134
+ bold: {
135
+ // @ts-expect-error deprecated tokens should not be in use
136
+ value: '#FA11F2'
137
+ }
138
+ }
139
+ },
140
+ blanket: {
141
+ // @ts-expect-error deprecated tokens should not be in use
142
+ value: '#FA11F2'
143
+ },
144
+ brand: {
145
+ '[default]': {
146
+ '[default]': {
147
+ // @ts-expect-error deprecated tokens should not be in use
148
+ value: '#FA11F2'
149
+ },
150
+ hovered: {
151
+ // @ts-expect-error deprecated tokens should not be in use
152
+ value: '#FA11F2'
153
+ },
154
+ pressed: {
155
+ // @ts-expect-error deprecated tokens should not be in use
156
+ value: '#FA11F2'
157
+ }
158
+ }
159
+ },
160
+ boldBrand: {
161
+ resting: {
162
+ // @ts-expect-error deprecated tokens should not be in use
163
+ value: '#FA11F2'
164
+ },
165
+ hover: {
166
+ // @ts-expect-error deprecated tokens should not be in use
167
+ value: '#FA11F2'
168
+ },
169
+ pressed: {
170
+ // @ts-expect-error deprecated tokens should not be in use
171
+ value: '#FA11F2'
172
+ }
173
+ },
174
+ boldDanger: {
175
+ resting: {
176
+ // @ts-expect-error deprecated tokens should not be in use
177
+ value: '#FA11F2'
178
+ },
179
+ hover: {
180
+ // @ts-expect-error deprecated tokens should not be in use
181
+ value: '#FA11F2'
182
+ },
183
+ pressed: {
184
+ // @ts-expect-error deprecated tokens should not be in use
185
+ value: '#FA11F2'
186
+ }
187
+ },
188
+ boldDiscovery: {
189
+ resting: {
190
+ // @ts-expect-error deprecated tokens should not be in use
191
+ value: '#FA11F2'
192
+ },
193
+ hover: {
194
+ // @ts-expect-error deprecated tokens should not be in use
195
+ value: '#FA11F2'
196
+ },
197
+ pressed: {
198
+ // @ts-expect-error deprecated tokens should not be in use
199
+ value: '#FA11F2'
200
+ }
201
+ },
202
+ boldNeutral: {
203
+ resting: {
204
+ // @ts-expect-error deprecated tokens should not be in use
205
+ value: '#FA11F2'
206
+ },
207
+ hover: {
208
+ // @ts-expect-error deprecated tokens should not be in use
209
+ value: '#FA11F2'
210
+ },
211
+ pressed: {
212
+ // @ts-expect-error deprecated tokens should not be in use
213
+ value: '#FA11F2'
214
+ }
215
+ },
216
+ boldSuccess: {
217
+ resting: {
218
+ // @ts-expect-error deprecated tokens should not be in use
219
+ value: '#FA11F2'
220
+ },
221
+ hover: {
222
+ // @ts-expect-error deprecated tokens should not be in use
223
+ value: '#FA11F2'
224
+ },
225
+ pressed: {
226
+ // @ts-expect-error deprecated tokens should not be in use
227
+ value: '#FA11F2'
228
+ }
229
+ },
230
+ boldWarning: {
231
+ resting: {
232
+ // @ts-expect-error deprecated tokens should not be in use
233
+ value: '#FA11F2'
234
+ },
235
+ hover: {
236
+ // @ts-expect-error deprecated tokens should not be in use
237
+ value: '#FA11F2'
238
+ },
239
+ pressed: {
240
+ // @ts-expect-error deprecated tokens should not be in use
241
+ value: '#FA11F2'
242
+ }
243
+ },
244
+ default: {
245
+ // @ts-expect-error deprecated tokens should not be in use
246
+ value: '#FA11F2'
247
+ },
248
+ card: {
249
+ // @ts-expect-error deprecated tokens should not be in use
250
+ value: '#FA11F2'
251
+ },
252
+ inverse: {
253
+ // @ts-ignore temporary until a palette colour exists for it
254
+ '[default]': {
255
+ // @ts-expect-error deprecated tokens should not be in use
256
+ value: '#FA11F2'
257
+ }
258
+ },
259
+ overlay: {
260
+ // @ts-expect-error deprecated tokens should not be in use
261
+ value: '#FA11F2'
262
+ },
263
+ selected: {
264
+ resting: {
265
+ // @ts-expect-error deprecated tokens should not be in use
266
+ value: '#FA11F2'
267
+ },
268
+ hover: {
269
+ // @ts-expect-error deprecated tokens should not be in use
270
+ value: '#FA11F2'
271
+ }
272
+ },
273
+ subtleBorderedNeutral: {
274
+ resting: {
275
+ // @ts-expect-error deprecated tokens should not be in use
276
+ value: '#FA11F2'
277
+ },
278
+ pressed: {
279
+ // @ts-expect-error deprecated tokens should not be in use
280
+ value: '#FA11F2'
281
+ }
282
+ },
283
+ subtleBrand: {
284
+ resting: {
285
+ // @ts-expect-error deprecated tokens should not be in use
286
+ value: '#FA11F2'
287
+ },
288
+ hover: {
289
+ // @ts-expect-error deprecated tokens should not be in use
290
+ value: '#FA11F2'
291
+ },
292
+ pressed: {
293
+ // @ts-expect-error deprecated tokens should not be in use
294
+ value: '#FA11F2'
295
+ }
296
+ },
297
+ subtleDanger: {
298
+ resting: {
299
+ // @ts-expect-error deprecated tokens should not be in use
300
+ value: '#FA11F2'
301
+ },
302
+ hover: {
303
+ // @ts-expect-error deprecated tokens should not be in use
304
+ value: '#FA11F2'
305
+ },
306
+ pressed: {
307
+ // @ts-expect-error deprecated tokens should not be in use
308
+ value: '#FA11F2'
309
+ }
310
+ },
311
+ subtleDiscovery: {
312
+ resting: {
313
+ // @ts-expect-error deprecated tokens should not be in use
314
+ value: '#FA11F2'
315
+ },
316
+ hover: {
317
+ // @ts-expect-error deprecated tokens should not be in use
318
+ value: '#FA11F2'
319
+ },
320
+ pressed: {
321
+ // @ts-expect-error deprecated tokens should not be in use
322
+ value: '#FA11F2'
323
+ }
324
+ },
325
+ subtleNeutral: {
326
+ resting: {
327
+ // @ts-expect-error deprecated tokens should not be in use
328
+ value: '#FA11F2'
329
+ },
330
+ hover: {
331
+ // @ts-expect-error deprecated tokens should not be in use
332
+ value: '#FA11F2'
333
+ },
334
+ pressed: {
335
+ // @ts-expect-error deprecated tokens should not be in use
336
+ value: '#FA11F2'
337
+ }
338
+ },
339
+ subtleSuccess: {
340
+ resting: {
341
+ // @ts-expect-error deprecated tokens should not be in use
342
+ value: '#FA11F2'
343
+ },
344
+ hover: {
345
+ // @ts-expect-error deprecated tokens should not be in use
346
+ value: '#FA11F2'
347
+ },
348
+ pressed: {
349
+ // @ts-expect-error deprecated tokens should not be in use
350
+ value: '#FA11F2'
351
+ }
352
+ },
353
+ subtleWarning: {
354
+ resting: {
355
+ // @ts-expect-error deprecated tokens should not be in use
356
+ value: '#FA11F2'
357
+ },
358
+ hover: {
359
+ // @ts-expect-error deprecated tokens should not be in use
360
+ value: '#FA11F2'
361
+ },
362
+ pressed: {
363
+ // @ts-expect-error deprecated tokens should not be in use
364
+ value: '#FA11F2'
365
+ }
366
+ },
367
+ sunken: {
368
+ // @ts-expect-error deprecated tokens should not be in use
369
+ value: '#FA11F2-100A'
370
+ },
371
+ transparentNeutral: {
372
+ hover: {
373
+ // @ts-expect-error deprecated tokens should not be in use
374
+ value: '#FA11F2'
375
+ },
376
+ pressed: {
377
+ // @ts-expect-error deprecated tokens should not be in use
378
+ value: '#FA11F2'
379
+ }
380
+ }
381
+ },
382
+ text: {
383
+ highEmphasis: {
384
+ // @ts-expect-error deprecated tokens should not be in use
385
+ value: '#FA11F2'
386
+ },
387
+ mediumEmphasis: {
388
+ // @ts-expect-error deprecated tokens should not be in use
389
+ value: '#FA11F2'
390
+ },
391
+ lowEmphasis: {
392
+ // @ts-expect-error deprecated tokens should not be in use
393
+ value: '#FA11F2'
394
+ },
395
+ link: {
396
+ resting: {
397
+ // @ts-expect-error deprecated tokens should not be in use
398
+ value: '#FA11F2'
399
+ },
400
+ pressed: {
401
+ // @ts-expect-error deprecated tokens should not be in use
402
+ value: '#FA11F2'
403
+ }
404
+ },
405
+ onBold: {
406
+ // @ts-expect-error deprecated tokens should not be in use
407
+ value: '#FA11F2'
408
+ },
409
+ onBoldWarning: {
410
+ // @ts-expect-error deprecated tokens should not be in use
411
+ value: '#FA11F2'
412
+ }
413
+ },
414
+ border: {
415
+ focus: {
416
+ // @ts-expect-error deprecated tokens should not be in use
417
+ value: '#FA11F2'
418
+ },
419
+ neutral: {
420
+ // @ts-expect-error deprecated tokens should not be in use
421
+ value: '#FA11F2'
422
+ }
423
+ },
424
+ iconBorder: {
425
+ brand: {
426
+ // @ts-expect-error deprecated tokens should not be in use
427
+ value: '#FA11F2'
428
+ },
429
+ danger: {
430
+ // @ts-expect-error deprecated tokens should not be in use
431
+ value: '#FA11F2'
432
+ },
433
+ warning: {
434
+ // @ts-expect-error deprecated tokens should not be in use
435
+ value: '#FA11F2'
436
+ },
437
+ success: {
438
+ // @ts-expect-error deprecated tokens should not be in use
439
+ value: '#FA11F2'
440
+ },
441
+ discovery: {
442
+ // @ts-expect-error deprecated tokens should not be in use
443
+ value: '#FA11F2'
444
+ }
445
+ },
446
+ overlay: {
447
+ hover: {
448
+ // @ts-expect-error deprecated tokens should not be in use
449
+ value: '#FA11F2'
450
+ },
451
+ pressed: {
452
+ // @ts-expect-error deprecated tokens should not be in use
453
+ value: '#FA11F2'
454
+ }
455
+ },
456
+ interaction: {
457
+ inverse: {
458
+ hovered: {
459
+ // @ts-expect-error deprecated tokens should not be in use
460
+ value: '#FA11F2'
461
+ },
462
+ pressed: {
463
+ // @ts-expect-error deprecated tokens should not be in use
464
+ value: '#FA11F2'
465
+ }
466
+ }
467
+ }
468
+ },
469
+ shadow: {
470
+ card: {
471
+ value: [{
472
+ radius: 1,
473
+ offset: {
474
+ x: 0,
475
+ y: 1
476
+ },
477
+ // @ts-expect-error deprecated tokens should not be in use
478
+ color: '#FA11F2',
479
+ opacity: 0.5
480
+ }, {
481
+ radius: 1,
482
+ offset: {
483
+ x: 0,
484
+ y: 0
485
+ },
486
+ // @ts-expect-error deprecated tokens should not be in use
487
+ color: '#FA11F2',
488
+ opacity: 0.5
489
+ }]
490
+ },
491
+ overlay: {
492
+ value: [{
493
+ radius: 0,
494
+ spread: 1,
495
+ // @ts-expect-error deprecated tokens should not be in use
496
+ color: '#FA11F2',
497
+ offset: {
498
+ x: 0,
499
+ y: 0
500
+ },
501
+ opacity: 0.04,
502
+ inset: true
503
+ }, {
504
+ radius: 12,
505
+ offset: {
506
+ x: 0,
507
+ y: 8
508
+ },
509
+ // @ts-expect-error deprecated tokens should not be in use
510
+ color: '#FA11F2',
511
+ opacity: 0.36
512
+ }, {
513
+ radius: 1,
514
+ offset: {
515
+ x: 0,
516
+ y: 0
517
+ },
518
+ // @ts-expect-error deprecated tokens should not be in use
519
+ color: '#FA11F2',
520
+ opacity: 0.5
521
+ }]
522
+ }
523
+ }
524
+ };
525
+ export default color;
@@ -0,0 +1,82 @@
1
+ const shadow = {
2
+ elevation: {
3
+ shadow: {
4
+ raised: {
5
+ value: [{
6
+ radius: 1,
7
+ offset: {
8
+ x: 0,
9
+ y: 1
10
+ },
11
+ color: 'DN100A',
12
+ // This opacity overrides the color alpha.
13
+ opacity: 0.5
14
+ }, {
15
+ radius: 1,
16
+ offset: {
17
+ x: 0,
18
+ y: 0
19
+ },
20
+ color: 'DN100A',
21
+ // This opacity overrides the color alpha.
22
+ opacity: 0.5
23
+ }]
24
+ },
25
+ overflow: {
26
+ value: [{
27
+ radius: 12,
28
+ offset: {
29
+ x: 0,
30
+ y: 0
31
+ },
32
+ // @ts-ignore no current palette colour for this yet
33
+ color: '#030404',
34
+ // This opacity overrides the color alpha.
35
+ opacity: 0.56
36
+ }, {
37
+ radius: 1,
38
+ offset: {
39
+ x: 0,
40
+ y: 0
41
+ },
42
+ // @ts-ignore no current palette colour for this yet
43
+ color: '#030404',
44
+ // This opacity overrides the color alpha.
45
+ opacity: 0.5
46
+ }]
47
+ },
48
+ overlay: {
49
+ value: [{
50
+ radius: 0,
51
+ spread: 1,
52
+ color: 'DN100A',
53
+ offset: {
54
+ x: 0,
55
+ y: 0
56
+ },
57
+ opacity: 0.04,
58
+ inset: true
59
+ }, {
60
+ radius: 12,
61
+ offset: {
62
+ x: 0,
63
+ y: 8
64
+ },
65
+ color: 'DN100A',
66
+ // This opacity overrides the color alpha.
67
+ opacity: 0.36
68
+ }, {
69
+ radius: 1,
70
+ offset: {
71
+ x: 0,
72
+ y: 0
73
+ },
74
+ color: 'DN100A',
75
+ // This opacity overrides the color alpha.
76
+ opacity: 0.5
77
+ }]
78
+ }
79
+ }
80
+ }
81
+ };
82
+ export default shadow;
@@ -0,0 +1,19 @@
1
+ const elevation = {
2
+ elevation: {
3
+ surface: {
4
+ '[default]': {
5
+ value: 'DN30'
6
+ },
7
+ sunken: {
8
+ value: 'DN100'
9
+ },
10
+ raised: {
11
+ value: 'DN80'
12
+ },
13
+ overlay: {
14
+ value: 'DN200'
15
+ }
16
+ }
17
+ }
18
+ };
19
+ export default elevation;
@@ -0,0 +1,13 @@
1
+ const utility = {
2
+ UNSAFE_util: {
3
+ transparent: {
4
+ value: 'transparent'
5
+ },
6
+ MISSING_TOKEN: {
7
+ value: '#FA11F2'
8
+ }
9
+ }
10
+ };
11
+ export default {
12
+ utility
13
+ };