@fluentui-react-native/default-theme 0.20.0 → 0.21.1
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.json +55 -1
- package/CHANGELOG.md +22 -2
- package/lib/defaultColors.d.ts +0 -2
- package/lib/defaultColors.d.ts.map +1 -1
- package/lib/defaultColors.js +1 -98
- package/lib/defaultColors.js.map +1 -1
- package/lib/defaultTheme.d.ts.map +1 -1
- package/lib/defaultTheme.js +2 -1
- package/lib/defaultTheme.js.map +1 -1
- package/lib/stockWebPalette.d.ts +4 -0
- package/lib/stockWebPalette.d.ts.map +1 -0
- package/lib/stockWebPalette.js +102 -0
- package/lib/stockWebPalette.js.map +1 -0
- package/lib/stockWebPalette.macos.d.ts +4 -0
- package/lib/stockWebPalette.macos.d.ts.map +1 -0
- package/lib/stockWebPalette.macos.js +80 -0
- package/lib/stockWebPalette.macos.js.map +1 -0
- package/lib/stockWebPalette.win32.d.ts +4 -0
- package/lib/stockWebPalette.win32.d.ts.map +1 -0
- package/lib/stockWebPalette.win32.js +80 -0
- package/lib/stockWebPalette.win32.js.map +1 -0
- package/lib-commonjs/defaultColors.d.ts +0 -2
- package/lib-commonjs/defaultColors.d.ts.map +1 -1
- package/lib-commonjs/defaultColors.js +2 -101
- package/lib-commonjs/defaultColors.js.map +1 -1
- package/lib-commonjs/defaultTheme.d.ts.map +1 -1
- package/lib-commonjs/defaultTheme.js +3 -2
- package/lib-commonjs/defaultTheme.js.map +1 -1
- package/lib-commonjs/stockWebPalette.d.ts +4 -0
- package/lib-commonjs/stockWebPalette.d.ts.map +1 -0
- package/lib-commonjs/stockWebPalette.js +107 -0
- package/lib-commonjs/stockWebPalette.js.map +1 -0
- package/lib-commonjs/stockWebPalette.macos.d.ts +4 -0
- package/lib-commonjs/stockWebPalette.macos.d.ts.map +1 -0
- package/lib-commonjs/stockWebPalette.macos.js +85 -0
- package/lib-commonjs/stockWebPalette.macos.js.map +1 -0
- package/lib-commonjs/stockWebPalette.win32.d.ts +4 -0
- package/lib-commonjs/stockWebPalette.win32.d.ts.map +1 -0
- package/lib-commonjs/stockWebPalette.win32.js +85 -0
- package/lib-commonjs/stockWebPalette.win32.js.map +1 -0
- package/package.json +5 -5
- package/src/__tests__/__snapshots__/default-theme.test.ts.snap +0 -77
- package/src/defaultColors.ts +0 -126
- package/src/defaultTheme.ts +2 -1
- package/src/stockWebPalette.macos.ts +82 -0
- package/src/stockWebPalette.ts +106 -0
- package/src/stockWebPalette.win32.ts +82 -0
- package/lib/defaultColors.macos.d.ts +0 -12
- package/lib/defaultColors.macos.d.ts.map +0 -1
- package/lib/defaultColors.macos.js +0 -266
- package/lib/defaultColors.macos.js.map +0 -1
- package/lib/defaultColors.win32.d.ts +0 -12
- package/lib/defaultColors.win32.d.ts.map +0 -1
- package/lib/defaultColors.win32.js +0 -266
- package/lib/defaultColors.win32.js.map +0 -1
- package/lib-commonjs/defaultColors.macos.d.ts +0 -12
- package/lib-commonjs/defaultColors.macos.d.ts.map +0 -1
- package/lib-commonjs/defaultColors.macos.js +0 -273
- package/lib-commonjs/defaultColors.macos.js.map +0 -1
- package/lib-commonjs/defaultColors.win32.d.ts +0 -12
- package/lib-commonjs/defaultColors.win32.d.ts.map +0 -1
- package/lib-commonjs/defaultColors.win32.js +0 -273
- package/lib-commonjs/defaultColors.win32.js.map +0 -1
- package/src/defaultColors.macos.ts +0 -511
- package/src/defaultColors.win32.ts +0 -511
|
@@ -1,511 +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
|
-
brandedBorder: p.themeDark,
|
|
161
|
-
brandedContent: p.white,
|
|
162
|
-
brandedIcon: p.white,
|
|
163
|
-
|
|
164
|
-
brandedHoveredBackground: p.themeDarkAlt,
|
|
165
|
-
brandedHoveredBorder: p.themeDarker,
|
|
166
|
-
brandedHoveredContent: p.white,
|
|
167
|
-
brandedHoveredIcon: p.white,
|
|
168
|
-
|
|
169
|
-
brandedFocusedBackground: p.themeDarkAlt,
|
|
170
|
-
brandedFocusedBorder: p.themeDarker,
|
|
171
|
-
brandedFocusedContent: p.white,
|
|
172
|
-
brandedFocusedIcon: p.white,
|
|
173
|
-
|
|
174
|
-
brandedPressedBackground: p.themeDark,
|
|
175
|
-
brandedPressedBorder: p.themeDarker,
|
|
176
|
-
brandedPressedContent: p.white,
|
|
177
|
-
brandedPressedIcon: p.white,
|
|
178
|
-
|
|
179
|
-
brandedDisabledBackground: p.neutralLighter,
|
|
180
|
-
brandedDisabledBorder: p.neutralLighter,
|
|
181
|
-
brandedDisabledContent: p.neutralQuaternary,
|
|
182
|
-
brandedDisabledIcon: p.neutralQuaternary,
|
|
183
|
-
|
|
184
|
-
defaultCheckedBackground: p.neutralTertiaryAlt,
|
|
185
|
-
defaultCheckedContent: p.neutralDark,
|
|
186
|
-
defaultCheckedHoveredBackground: p.neutralLight,
|
|
187
|
-
defaultCheckedHoveredContent: isInverted ? p.neutralPrimary : p.neutralDark,
|
|
188
|
-
|
|
189
|
-
brandedCheckedBackground: p.neutralTertiaryAlt,
|
|
190
|
-
brandedCheckedContent: p.neutralDark,
|
|
191
|
-
brandedCheckedHoveredBackground: p.neutralLight,
|
|
192
|
-
brandedCheckedHoveredContent: isInverted ? p.neutralPrimary : p.neutralDark,
|
|
193
|
-
|
|
194
|
-
ghostCheckedBackground: p.neutralLight,
|
|
195
|
-
ghostCheckedContent: p.black,
|
|
196
|
-
ghostCheckedHoveredBackground: p.neutralLighter,
|
|
197
|
-
ghostCheckedHoveredContent: p.neutralDark,
|
|
198
|
-
ghostCheckedHoveredBorder: p.neutralDark,
|
|
199
|
-
|
|
200
|
-
ghostSecondaryContent: p.neutralSecondary,
|
|
201
|
-
ghostFocusedSecondaryContent: p.neutralSecondary,
|
|
202
|
-
ghostHoveredSecondaryContent: p.neutralSecondary,
|
|
203
|
-
ghostPressedSecondaryContent: p.neutralSecondary,
|
|
204
|
-
|
|
205
|
-
brandedSecondaryContent: p.neutralLighterAlt,
|
|
206
|
-
brandedFocusedSecondaryContent: p.neutralLighterAlt,
|
|
207
|
-
brandedHoveredSecondaryContent: p.neutralLighterAlt,
|
|
208
|
-
brandedPressedSecondaryContent: p.neutralLighterAlt,
|
|
209
|
-
|
|
210
|
-
defaultDisabledSecondaryContent: p.neutralTertiary,
|
|
211
|
-
defaultHoveredSecondaryContent: p.neutralTertiary,
|
|
212
|
-
defaultPressedSecondaryContent: p.neutralTertiary,
|
|
213
|
-
|
|
214
|
-
checkmarkColor: p.white,
|
|
215
|
-
checkboxBackground: p.themePrimary,
|
|
216
|
-
checkboxBackgroundDisabled: p.neutralLighter,
|
|
217
|
-
checkboxBorderColor: p.neutralSecondaryAlt,
|
|
218
|
-
|
|
219
|
-
personaActivityRing: p.white,
|
|
220
|
-
personaActivityGlow: p.themePrimary,
|
|
221
|
-
};
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
export function getStockWebPalette(): ThemeColorDefinition {
|
|
225
|
-
return {
|
|
226
|
-
...paletteFromFabricColors({
|
|
227
|
-
black: globalTokens.color.black,
|
|
228
|
-
neutralDark: '#201f1e',
|
|
229
|
-
neutralPrimary: '#323130',
|
|
230
|
-
neutralPrimaryAlt: '#3b3a39',
|
|
231
|
-
neutralSecondary: '#605e5c',
|
|
232
|
-
neutralSecondaryAlt: '#8a8886',
|
|
233
|
-
neutralTertiary: '#a19f9d',
|
|
234
|
-
neutralTertiaryAlt: '#c8c6c4',
|
|
235
|
-
neutralQuaternary: '#d2d0ce',
|
|
236
|
-
neutralQuaternaryAlt: '#e1dfdd',
|
|
237
|
-
neutralLight: '#edebe9',
|
|
238
|
-
neutralLighter: '#f3f2f1',
|
|
239
|
-
neutralLighterAlt: '#faf9f8',
|
|
240
|
-
white: globalTokens.color.white,
|
|
241
|
-
// Shared Colors
|
|
242
|
-
red: globalTokens.color.red.primary,
|
|
243
|
-
redDark: globalTokens.color.burgundy.primary,
|
|
244
|
-
|
|
245
|
-
themeDarker: globalTokens.color.brand.shade40,
|
|
246
|
-
themeDark: globalTokens.color.brand.shade20,
|
|
247
|
-
themeDarkAlt: globalTokens.color.brand.shade10,
|
|
248
|
-
themePrimary: globalTokens.color.brand.primary,
|
|
249
|
-
themeSecondary: '#2b88d8',
|
|
250
|
-
themeTertiary: '#71afe5',
|
|
251
|
-
themeLight: globalTokens.color.brand.tint40,
|
|
252
|
-
themeLighter: globalTokens.color.brand.tint50,
|
|
253
|
-
themeLighterAlt: globalTokens.color.brand.tint60,
|
|
254
|
-
accent: globalTokens.color.brand.primary,
|
|
255
|
-
blackTranslucent40: 'rgba(0,0,0,.4)',
|
|
256
|
-
}),
|
|
257
|
-
...createColorAliasTokens('light'),
|
|
258
|
-
};
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
export function getStockWebDarkPalette(): ThemeColorDefinition {
|
|
262
|
-
return {
|
|
263
|
-
...paletteFromFabricColors(
|
|
264
|
-
{
|
|
265
|
-
// colors taken from fluentui DarkCustomizations.ts
|
|
266
|
-
themeDarker: '#82c7ff',
|
|
267
|
-
themeDark: globalTokens.color.brand.tint30,
|
|
268
|
-
themeDarkAlt: globalTokens.color.brand.tint20,
|
|
269
|
-
themePrimary: globalTokens.color.brand.tint10,
|
|
270
|
-
themeSecondary: globalTokens.color.brand.primary,
|
|
271
|
-
themeTertiary: '#235a85',
|
|
272
|
-
themeLight: globalTokens.color.brand.shade30,
|
|
273
|
-
themeLighter: globalTokens.color.brand.shade50,
|
|
274
|
-
themeLighterAlt: globalTokens.color.brand.shade60,
|
|
275
|
-
black: globalTokens.color.white,
|
|
276
|
-
neutralDark: '#faf9f8',
|
|
277
|
-
neutralPrimary: '#f3f2f1',
|
|
278
|
-
neutralPrimaryAlt: '#c8c6c4',
|
|
279
|
-
neutralSecondary: '#a19f9d',
|
|
280
|
-
neutralSecondaryAlt: '#979693',
|
|
281
|
-
neutralTertiary: '#797775',
|
|
282
|
-
neutralTertiaryAlt: '#484644',
|
|
283
|
-
neutralQuaternary: '#3b3a39',
|
|
284
|
-
neutralQuaternaryAlt: '#323130',
|
|
285
|
-
neutralLight: '#292827',
|
|
286
|
-
neutralLighter: '#252423',
|
|
287
|
-
neutralLighterAlt: '#201f1e',
|
|
288
|
-
white: '#1b1a19',
|
|
289
|
-
red: globalTokens.color.red.primary,
|
|
290
|
-
accent: globalTokens.color.brand.primary,
|
|
291
|
-
redDark: '#f1707b',
|
|
292
|
-
blackTranslucent40: 'rgba(0,0,0,.4)',
|
|
293
|
-
},
|
|
294
|
-
true,
|
|
295
|
-
),
|
|
296
|
-
...createColorAliasTokens('dark'),
|
|
297
|
-
};
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
export function getStockWebHCPalette(): ThemeColorDefinition {
|
|
301
|
-
return {
|
|
302
|
-
background: '#000000',
|
|
303
|
-
bodyStandoutBackground: '#000000',
|
|
304
|
-
bodyFrameBackground: '#000000',
|
|
305
|
-
bodyFrameDivider: '#000000',
|
|
306
|
-
bodyText: '#ffffff',
|
|
307
|
-
bodyTextChecked: '#000000',
|
|
308
|
-
subText: '#ffffff',
|
|
309
|
-
bodyDivider: '#ffffff',
|
|
310
|
-
|
|
311
|
-
disabledBackground: '#000000',
|
|
312
|
-
disabledText: '#3ff23f',
|
|
313
|
-
disabledBodyText: '#3ff23f',
|
|
314
|
-
disabledSubtext: '#3ff23f',
|
|
315
|
-
disabledBodySubtext: '#3ff23f',
|
|
316
|
-
|
|
317
|
-
focusBorder: '#ffffff',
|
|
318
|
-
variantBorder: '#ffffff',
|
|
319
|
-
variantBorderHovered: '#ffffff',
|
|
320
|
-
defaultStateBackground: '#000000',
|
|
321
|
-
|
|
322
|
-
errorText: '#ffffff',
|
|
323
|
-
warningText: '#ffffff',
|
|
324
|
-
errorBackground: '#000000',
|
|
325
|
-
blockingBackground: '#000000',
|
|
326
|
-
warningBackground: '#000000',
|
|
327
|
-
warningHighlight: '#ffffff',
|
|
328
|
-
successBackground: '#000000',
|
|
329
|
-
|
|
330
|
-
inputBorder: '#ffffff',
|
|
331
|
-
inputBorderHovered: '#1aebff',
|
|
332
|
-
inputBackground: '#000000',
|
|
333
|
-
inputBackgroundChecked: '#1aebff',
|
|
334
|
-
inputBackgroundCheckedHovered: '#1aebff',
|
|
335
|
-
inputForegroundChecked: '#000000',
|
|
336
|
-
inputFocusBorderAlt: '#ffffff',
|
|
337
|
-
smallInputBorder: '#ffffff',
|
|
338
|
-
inputText: '#ffffff',
|
|
339
|
-
inputTextHovered: '#000000',
|
|
340
|
-
inputPlaceholderText: '#ffffff',
|
|
341
|
-
|
|
342
|
-
buttonBackground: '#000000',
|
|
343
|
-
buttonBackgroundChecked: '#1aebff',
|
|
344
|
-
buttonBackgroundHovered: '#1aebff',
|
|
345
|
-
buttonBackgroundCheckedHovered: '#1aebff',
|
|
346
|
-
buttonBackgroundPressed: '#1aebff',
|
|
347
|
-
buttonBackgroundDisabled: '#000000',
|
|
348
|
-
buttonBorder: '#ffffff',
|
|
349
|
-
buttonText: '#ffffff',
|
|
350
|
-
buttonTextHovered: '#000000',
|
|
351
|
-
buttonTextChecked: '#000000',
|
|
352
|
-
buttonTextCheckedHovered: '#000000',
|
|
353
|
-
buttonTextPressed: '#000000',
|
|
354
|
-
buttonTextDisabled: '#3ff23f',
|
|
355
|
-
buttonBorderDisabled: '#3ff23f',
|
|
356
|
-
buttonBorderFocused: '#ffffff',
|
|
357
|
-
|
|
358
|
-
primaryButtonBackground: '#000000',
|
|
359
|
-
primaryButtonBackgroundHovered: '#1aebff',
|
|
360
|
-
primaryButtonBackgroundPressed: '#1aebff',
|
|
361
|
-
primaryButtonBackgroundDisabled: '#000000',
|
|
362
|
-
primaryButtonBorder: '#ffffff',
|
|
363
|
-
primaryButtonBorderFocused: '#ffffff',
|
|
364
|
-
primaryButtonText: '#ffffff',
|
|
365
|
-
primaryButtonTextHovered: '#000000',
|
|
366
|
-
primaryButtonTextPressed: '#000000',
|
|
367
|
-
primaryButtonTextDisabled: '#3ff23f',
|
|
368
|
-
|
|
369
|
-
accentButtonBackground: '#000000',
|
|
370
|
-
accentButtonText: '#ffffff',
|
|
371
|
-
|
|
372
|
-
menuBackground: '#000000',
|
|
373
|
-
menuDivider: '#ffffff',
|
|
374
|
-
menuIcon: '#ffffff',
|
|
375
|
-
menuHeader: '#ffffff',
|
|
376
|
-
menuItemBackgroundHovered: '#1aebff',
|
|
377
|
-
menuItemBackgroundPressed: '#1aebff',
|
|
378
|
-
menuItemText: '#ffffff',
|
|
379
|
-
menuItemTextHovered: '#000000',
|
|
380
|
-
|
|
381
|
-
listBackground: '#000000',
|
|
382
|
-
listText: '#ffffff',
|
|
383
|
-
listItemBackgroundHovered: '#1aebff',
|
|
384
|
-
listItemBackgroundChecked: '#1aebff',
|
|
385
|
-
listItemBackgroundCheckedHovered: '#1aebff',
|
|
386
|
-
|
|
387
|
-
listHeaderBackgroundHovered: '#1aebff',
|
|
388
|
-
listHeaderBackgroundPressed: '#1aebff',
|
|
389
|
-
|
|
390
|
-
actionLink: '#ffff00',
|
|
391
|
-
actionLinkHovered: '#ffffff',
|
|
392
|
-
link: '#ffff00',
|
|
393
|
-
linkHovered: '#ffffff',
|
|
394
|
-
linkPressed: '#ffffff',
|
|
395
|
-
|
|
396
|
-
// Control Color Tokens
|
|
397
|
-
defaultBackground: '#000000',
|
|
398
|
-
defaultBorder: '#ffffff',
|
|
399
|
-
defaultContent: '#ffffff',
|
|
400
|
-
defaultIcon: '#ffffff',
|
|
401
|
-
|
|
402
|
-
defaultHoveredBackground: '#1aebff',
|
|
403
|
-
defaultHoveredBorder: '#1aebff',
|
|
404
|
-
defaultHoveredContent: '#000000',
|
|
405
|
-
defaultHoveredIcon: '#000000',
|
|
406
|
-
|
|
407
|
-
defaultFocusedBackground: '#000000',
|
|
408
|
-
defaultFocusedBorder: '#ffffff',
|
|
409
|
-
defaultFocusedContent: '#ffffff',
|
|
410
|
-
defaultFocusedIcon: '#ffffff',
|
|
411
|
-
|
|
412
|
-
defaultPressedBackground: '#1aebff',
|
|
413
|
-
defaultPressedBorder: '#1aebff',
|
|
414
|
-
defaultPressedContent: '#000000',
|
|
415
|
-
defaultPressedIcon: '#000000',
|
|
416
|
-
|
|
417
|
-
defaultDisabledBackground: '#000000',
|
|
418
|
-
defaultDisabledBorder: '#3ff23f',
|
|
419
|
-
defaultDisabledContent: '#3ff23f',
|
|
420
|
-
defaultDisabledIcon: '#3ff23f',
|
|
421
|
-
|
|
422
|
-
ghostBackground: '#000000',
|
|
423
|
-
ghostBorder: '#000000',
|
|
424
|
-
ghostContent: '#ffffff',
|
|
425
|
-
ghostIcon: '#ffffff',
|
|
426
|
-
|
|
427
|
-
ghostHoveredBackground: '#1aebff',
|
|
428
|
-
ghostHoveredBorder: '#1aebff',
|
|
429
|
-
ghostHoveredContent: '#000000',
|
|
430
|
-
ghostHoveredIcon: '#000000',
|
|
431
|
-
|
|
432
|
-
ghostFocusedBackground: '#000000',
|
|
433
|
-
ghostFocusedBorder: '#ffffff',
|
|
434
|
-
ghostFocusedContent: '#ffffff',
|
|
435
|
-
ghostFocusedIcon: '#ffffff',
|
|
436
|
-
|
|
437
|
-
ghostPressedBackground: '#1aebff',
|
|
438
|
-
ghostPressedBorder: '#1aebff',
|
|
439
|
-
ghostPressedContent: '#000000',
|
|
440
|
-
ghostPressedIcon: '#000000',
|
|
441
|
-
|
|
442
|
-
ghostDisabledBackground: '#000000',
|
|
443
|
-
ghostDisabledBorder: '#000000',
|
|
444
|
-
ghostDisabledContent: '#3ff23f',
|
|
445
|
-
ghostDisabledIcon: '#3ff23f',
|
|
446
|
-
|
|
447
|
-
brandedBackground: '#000000',
|
|
448
|
-
brandedBorder: '#ffffff',
|
|
449
|
-
brandedContent: '#ffffff',
|
|
450
|
-
brandedIcon: '#ffffff',
|
|
451
|
-
|
|
452
|
-
brandedHoveredBackground: '#1aebff',
|
|
453
|
-
brandedHoveredBorder: '#1aebff',
|
|
454
|
-
brandedHoveredContent: '#000000',
|
|
455
|
-
brandedHoveredIcon: '#000000',
|
|
456
|
-
|
|
457
|
-
brandedFocusedBackground: '#000000',
|
|
458
|
-
brandedFocusedBorder: '#ffffff',
|
|
459
|
-
brandedFocusedContent: '#ffffff',
|
|
460
|
-
brandedFocusedIcon: '#ffffff',
|
|
461
|
-
|
|
462
|
-
brandedPressedBackground: '#1aebff',
|
|
463
|
-
brandedPressedBorder: '#1aebff',
|
|
464
|
-
brandedPressedContent: '#000000',
|
|
465
|
-
brandedPressedIcon: '#000000',
|
|
466
|
-
|
|
467
|
-
brandedDisabledBackground: '#000000',
|
|
468
|
-
brandedDisabledBorder: '#3ff23f',
|
|
469
|
-
brandedDisabledContent: '#3ff23f',
|
|
470
|
-
brandedDisabledIcon: '#3ff23f',
|
|
471
|
-
|
|
472
|
-
defaultCheckedBackground: '#1aebff',
|
|
473
|
-
defaultCheckedContent: '#000000',
|
|
474
|
-
defaultCheckedHoveredBackground: '#1aebff',
|
|
475
|
-
defaultCheckedHoveredContent: '#000000',
|
|
476
|
-
|
|
477
|
-
brandedCheckedBackground: '#1aebff',
|
|
478
|
-
brandedCheckedContent: '#000000',
|
|
479
|
-
brandedCheckedHoveredBackground: '#1aebff',
|
|
480
|
-
brandedCheckedHoveredContent: '#000000',
|
|
481
|
-
|
|
482
|
-
ghostCheckedBackground: '#1aebff',
|
|
483
|
-
ghostCheckedContent: '#000000',
|
|
484
|
-
ghostCheckedHoveredBackground: '#1aebff',
|
|
485
|
-
ghostCheckedHoveredContent: '#000000',
|
|
486
|
-
ghostCheckedHoveredBorder: '#000000',
|
|
487
|
-
|
|
488
|
-
ghostSecondaryContent: '#ffffff',
|
|
489
|
-
ghostFocusedSecondaryContent: '#ffffff',
|
|
490
|
-
ghostHoveredSecondaryContent: '#000000',
|
|
491
|
-
ghostPressedSecondaryContent: '#000000',
|
|
492
|
-
|
|
493
|
-
brandedSecondaryContent: '#ffffff',
|
|
494
|
-
brandedFocusedSecondaryContent: '#ffffff',
|
|
495
|
-
brandedHoveredSecondaryContent: '#000000',
|
|
496
|
-
brandedPressedSecondaryContent: '#000000',
|
|
497
|
-
|
|
498
|
-
defaultDisabledSecondaryContent: '#ffffff',
|
|
499
|
-
defaultHoveredSecondaryContent: '#000000',
|
|
500
|
-
defaultPressedSecondaryContent: '#000000',
|
|
501
|
-
|
|
502
|
-
checkmarkColor: '#ffffff',
|
|
503
|
-
checkboxBackground: '#000000',
|
|
504
|
-
checkboxBackgroundDisabled: '#000000',
|
|
505
|
-
checkboxBorderColor: '#ffffff',
|
|
506
|
-
|
|
507
|
-
personaActivityRing: '#ffffff',
|
|
508
|
-
personaActivityGlow: 'transparent', // glow probably doesn't make sense on HC
|
|
509
|
-
...createColorAliasTokens('highContrast'),
|
|
510
|
-
};
|
|
511
|
-
}
|