@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.
- package/CHANGELOG.md +289 -0
- package/README.md +7 -16
- package/dist/cjs/artifacts/palettes-raw/legacy-palette.js +0 -1
- package/dist/cjs/artifacts/palettes-raw/palette.js +0 -1
- package/dist/cjs/artifacts/palettes-raw/spacing-scale.js +0 -1
- package/dist/cjs/artifacts/palettes-raw/typography-palette.js +0 -1
- package/dist/cjs/artifacts/replacement-mapping.js +2 -402
- package/dist/cjs/artifacts/theme-import-map.js +56 -0
- package/dist/cjs/artifacts/themes/atlassian-dark.js +13 -0
- package/dist/cjs/artifacts/themes/atlassian-legacy-dark.js +13 -0
- package/dist/cjs/artifacts/themes/atlassian-legacy-light.js +13 -0
- package/dist/cjs/artifacts/themes/atlassian-light.js +13 -0
- package/dist/cjs/artifacts/themes/atlassian-spacing.js +13 -0
- package/dist/cjs/artifacts/themes/atlassian-typography.js +13 -0
- package/dist/cjs/artifacts/token-default-values.js +2 -104
- package/dist/cjs/artifacts/token-names.js +2 -104
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +1354 -4261
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-dark.js +1352 -4259
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-light.js +1396 -4283
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +1365 -4252
- package/dist/cjs/artifacts/tokens-raw/atlassian-spacing.js +0 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography.js +0 -1
- package/dist/cjs/artifacts/typescript/atlassian-dark-token-names.js +0 -1
- package/dist/cjs/artifacts/typescript/atlassian-light-token-names.js +0 -1
- package/dist/cjs/babel-plugin/index.js +0 -2
- package/dist/cjs/babel-plugin/plugin.js +17 -43
- package/dist/cjs/entry-points/babel-plugin.js +0 -2
- package/dist/cjs/entry-points/palettes-raw.js +0 -2
- package/dist/cjs/entry-points/rename-mapping.js +0 -2
- package/dist/cjs/entry-points/token-ids.js +0 -1
- package/dist/cjs/entry-points/token-names.js +0 -2
- package/dist/cjs/entry-points/tokens-raw.js +0 -5
- package/dist/cjs/get-global-theme.js +30 -0
- package/dist/cjs/get-token-value.js +1 -10
- package/dist/cjs/get-token.js +3 -13
- package/dist/cjs/index.js +46 -10
- package/dist/cjs/palettes/legacy-palette.js +1 -1
- package/dist/cjs/palettes/spacing-scale.js +1 -1
- package/dist/cjs/palettes/typography-palette.js +0 -5
- package/dist/cjs/set-global-theme.js +265 -39
- package/dist/cjs/theme-config.js +8 -23
- package/dist/cjs/{theme-change-observer.js → theme-mutation-observer.js} +5 -57
- package/dist/cjs/tokens/atlassian-dark/utility/utility.js +1 -4
- package/dist/cjs/tokens/atlassian-legacy-dark/utility/utility.js +1 -4
- package/dist/cjs/tokens/atlassian-legacy-light/utility/utility.js +1 -4
- package/dist/cjs/tokens/atlassian-light/utility/utility.js +1 -4
- package/dist/cjs/tokens/atlassian-spacing/spacing.js +0 -1
- package/dist/cjs/tokens/default/spacing/spacing.js +0 -1
- package/dist/cjs/tokens/default/utility/utility.js +1 -9
- package/dist/cjs/use-theme-observer.js +41 -0
- package/dist/cjs/utils/color-detection.js +23 -43
- package/dist/cjs/utils/theme-loading.js +69 -0
- package/dist/cjs/utils/theme-state-transformer.js +73 -0
- package/dist/cjs/utils/token-ids.js +4 -12
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/replacement-mapping.js +2 -401
- package/dist/es2019/artifacts/theme-import-map.js +27 -0
- package/dist/es2019/artifacts/themes/atlassian-dark.js +296 -0
- package/dist/es2019/artifacts/themes/atlassian-legacy-dark.js +296 -0
- package/dist/es2019/artifacts/themes/atlassian-legacy-light.js +296 -0
- package/dist/es2019/artifacts/themes/atlassian-light.js +296 -0
- package/{css/atlassian-spacing.css → dist/es2019/artifacts/themes/atlassian-spacing.js} +4 -2
- package/{css/atlassian-typography.css → dist/es2019/artifacts/themes/atlassian-typography.js} +4 -2
- package/dist/es2019/artifacts/token-default-values.js +2 -103
- package/dist/es2019/artifacts/token-names.js +2 -103
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +1354 -4260
- package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-dark.js +1349 -4255
- package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-light.js +1397 -4283
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +1360 -4246
- package/dist/es2019/babel-plugin/plugin.js +17 -37
- package/dist/es2019/get-global-theme.js +20 -0
- package/dist/es2019/get-token-value.js +1 -6
- package/dist/es2019/get-token.js +3 -8
- package/dist/es2019/index.js +5 -2
- package/dist/es2019/palettes/legacy-palette.js +1 -0
- package/dist/es2019/palettes/spacing-scale.js +1 -0
- package/dist/es2019/palettes/typography-palette.js +2 -1
- package/dist/es2019/set-global-theme.js +162 -32
- package/dist/es2019/theme-config.js +5 -21
- package/dist/es2019/{theme-change-observer.js → theme-mutation-observer.js} +4 -37
- package/dist/es2019/tokens/atlassian-dark/utility/utility.js +1 -4
- package/dist/es2019/tokens/atlassian-legacy-dark/utility/utility.js +1 -4
- package/dist/es2019/tokens/atlassian-legacy-light/utility/utility.js +1 -4
- package/dist/es2019/tokens/atlassian-light/utility/utility.js +1 -4
- package/dist/es2019/tokens/default/utility/utility.js +1 -9
- package/dist/es2019/use-theme-observer.js +26 -0
- package/dist/es2019/utils/color-detection.js +3 -5
- package/dist/es2019/utils/theme-loading.js +18 -0
- package/dist/es2019/utils/theme-state-transformer.js +47 -0
- package/dist/es2019/utils/token-ids.js +5 -4
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/replacement-mapping.js +2 -401
- package/dist/esm/artifacts/theme-import-map.js +39 -0
- package/dist/esm/artifacts/themes/atlassian-dark.js +6 -0
- package/dist/esm/artifacts/themes/atlassian-legacy-dark.js +6 -0
- package/dist/esm/artifacts/themes/atlassian-legacy-light.js +6 -0
- package/dist/esm/artifacts/themes/atlassian-light.js +6 -0
- package/dist/esm/artifacts/themes/atlassian-spacing.js +6 -0
- package/dist/esm/artifacts/themes/atlassian-typography.js +6 -0
- package/dist/esm/artifacts/token-default-values.js +2 -103
- package/dist/esm/artifacts/token-names.js +2 -103
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +1354 -4260
- package/dist/esm/artifacts/tokens-raw/atlassian-legacy-dark.js +1349 -4255
- package/dist/esm/artifacts/tokens-raw/atlassian-legacy-light.js +1397 -4283
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +1360 -4246
- package/dist/esm/babel-plugin/plugin.js +17 -35
- package/dist/esm/get-global-theme.js +22 -0
- package/dist/esm/get-token-value.js +1 -6
- package/dist/esm/get-token.js +3 -8
- package/dist/esm/index.js +5 -2
- package/dist/esm/palettes/legacy-palette.js +1 -0
- package/dist/esm/palettes/spacing-scale.js +1 -0
- package/dist/esm/palettes/typography-palette.js +0 -3
- package/dist/esm/set-global-theme.js +263 -37
- package/dist/esm/theme-config.js +5 -21
- package/dist/esm/{theme-change-observer.js → theme-mutation-observer.js} +4 -49
- package/dist/esm/tokens/atlassian-dark/utility/utility.js +1 -4
- package/dist/esm/tokens/atlassian-legacy-dark/utility/utility.js +1 -4
- package/dist/esm/tokens/atlassian-legacy-light/utility/utility.js +1 -4
- package/dist/esm/tokens/atlassian-light/utility/utility.js +1 -4
- package/dist/esm/tokens/default/utility/utility.js +1 -9
- package/dist/esm/use-theme-observer.js +34 -0
- package/dist/esm/utils/color-detection.js +23 -30
- package/dist/esm/utils/theme-loading.js +60 -0
- package/dist/esm/utils/theme-state-transformer.js +64 -0
- package/dist/esm/utils/token-ids.js +5 -4
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/replacement-mapping.d.ts +1 -1
- package/dist/types/artifacts/theme-import-map.d.ts +16 -0
- package/dist/types/artifacts/themes/atlassian-dark.d.ts +7 -0
- package/dist/types/artifacts/themes/atlassian-legacy-dark.d.ts +7 -0
- package/dist/types/artifacts/themes/atlassian-legacy-light.d.ts +7 -0
- package/dist/types/artifacts/themes/atlassian-light.d.ts +7 -0
- package/dist/types/artifacts/themes/atlassian-spacing.d.ts +7 -0
- package/dist/types/artifacts/themes/atlassian-typography.d.ts +7 -0
- package/dist/types/artifacts/token-default-values.d.ts +2 -103
- package/dist/types/artifacts/token-names.d.ts +3 -205
- package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +1 -115
- package/dist/types/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +1 -115
- package/dist/types/artifacts/tokens-raw/atlassian-legacy-light.d.ts +1 -91
- package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +1 -91
- package/dist/types/artifacts/types-internal.d.ts +2 -2
- package/dist/types/artifacts/types.d.ts +2 -2
- package/dist/types/get-global-theme.d.ts +2 -0
- package/dist/types/index.d.ts +7 -3
- package/dist/types/set-global-theme.d.ts +63 -7
- package/dist/types/theme-config.d.ts +10 -7
- package/dist/types/{theme-change-observer.d.ts → theme-mutation-observer.d.ts} +2 -16
- package/dist/types/types.d.ts +1 -180
- package/dist/types/use-theme-observer.d.ts +15 -0
- package/dist/types/utils/theme-loading.d.ts +3 -0
- package/dist/types/utils/theme-state-transformer.d.ts +26 -0
- package/figma/atlassian-dark.json +1 -102
- package/figma/atlassian-legacy-dark.json +1 -102
- package/figma/atlassian-legacy-light.json +1 -102
- package/figma/atlassian-light.json +1 -102
- package/package.json +5 -8
- package/report.api.md +85 -219
- package/tmp/api-report-tmp.d.ts +58 -210
- package/css/atlassian-dark.css +0 -786
- package/css/atlassian-legacy-dark.css +0 -786
- package/css/atlassian-legacy-light.css +0 -786
- package/css/atlassian-light.css +0 -786
- package/dist/cjs/artifacts/typescript/atlassian-light-token-default-values.js +0 -407
- package/dist/cjs/tokens/atlassian-dark/deprecated/deprecated.js +0 -435
- package/dist/cjs/tokens/atlassian-legacy-dark/deprecated/deprecated.js +0 -532
- package/dist/cjs/tokens/atlassian-legacy-light/deprecated/deprecated.js +0 -523
- package/dist/cjs/tokens/atlassian-light/deprecated/deprecated.js +0 -421
- package/dist/cjs/tokens/default/deprecated/deprecated.js +0 -1186
- package/dist/es2019/artifacts/typescript/atlassian-light-token-default-values.js +0 -399
- package/dist/es2019/tokens/atlassian-dark/deprecated/deprecated.js +0 -428
- package/dist/es2019/tokens/atlassian-legacy-dark/deprecated/deprecated.js +0 -525
- package/dist/es2019/tokens/atlassian-legacy-light/deprecated/deprecated.js +0 -516
- package/dist/es2019/tokens/atlassian-light/deprecated/deprecated.js +0 -414
- package/dist/es2019/tokens/default/deprecated/deprecated.js +0 -1217
- package/dist/esm/artifacts/typescript/atlassian-light-token-default-values.js +0 -399
- package/dist/esm/tokens/atlassian-dark/deprecated/deprecated.js +0 -428
- package/dist/esm/tokens/atlassian-legacy-dark/deprecated/deprecated.js +0 -525
- package/dist/esm/tokens/atlassian-legacy-light/deprecated/deprecated.js +0 -516
- package/dist/esm/tokens/atlassian-light/deprecated/deprecated.js +0 -414
- package/dist/esm/tokens/default/deprecated/deprecated.js +0 -1179
- package/dist/types/artifacts/typescript/atlassian-light-token-default-values.d.ts +0 -399
- package/dist/types/tokens/atlassian-dark/deprecated/deprecated.d.ts +0 -4
- package/dist/types/tokens/atlassian-legacy-dark/deprecated/deprecated.d.ts +0 -4
- package/dist/types/tokens/atlassian-legacy-light/deprecated/deprecated.d.ts +0 -4
- package/dist/types/tokens/atlassian-light/deprecated/deprecated.d.ts +0 -4
- package/dist/types/tokens/default/deprecated/deprecated.d.ts +0 -4
|
@@ -1,525 +0,0 @@
|
|
|
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;
|