@fluentui-react-native/default-theme 0.21.0 → 0.22.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 (65) hide show
  1. package/CHANGELOG.json +55 -1
  2. package/CHANGELOG.md +22 -2
  3. package/lib/defaultColors.d.ts +0 -2
  4. package/lib/defaultColors.d.ts.map +1 -1
  5. package/lib/defaultColors.js +1 -95
  6. package/lib/defaultColors.js.map +1 -1
  7. package/lib/defaultTheme.d.ts.map +1 -1
  8. package/lib/defaultTheme.js +2 -1
  9. package/lib/defaultTheme.js.map +1 -1
  10. package/lib/stockWebPalette.d.ts +4 -0
  11. package/lib/stockWebPalette.d.ts.map +1 -0
  12. package/lib/stockWebPalette.js +102 -0
  13. package/lib/stockWebPalette.js.map +1 -0
  14. package/lib/stockWebPalette.macos.d.ts +4 -0
  15. package/lib/stockWebPalette.macos.d.ts.map +1 -0
  16. package/lib/stockWebPalette.macos.js +80 -0
  17. package/lib/stockWebPalette.macos.js.map +1 -0
  18. package/lib/stockWebPalette.win32.d.ts +4 -0
  19. package/lib/stockWebPalette.win32.d.ts.map +1 -0
  20. package/lib/stockWebPalette.win32.js +80 -0
  21. package/lib/stockWebPalette.win32.js.map +1 -0
  22. package/lib-commonjs/defaultColors.d.ts +0 -2
  23. package/lib-commonjs/defaultColors.d.ts.map +1 -1
  24. package/lib-commonjs/defaultColors.js +2 -98
  25. package/lib-commonjs/defaultColors.js.map +1 -1
  26. package/lib-commonjs/defaultTheme.d.ts.map +1 -1
  27. package/lib-commonjs/defaultTheme.js +3 -2
  28. package/lib-commonjs/defaultTheme.js.map +1 -1
  29. package/lib-commonjs/stockWebPalette.d.ts +4 -0
  30. package/lib-commonjs/stockWebPalette.d.ts.map +1 -0
  31. package/lib-commonjs/stockWebPalette.js +107 -0
  32. package/lib-commonjs/stockWebPalette.js.map +1 -0
  33. package/lib-commonjs/stockWebPalette.macos.d.ts +4 -0
  34. package/lib-commonjs/stockWebPalette.macos.d.ts.map +1 -0
  35. package/lib-commonjs/stockWebPalette.macos.js +85 -0
  36. package/lib-commonjs/stockWebPalette.macos.js.map +1 -0
  37. package/lib-commonjs/stockWebPalette.win32.d.ts +4 -0
  38. package/lib-commonjs/stockWebPalette.win32.d.ts.map +1 -0
  39. package/lib-commonjs/stockWebPalette.win32.js +85 -0
  40. package/lib-commonjs/stockWebPalette.win32.js.map +1 -0
  41. package/package.json +5 -5
  42. package/src/__tests__/__snapshots__/default-theme.test.ts.snap +0 -42
  43. package/src/defaultColors.ts +0 -114
  44. package/src/defaultTheme.ts +2 -1
  45. package/src/stockWebPalette.macos.ts +82 -0
  46. package/src/stockWebPalette.ts +106 -0
  47. package/src/stockWebPalette.win32.ts +82 -0
  48. package/lib/defaultColors.macos.d.ts +0 -12
  49. package/lib/defaultColors.macos.d.ts.map +0 -1
  50. package/lib/defaultColors.macos.js +0 -255
  51. package/lib/defaultColors.macos.js.map +0 -1
  52. package/lib/defaultColors.win32.d.ts +0 -12
  53. package/lib/defaultColors.win32.d.ts.map +0 -1
  54. package/lib/defaultColors.win32.js +0 -255
  55. package/lib/defaultColors.win32.js.map +0 -1
  56. package/lib-commonjs/defaultColors.macos.d.ts +0 -12
  57. package/lib-commonjs/defaultColors.macos.d.ts.map +0 -1
  58. package/lib-commonjs/defaultColors.macos.js +0 -262
  59. package/lib-commonjs/defaultColors.macos.js.map +0 -1
  60. package/lib-commonjs/defaultColors.win32.d.ts +0 -12
  61. package/lib-commonjs/defaultColors.win32.d.ts.map +0 -1
  62. package/lib-commonjs/defaultColors.win32.js +0 -262
  63. package/lib-commonjs/defaultColors.win32.js.map +0 -1
  64. package/src/defaultColors.macos.ts +0 -485
  65. package/src/defaultColors.win32.ts +0 -485
@@ -1,485 +0,0 @@
1
- import { globalTokens } from '@fluentui-react-native/theme-tokens';
2
- import type { Palette, FabricWebPalette, ThemeColorDefinition } from '@fluentui-react-native/theme-types';
3
-
4
- import { createColorAliasTokens } from './createAliasTokens';
5
-
6
- /**
7
- * Generate a palette from a set of fabric web colors, like those output from the theme designer.
8
- *
9
- * @param palette - fabric web palette definition. This allows initializing our color values in the same
10
- * manner the fabric web does it
11
- */
12
- export function paletteFromFabricColors(p: FabricWebPalette, isInverted?: boolean): Palette {
13
- return {
14
- background: p.white,
15
- bodyStandoutBackground: p.neutralLighterAlt,
16
- bodyFrameBackground: p.white,
17
- bodyFrameDivider: p.neutralLight,
18
- bodyText: p.neutralPrimary,
19
- bodyTextChecked: p.black,
20
- subText: p.neutralSecondary,
21
- bodyDivider: p.neutralLight,
22
-
23
- disabledBackground: isInverted ? p.neutralQuaternaryAlt : p.neutralLighter,
24
- disabledText: p.neutralTertiary,
25
- disabledBodyText: p.neutralTertiary,
26
- disabledSubtext: p.neutralQuaternary,
27
- disabledBodySubtext: p.neutralTertiaryAlt,
28
-
29
- focusBorder: p.neutralSecondary,
30
- variantBorder: p.neutralLight,
31
- variantBorderHovered: p.neutralTertiary,
32
- defaultStateBackground: p.neutralLighterAlt,
33
-
34
- errorText: !isInverted ? p.redDark : '#ff5f5f',
35
- warningText: !isInverted ? globalTokens.color.grey20 : globalTokens.color.white,
36
- errorBackground: !isInverted ? 'rgba(245, 135, 145, .2)' : 'rgba(232, 17, 35, .5)',
37
- blockingBackground: !isInverted ? 'rgba(250, 65, 0, .2)' : 'rgba(234, 67, 0, .5)',
38
- warningBackground: !isInverted ? 'rgba(255, 200, 10, .2)' : 'rgba(255, 251, 0, .6)',
39
- warningHighlight: !isInverted ? '#ffb900' : '#fff100',
40
- successBackground: !isInverted ? 'rgba(95, 210, 85, .2)' : 'rgba(186, 216, 10, .4)',
41
-
42
- inputBorder: p.neutralTertiary,
43
- inputBorderHovered: p.neutralPrimary,
44
- inputBackground: p.white,
45
- inputBackgroundChecked: p.themePrimary,
46
- inputBackgroundCheckedHovered: p.themeDarkAlt,
47
- inputForegroundChecked: p.white,
48
- inputFocusBorderAlt: p.themePrimary,
49
- smallInputBorder: p.neutralSecondary,
50
- inputText: p.neutralPrimary,
51
- inputTextHovered: p.neutralDark,
52
- inputPlaceholderText: p.neutralSecondary,
53
-
54
- buttonBackground: p.neutralLighter,
55
- buttonBackgroundChecked: p.neutralTertiaryAlt,
56
- buttonBackgroundHovered: p.neutralLight,
57
- buttonBackgroundCheckedHovered: p.neutralLight,
58
- buttonBackgroundPressed: p.neutralLight,
59
- buttonBackgroundDisabled: p.neutralLighter,
60
- buttonBorder: p.neutralSecondaryAlt,
61
- buttonText: isInverted ? p.black : p.neutralPrimary,
62
- buttonTextHovered: isInverted ? p.neutralPrimary : p.neutralDark,
63
- buttonTextChecked: p.neutralDark,
64
- buttonTextCheckedHovered: p.black,
65
- buttonTextPressed: p.neutralDark,
66
- buttonTextDisabled: p.neutralTertiary,
67
- buttonBorderDisabled: p.neutralLighter,
68
- buttonBorderFocused: p.neutralSecondaryAlt,
69
-
70
- primaryButtonBackground: p.themePrimary,
71
- primaryButtonBackgroundHovered: p.themeDarkAlt,
72
- primaryButtonBackgroundPressed: p.themeDark,
73
- primaryButtonBackgroundDisabled: p.neutralLighter,
74
- primaryButtonBorder: 'transparent',
75
- primaryButtonBorderFocused: 'transparent',
76
- primaryButtonText: p.white,
77
- primaryButtonTextHovered: p.white,
78
- primaryButtonTextPressed: p.white,
79
- primaryButtonTextDisabled: p.neutralQuaternary,
80
-
81
- accentButtonBackground: p.accent,
82
- accentButtonText: p.white,
83
-
84
- menuBackground: isInverted ? p.neutralLighter : p.white,
85
- menuDivider: isInverted ? p.neutralTertiaryAlt : p.neutralTertiaryAlt,
86
- menuIcon: isInverted ? p.themeDarkAlt : p.themePrimary,
87
- menuHeader: isInverted ? p.black : p.themePrimary,
88
- menuItemBackgroundHovered: isInverted ? p.neutralQuaternaryAlt : p.neutralLighter,
89
- menuItemBackgroundPressed: isInverted ? p.neutralQuaternary : p.neutralLight,
90
- menuItemText: p.neutralPrimary,
91
- menuItemTextHovered: p.neutralDark,
92
-
93
- listBackground: p.white,
94
- listText: p.neutralPrimary,
95
- listItemBackgroundHovered: p.neutralLighter,
96
- listItemBackgroundChecked: p.neutralLight,
97
- listItemBackgroundCheckedHovered: p.neutralQuaternaryAlt,
98
-
99
- listHeaderBackgroundHovered: p.neutralLighter,
100
- listHeaderBackgroundPressed: p.neutralLight,
101
-
102
- actionLink: p.neutralPrimary,
103
- actionLinkHovered: p.neutralDark,
104
- link: p.themePrimary,
105
- linkHovered: p.themeDarker,
106
- linkPressed: p.themeDark,
107
-
108
- // Control Color Tokens
109
- defaultBackground: p.neutralLighter,
110
- defaultBorder: p.neutralSecondaryAlt,
111
- defaultContent: isInverted ? p.black : p.neutralPrimary,
112
- defaultIcon: isInverted ? p.black : p.neutralPrimary,
113
-
114
- defaultHoveredBackground: p.neutralLight,
115
- defaultHoveredBorder: p.neutralSecondaryAlt,
116
- defaultHoveredContent: isInverted ? p.neutralPrimary : p.neutralDark,
117
- defaultHoveredIcon: isInverted ? p.neutralPrimary : p.neutralDark,
118
-
119
- defaultFocusedBackground: p.neutralLight,
120
- defaultFocusedBorder: p.neutralSecondaryAlt,
121
- defaultFocusedContent: isInverted ? p.neutralPrimary : p.neutralDark,
122
- defaultFocusedIcon: isInverted ? p.neutralPrimary : p.neutralDark,
123
-
124
- defaultPressedBackground: p.neutralLight,
125
- defaultPressedBorder: p.neutralSecondaryAlt,
126
- defaultPressedContent: p.neutralDark,
127
- defaultPressedIcon: p.neutralDark,
128
-
129
- defaultDisabledBackground: p.neutralLighter,
130
- defaultDisabledBorder: p.neutralLighter,
131
- defaultDisabledContent: p.neutralTertiary,
132
- defaultDisabledIcon: p.neutralTertiary,
133
-
134
- ghostBackground: p.white,
135
- ghostBorder: p.white,
136
- ghostContent: p.neutralPrimary,
137
- ghostIcon: p.neutralPrimary,
138
-
139
- ghostHoveredBackground: p.neutralLighter,
140
- ghostHoveredBorder: p.neutralLighter,
141
- ghostHoveredContent: p.neutralDark,
142
- ghostHoveredIcon: p.neutralDark,
143
-
144
- ghostFocusedBackground: p.neutralLighter,
145
- ghostFocusedBorder: p.neutralSecondaryAlt,
146
- ghostFocusedContent: p.neutralDark,
147
- ghostFocusedIcon: p.neutralDark,
148
-
149
- ghostPressedBackground: p.neutralLight,
150
- ghostPressedBorder: p.neutralLight,
151
- ghostPressedContent: p.neutralDark,
152
- ghostPressedIcon: p.neutralDark,
153
-
154
- ghostDisabledBackground: p.white,
155
- ghostDisabledBorder: p.white,
156
- ghostDisabledContent: p.neutralTertiary,
157
- ghostDisabledIcon: p.neutralTertiary,
158
-
159
- brandedBackground: p.themePrimary,
160
-
161
- brandedPressedBackground: p.themeDark,
162
- brandedPressedBorder: p.themeDarker,
163
- brandedPressedContent: p.white,
164
- brandedPressedIcon: p.white,
165
-
166
- brandedDisabledBackground: p.neutralLighter,
167
- brandedDisabledBorder: p.neutralLighter,
168
- brandedDisabledContent: p.neutralQuaternary,
169
- brandedDisabledIcon: p.neutralQuaternary,
170
-
171
- defaultCheckedBackground: p.neutralTertiaryAlt,
172
- defaultCheckedContent: p.neutralDark,
173
- defaultCheckedHoveredBackground: p.neutralLight,
174
- defaultCheckedHoveredContent: isInverted ? p.neutralPrimary : p.neutralDark,
175
-
176
- brandedCheckedBackground: p.neutralTertiaryAlt,
177
- brandedCheckedContent: p.neutralDark,
178
- brandedCheckedHoveredBackground: p.neutralLight,
179
- brandedCheckedHoveredContent: isInverted ? p.neutralPrimary : p.neutralDark,
180
-
181
- ghostCheckedBackground: p.neutralLight,
182
- ghostCheckedContent: p.black,
183
- ghostCheckedHoveredBackground: p.neutralLighter,
184
- ghostCheckedHoveredContent: p.neutralDark,
185
- ghostCheckedHoveredBorder: p.neutralDark,
186
-
187
- ghostSecondaryContent: p.neutralSecondary,
188
- ghostFocusedSecondaryContent: p.neutralSecondary,
189
- ghostHoveredSecondaryContent: p.neutralSecondary,
190
- ghostPressedSecondaryContent: p.neutralSecondary,
191
-
192
- brandedSecondaryContent: p.neutralLighterAlt,
193
- brandedFocusedSecondaryContent: p.neutralLighterAlt,
194
- brandedHoveredSecondaryContent: p.neutralLighterAlt,
195
- brandedPressedSecondaryContent: p.neutralLighterAlt,
196
-
197
- defaultDisabledSecondaryContent: p.neutralTertiary,
198
- defaultHoveredSecondaryContent: p.neutralTertiary,
199
- defaultPressedSecondaryContent: p.neutralTertiary,
200
-
201
- checkmarkColor: p.white,
202
- checkboxBackground: p.themePrimary,
203
- checkboxBackgroundDisabled: p.neutralLighter,
204
- checkboxBorderColor: p.neutralSecondaryAlt,
205
-
206
- personaActivityRing: p.white,
207
- personaActivityGlow: p.themePrimary,
208
- };
209
- }
210
-
211
- export function getStockWebPalette(): ThemeColorDefinition {
212
- return {
213
- ...paletteFromFabricColors({
214
- black: globalTokens.color.black,
215
- neutralDark: '#201f1e',
216
- neutralPrimary: '#323130',
217
- neutralPrimaryAlt: '#3b3a39',
218
- neutralSecondary: '#605e5c',
219
- neutralSecondaryAlt: '#8a8886',
220
- neutralTertiary: '#a19f9d',
221
- neutralTertiaryAlt: '#c8c6c4',
222
- neutralQuaternary: '#d2d0ce',
223
- neutralQuaternaryAlt: '#e1dfdd',
224
- neutralLight: '#edebe9',
225
- neutralLighter: '#f3f2f1',
226
- neutralLighterAlt: '#faf9f8',
227
- white: globalTokens.color.white,
228
- // Shared Colors
229
- red: globalTokens.color.red.primary,
230
- redDark: globalTokens.color.burgundy.primary,
231
-
232
- themeDarker: globalTokens.color.brand.shade40,
233
- themeDark: globalTokens.color.brand.shade20,
234
- themeDarkAlt: globalTokens.color.brand.shade10,
235
- themePrimary: globalTokens.color.brand.primary,
236
- themeSecondary: '#2b88d8',
237
- themeTertiary: '#71afe5',
238
- themeLight: globalTokens.color.brand.tint40,
239
- themeLighter: globalTokens.color.brand.tint50,
240
- themeLighterAlt: globalTokens.color.brand.tint60,
241
- accent: globalTokens.color.brand.primary,
242
- blackTranslucent40: 'rgba(0,0,0,.4)',
243
- }),
244
- ...createColorAliasTokens('light'),
245
- };
246
- }
247
-
248
- export function getStockWebDarkPalette(): ThemeColorDefinition {
249
- return {
250
- ...paletteFromFabricColors(
251
- {
252
- // colors taken from fluentui DarkCustomizations.ts
253
- themeDarker: '#82c7ff',
254
- themeDark: globalTokens.color.brand.tint30,
255
- themeDarkAlt: globalTokens.color.brand.tint20,
256
- themePrimary: globalTokens.color.brand.tint10,
257
- themeSecondary: globalTokens.color.brand.primary,
258
- themeTertiary: '#235a85',
259
- themeLight: globalTokens.color.brand.shade30,
260
- themeLighter: globalTokens.color.brand.shade50,
261
- themeLighterAlt: globalTokens.color.brand.shade60,
262
- black: globalTokens.color.white,
263
- neutralDark: '#faf9f8',
264
- neutralPrimary: '#f3f2f1',
265
- neutralPrimaryAlt: '#c8c6c4',
266
- neutralSecondary: '#a19f9d',
267
- neutralSecondaryAlt: '#979693',
268
- neutralTertiary: '#797775',
269
- neutralTertiaryAlt: '#484644',
270
- neutralQuaternary: '#3b3a39',
271
- neutralQuaternaryAlt: '#323130',
272
- neutralLight: '#292827',
273
- neutralLighter: '#252423',
274
- neutralLighterAlt: '#201f1e',
275
- white: '#1b1a19',
276
- red: globalTokens.color.red.primary,
277
- accent: globalTokens.color.brand.primary,
278
- redDark: '#f1707b',
279
- blackTranslucent40: 'rgba(0,0,0,.4)',
280
- },
281
- true,
282
- ),
283
- ...createColorAliasTokens('dark'),
284
- };
285
- }
286
-
287
- export function getStockWebHCPalette(): ThemeColorDefinition {
288
- return {
289
- background: '#000000',
290
- bodyStandoutBackground: '#000000',
291
- bodyFrameBackground: '#000000',
292
- bodyFrameDivider: '#000000',
293
- bodyText: '#ffffff',
294
- bodyTextChecked: '#000000',
295
- subText: '#ffffff',
296
- bodyDivider: '#ffffff',
297
-
298
- disabledBackground: '#000000',
299
- disabledText: '#3ff23f',
300
- disabledBodyText: '#3ff23f',
301
- disabledSubtext: '#3ff23f',
302
- disabledBodySubtext: '#3ff23f',
303
-
304
- focusBorder: '#ffffff',
305
- variantBorder: '#ffffff',
306
- variantBorderHovered: '#ffffff',
307
- defaultStateBackground: '#000000',
308
-
309
- errorText: '#ffffff',
310
- warningText: '#ffffff',
311
- errorBackground: '#000000',
312
- blockingBackground: '#000000',
313
- warningBackground: '#000000',
314
- warningHighlight: '#ffffff',
315
- successBackground: '#000000',
316
-
317
- inputBorder: '#ffffff',
318
- inputBorderHovered: '#1aebff',
319
- inputBackground: '#000000',
320
- inputBackgroundChecked: '#1aebff',
321
- inputBackgroundCheckedHovered: '#1aebff',
322
- inputForegroundChecked: '#000000',
323
- inputFocusBorderAlt: '#ffffff',
324
- smallInputBorder: '#ffffff',
325
- inputText: '#ffffff',
326
- inputTextHovered: '#000000',
327
- inputPlaceholderText: '#ffffff',
328
-
329
- buttonBackground: '#000000',
330
- buttonBackgroundChecked: '#1aebff',
331
- buttonBackgroundHovered: '#1aebff',
332
- buttonBackgroundCheckedHovered: '#1aebff',
333
- buttonBackgroundPressed: '#1aebff',
334
- buttonBackgroundDisabled: '#000000',
335
- buttonBorder: '#ffffff',
336
- buttonText: '#ffffff',
337
- buttonTextHovered: '#000000',
338
- buttonTextChecked: '#000000',
339
- buttonTextCheckedHovered: '#000000',
340
- buttonTextPressed: '#000000',
341
- buttonTextDisabled: '#3ff23f',
342
- buttonBorderDisabled: '#3ff23f',
343
- buttonBorderFocused: '#ffffff',
344
-
345
- primaryButtonBackground: '#000000',
346
- primaryButtonBackgroundHovered: '#1aebff',
347
- primaryButtonBackgroundPressed: '#1aebff',
348
- primaryButtonBackgroundDisabled: '#000000',
349
- primaryButtonBorder: '#ffffff',
350
- primaryButtonBorderFocused: '#ffffff',
351
- primaryButtonText: '#ffffff',
352
- primaryButtonTextHovered: '#000000',
353
- primaryButtonTextPressed: '#000000',
354
- primaryButtonTextDisabled: '#3ff23f',
355
-
356
- accentButtonBackground: '#000000',
357
- accentButtonText: '#ffffff',
358
-
359
- menuBackground: '#000000',
360
- menuDivider: '#ffffff',
361
- menuIcon: '#ffffff',
362
- menuHeader: '#ffffff',
363
- menuItemBackgroundHovered: '#1aebff',
364
- menuItemBackgroundPressed: '#1aebff',
365
- menuItemText: '#ffffff',
366
- menuItemTextHovered: '#000000',
367
-
368
- listBackground: '#000000',
369
- listText: '#ffffff',
370
- listItemBackgroundHovered: '#1aebff',
371
- listItemBackgroundChecked: '#1aebff',
372
- listItemBackgroundCheckedHovered: '#1aebff',
373
-
374
- listHeaderBackgroundHovered: '#1aebff',
375
- listHeaderBackgroundPressed: '#1aebff',
376
-
377
- actionLink: '#ffff00',
378
- actionLinkHovered: '#ffffff',
379
- link: '#ffff00',
380
- linkHovered: '#ffffff',
381
- linkPressed: '#ffffff',
382
-
383
- // Control Color Tokens
384
- defaultBackground: '#000000',
385
- defaultBorder: '#ffffff',
386
- defaultContent: '#ffffff',
387
- defaultIcon: '#ffffff',
388
-
389
- defaultHoveredBackground: '#1aebff',
390
- defaultHoveredBorder: '#1aebff',
391
- defaultHoveredContent: '#000000',
392
- defaultHoveredIcon: '#000000',
393
-
394
- defaultFocusedBackground: '#000000',
395
- defaultFocusedBorder: '#ffffff',
396
- defaultFocusedContent: '#ffffff',
397
- defaultFocusedIcon: '#ffffff',
398
-
399
- defaultPressedBackground: '#1aebff',
400
- defaultPressedBorder: '#1aebff',
401
- defaultPressedContent: '#000000',
402
- defaultPressedIcon: '#000000',
403
-
404
- defaultDisabledBackground: '#000000',
405
- defaultDisabledBorder: '#3ff23f',
406
- defaultDisabledContent: '#3ff23f',
407
- defaultDisabledIcon: '#3ff23f',
408
-
409
- ghostBackground: '#000000',
410
- ghostBorder: '#000000',
411
- ghostContent: '#ffffff',
412
- ghostIcon: '#ffffff',
413
-
414
- ghostHoveredBackground: '#1aebff',
415
- ghostHoveredBorder: '#1aebff',
416
- ghostHoveredContent: '#000000',
417
- ghostHoveredIcon: '#000000',
418
-
419
- ghostFocusedBackground: '#000000',
420
- ghostFocusedBorder: '#ffffff',
421
- ghostFocusedContent: '#ffffff',
422
- ghostFocusedIcon: '#ffffff',
423
-
424
- ghostPressedBackground: '#1aebff',
425
- ghostPressedBorder: '#1aebff',
426
- ghostPressedContent: '#000000',
427
- ghostPressedIcon: '#000000',
428
-
429
- ghostDisabledBackground: '#000000',
430
- ghostDisabledBorder: '#000000',
431
- ghostDisabledContent: '#3ff23f',
432
- ghostDisabledIcon: '#3ff23f',
433
-
434
- brandedBackground: '#000000',
435
-
436
- brandedPressedBackground: '#1aebff',
437
- brandedPressedBorder: '#1aebff',
438
- brandedPressedContent: '#000000',
439
- brandedPressedIcon: '#000000',
440
-
441
- brandedDisabledBackground: '#000000',
442
- brandedDisabledBorder: '#3ff23f',
443
- brandedDisabledContent: '#3ff23f',
444
- brandedDisabledIcon: '#3ff23f',
445
-
446
- defaultCheckedBackground: '#1aebff',
447
- defaultCheckedContent: '#000000',
448
- defaultCheckedHoveredBackground: '#1aebff',
449
- defaultCheckedHoveredContent: '#000000',
450
-
451
- brandedCheckedBackground: '#1aebff',
452
- brandedCheckedContent: '#000000',
453
- brandedCheckedHoveredBackground: '#1aebff',
454
- brandedCheckedHoveredContent: '#000000',
455
-
456
- ghostCheckedBackground: '#1aebff',
457
- ghostCheckedContent: '#000000',
458
- ghostCheckedHoveredBackground: '#1aebff',
459
- ghostCheckedHoveredContent: '#000000',
460
- ghostCheckedHoveredBorder: '#000000',
461
-
462
- ghostSecondaryContent: '#ffffff',
463
- ghostFocusedSecondaryContent: '#ffffff',
464
- ghostHoveredSecondaryContent: '#000000',
465
- ghostPressedSecondaryContent: '#000000',
466
-
467
- brandedSecondaryContent: '#ffffff',
468
- brandedFocusedSecondaryContent: '#ffffff',
469
- brandedHoveredSecondaryContent: '#000000',
470
- brandedPressedSecondaryContent: '#000000',
471
-
472
- defaultDisabledSecondaryContent: '#ffffff',
473
- defaultHoveredSecondaryContent: '#000000',
474
- defaultPressedSecondaryContent: '#000000',
475
-
476
- checkmarkColor: '#ffffff',
477
- checkboxBackground: '#000000',
478
- checkboxBackgroundDisabled: '#000000',
479
- checkboxBorderColor: '#ffffff',
480
-
481
- personaActivityRing: '#ffffff',
482
- personaActivityGlow: 'transparent', // glow probably doesn't make sense on HC
483
- ...createColorAliasTokens('highContrast'),
484
- };
485
- }