@fluentui-react-native/default-theme 0.21.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 +16 -1
- package/CHANGELOG.md +10 -2
- package/lib/defaultColors.d.ts +0 -2
- package/lib/defaultColors.d.ts.map +1 -1
- package/lib/defaultColors.js +0 -86
- 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 +1 -89
- 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 +1 -1
- package/src/defaultColors.ts +0 -100
- 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 -255
- 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 -255
- 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 -262
- 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 -262
- package/lib-commonjs/defaultColors.win32.js.map +0 -1
- package/src/defaultColors.macos.ts +0 -485
- package/src/defaultColors.win32.ts +0 -485
package/src/defaultColors.ts
CHANGED
|
@@ -209,106 +209,6 @@ export function paletteFromFabricColors(p: FabricWebPalette, isInverted?: boolea
|
|
|
209
209
|
};
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
export function getStockWebPalette(): ThemeColorDefinition {
|
|
213
|
-
return {
|
|
214
|
-
...paletteFromFabricColors({
|
|
215
|
-
black: globalTokens.color.black,
|
|
216
|
-
neutralDark: '#201f1e',
|
|
217
|
-
neutralPrimary: '#323130',
|
|
218
|
-
neutralPrimaryAlt: '#3b3a39',
|
|
219
|
-
neutralSecondary: '#605e5c',
|
|
220
|
-
neutralSecondaryAlt: '#8a8886',
|
|
221
|
-
neutralTertiary: '#a19f9d',
|
|
222
|
-
neutralTertiaryAlt: '#c8c6c4',
|
|
223
|
-
neutralQuaternary: '#d2d0ce',
|
|
224
|
-
neutralQuaternaryAlt: '#e1dfdd',
|
|
225
|
-
neutralLight: '#edebe9',
|
|
226
|
-
neutralLighter: '#f3f2f1',
|
|
227
|
-
neutralLighterAlt: '#faf9f8',
|
|
228
|
-
white: globalTokens.color.white,
|
|
229
|
-
// Shared Colors
|
|
230
|
-
red: globalTokens.color.red.primary,
|
|
231
|
-
redDark: globalTokens.color.burgundy.primary,
|
|
232
|
-
|
|
233
|
-
// @ts-ignore
|
|
234
|
-
accent: globalTokens.color.brand80,
|
|
235
|
-
blackTranslucent40: 'rgba(0,0,0,.4)',
|
|
236
|
-
|
|
237
|
-
// Colors to be deprecated
|
|
238
|
-
// @ts-ignore
|
|
239
|
-
themeDarker: globalTokens.color.brand40,
|
|
240
|
-
// @ts-ignore
|
|
241
|
-
themeDark: globalTokens.color.brand60,
|
|
242
|
-
// @ts-ignore
|
|
243
|
-
themeDarkAlt: globalTokens.color.brand70,
|
|
244
|
-
// @ts-ignore
|
|
245
|
-
themePrimary: globalTokens.color.brand80,
|
|
246
|
-
// @ts-ignore
|
|
247
|
-
themeSecondary: globalTokens.color.brand90,
|
|
248
|
-
// @ts-ignore
|
|
249
|
-
themeTertiary: globalTokens.color.brand120,
|
|
250
|
-
// @ts-ignore
|
|
251
|
-
themeLight: globalTokens.color.brand140,
|
|
252
|
-
// @ts-ignore
|
|
253
|
-
themeLighter: globalTokens.color.brand150,
|
|
254
|
-
// @ts-ignore
|
|
255
|
-
themeLighterAlt: globalTokens.color.brand160,
|
|
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
|
-
black: globalTokens.color.white,
|
|
267
|
-
neutralDark: '#faf9f8',
|
|
268
|
-
neutralPrimary: '#f3f2f1',
|
|
269
|
-
neutralPrimaryAlt: '#c8c6c4',
|
|
270
|
-
neutralSecondary: '#a19f9d',
|
|
271
|
-
neutralSecondaryAlt: '#979693',
|
|
272
|
-
neutralTertiary: '#797775',
|
|
273
|
-
neutralTertiaryAlt: '#484644',
|
|
274
|
-
neutralQuaternary: '#3b3a39',
|
|
275
|
-
neutralQuaternaryAlt: '#323130',
|
|
276
|
-
neutralLight: '#292827',
|
|
277
|
-
neutralLighter: '#252423',
|
|
278
|
-
neutralLighterAlt: '#201f1e',
|
|
279
|
-
white: '#1b1a19',
|
|
280
|
-
red: globalTokens.color.red.primary,
|
|
281
|
-
// @ts-ignore
|
|
282
|
-
accent: globalTokens.color.brand40,
|
|
283
|
-
redDark: '#f1707b',
|
|
284
|
-
blackTranslucent40: 'rgba(0,0,0,.4)',
|
|
285
|
-
|
|
286
|
-
// Colors to be deprecated
|
|
287
|
-
// @ts-ignore
|
|
288
|
-
themeDarker: globalTokens.color.brand110,
|
|
289
|
-
// @ts-ignore
|
|
290
|
-
themeDark: globalTokens.color.brand100,
|
|
291
|
-
// @ts-ignore
|
|
292
|
-
themeDarkAlt: globalTokens.color.brand100,
|
|
293
|
-
// @ts-ignore
|
|
294
|
-
themePrimary: globalTokens.color.brand90,
|
|
295
|
-
// @ts-ignore
|
|
296
|
-
themeSecondary: globalTokens.color.brand90,
|
|
297
|
-
// @ts-ignore
|
|
298
|
-
themeTertiary: globalTokens.color.brand60,
|
|
299
|
-
// @ts-ignore
|
|
300
|
-
themeLight: globalTokens.color.brand50,
|
|
301
|
-
// @ts-ignore
|
|
302
|
-
themeLighter: globalTokens.color.brand40,
|
|
303
|
-
// @ts-ignore
|
|
304
|
-
themeLighterAlt: globalTokens.color.brand30,
|
|
305
|
-
},
|
|
306
|
-
true,
|
|
307
|
-
),
|
|
308
|
-
...createColorAliasTokens('dark'),
|
|
309
|
-
};
|
|
310
|
-
}
|
|
311
|
-
|
|
312
212
|
export function getStockWebHCPalette(): ThemeColorDefinition {
|
|
313
213
|
return {
|
|
314
214
|
background: '#000000',
|
package/src/defaultTheme.ts
CHANGED
|
@@ -4,7 +4,8 @@ import { globalTokens } from '@fluentui-react-native/theme-tokens';
|
|
|
4
4
|
import type { Theme, Typography, Spacing, FontWeightValue, FontSize, FontSizes, Variants } from '@fluentui-react-native/theme-types';
|
|
5
5
|
|
|
6
6
|
import { createShadowAliasTokens } from './createAliasTokens';
|
|
7
|
-
import {
|
|
7
|
+
import { getStockWebHCPalette } from './defaultColors';
|
|
8
|
+
import { getStockWebPalette, getStockWebDarkPalette } from './stockWebPalette';
|
|
8
9
|
|
|
9
10
|
function _defaultTypography(): Typography {
|
|
10
11
|
const defaultsDict = {
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/ban-ts-comment */
|
|
2
|
+
import { globalTokens } from '@fluentui-react-native/theme-tokens';
|
|
3
|
+
import type { ThemeColorDefinition } from '@fluentui-react-native/theme-types';
|
|
4
|
+
|
|
5
|
+
import { createColorAliasTokens } from './createAliasTokens';
|
|
6
|
+
import { paletteFromFabricColors } from './defaultColors';
|
|
7
|
+
|
|
8
|
+
export function getStockWebPalette(): ThemeColorDefinition {
|
|
9
|
+
return {
|
|
10
|
+
...paletteFromFabricColors({
|
|
11
|
+
black: globalTokens.color.black,
|
|
12
|
+
neutralDark: '#201f1e',
|
|
13
|
+
neutralPrimary: '#323130',
|
|
14
|
+
neutralPrimaryAlt: '#3b3a39',
|
|
15
|
+
neutralSecondary: '#605e5c',
|
|
16
|
+
neutralSecondaryAlt: '#8a8886',
|
|
17
|
+
neutralTertiary: '#a19f9d',
|
|
18
|
+
neutralTertiaryAlt: '#c8c6c4',
|
|
19
|
+
neutralQuaternary: '#d2d0ce',
|
|
20
|
+
neutralQuaternaryAlt: '#e1dfdd',
|
|
21
|
+
neutralLight: '#edebe9',
|
|
22
|
+
neutralLighter: '#f3f2f1',
|
|
23
|
+
neutralLighterAlt: '#faf9f8',
|
|
24
|
+
white: globalTokens.color.white,
|
|
25
|
+
// Shared Colors
|
|
26
|
+
red: globalTokens.color.red.primary,
|
|
27
|
+
redDark: globalTokens.color.burgundy.primary,
|
|
28
|
+
|
|
29
|
+
themeDarker: globalTokens.color.brand.shade40,
|
|
30
|
+
themeDark: globalTokens.color.brand.shade20,
|
|
31
|
+
themeDarkAlt: globalTokens.color.brand.shade10,
|
|
32
|
+
themePrimary: globalTokens.color.brand.primary,
|
|
33
|
+
themeSecondary: '#2b88d8',
|
|
34
|
+
themeTertiary: '#71afe5',
|
|
35
|
+
themeLight: globalTokens.color.brand.tint40,
|
|
36
|
+
themeLighter: globalTokens.color.brand.tint50,
|
|
37
|
+
themeLighterAlt: globalTokens.color.brand.tint60,
|
|
38
|
+
accent: globalTokens.color.brand.primary,
|
|
39
|
+
blackTranslucent40: 'rgba(0,0,0,.4)',
|
|
40
|
+
}),
|
|
41
|
+
...createColorAliasTokens('light'),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function getStockWebDarkPalette(): ThemeColorDefinition {
|
|
46
|
+
return {
|
|
47
|
+
...paletteFromFabricColors(
|
|
48
|
+
{
|
|
49
|
+
// colors taken from fluentui DarkCustomizations.ts
|
|
50
|
+
themeDarker: '#82c7ff',
|
|
51
|
+
themeDark: globalTokens.color.brand.tint30,
|
|
52
|
+
themeDarkAlt: globalTokens.color.brand.tint20,
|
|
53
|
+
themePrimary: globalTokens.color.brand.tint10,
|
|
54
|
+
themeSecondary: globalTokens.color.brand.primary,
|
|
55
|
+
themeTertiary: '#235a85',
|
|
56
|
+
themeLight: globalTokens.color.brand.shade30,
|
|
57
|
+
themeLighter: globalTokens.color.brand.shade50,
|
|
58
|
+
themeLighterAlt: globalTokens.color.brand.shade60,
|
|
59
|
+
black: globalTokens.color.white,
|
|
60
|
+
neutralDark: '#faf9f8',
|
|
61
|
+
neutralPrimary: '#f3f2f1',
|
|
62
|
+
neutralPrimaryAlt: '#c8c6c4',
|
|
63
|
+
neutralSecondary: '#a19f9d',
|
|
64
|
+
neutralSecondaryAlt: '#979693',
|
|
65
|
+
neutralTertiary: '#797775',
|
|
66
|
+
neutralTertiaryAlt: '#484644',
|
|
67
|
+
neutralQuaternary: '#3b3a39',
|
|
68
|
+
neutralQuaternaryAlt: '#323130',
|
|
69
|
+
neutralLight: '#292827',
|
|
70
|
+
neutralLighter: '#252423',
|
|
71
|
+
neutralLighterAlt: '#201f1e',
|
|
72
|
+
white: '#1b1a19',
|
|
73
|
+
red: globalTokens.color.red.primary,
|
|
74
|
+
accent: globalTokens.color.brand.primary,
|
|
75
|
+
redDark: '#f1707b',
|
|
76
|
+
blackTranslucent40: 'rgba(0,0,0,.4)',
|
|
77
|
+
},
|
|
78
|
+
true,
|
|
79
|
+
),
|
|
80
|
+
...createColorAliasTokens('dark'),
|
|
81
|
+
};
|
|
82
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/ban-ts-comment */
|
|
2
|
+
import { globalTokens } from '@fluentui-react-native/theme-tokens';
|
|
3
|
+
import type { ThemeColorDefinition } from '@fluentui-react-native/theme-types';
|
|
4
|
+
|
|
5
|
+
import { createColorAliasTokens } from './createAliasTokens';
|
|
6
|
+
import { paletteFromFabricColors } from './defaultColors';
|
|
7
|
+
|
|
8
|
+
export function getStockWebPalette(): ThemeColorDefinition {
|
|
9
|
+
return {
|
|
10
|
+
...paletteFromFabricColors({
|
|
11
|
+
black: globalTokens.color.black,
|
|
12
|
+
neutralDark: '#201f1e',
|
|
13
|
+
neutralPrimary: '#323130',
|
|
14
|
+
neutralPrimaryAlt: '#3b3a39',
|
|
15
|
+
neutralSecondary: '#605e5c',
|
|
16
|
+
neutralSecondaryAlt: '#8a8886',
|
|
17
|
+
neutralTertiary: '#a19f9d',
|
|
18
|
+
neutralTertiaryAlt: '#c8c6c4',
|
|
19
|
+
neutralQuaternary: '#d2d0ce',
|
|
20
|
+
neutralQuaternaryAlt: '#e1dfdd',
|
|
21
|
+
neutralLight: '#edebe9',
|
|
22
|
+
neutralLighter: '#f3f2f1',
|
|
23
|
+
neutralLighterAlt: '#faf9f8',
|
|
24
|
+
white: globalTokens.color.white,
|
|
25
|
+
// Shared Colors
|
|
26
|
+
red: globalTokens.color.red.primary,
|
|
27
|
+
redDark: globalTokens.color.burgundy.primary,
|
|
28
|
+
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
accent: globalTokens.color.brand80,
|
|
31
|
+
blackTranslucent40: 'rgba(0,0,0,.4)',
|
|
32
|
+
|
|
33
|
+
// Colors to be deprecated
|
|
34
|
+
// @ts-ignore
|
|
35
|
+
themeDarker: globalTokens.color.brand40,
|
|
36
|
+
// @ts-ignore
|
|
37
|
+
themeDark: globalTokens.color.brand60,
|
|
38
|
+
// @ts-ignore
|
|
39
|
+
themeDarkAlt: globalTokens.color.brand70,
|
|
40
|
+
// @ts-ignore
|
|
41
|
+
themePrimary: globalTokens.color.brand80,
|
|
42
|
+
// @ts-ignore
|
|
43
|
+
themeSecondary: globalTokens.color.brand90,
|
|
44
|
+
// @ts-ignore
|
|
45
|
+
themeTertiary: globalTokens.color.brand120,
|
|
46
|
+
// @ts-ignore
|
|
47
|
+
themeLight: globalTokens.color.brand140,
|
|
48
|
+
// @ts-ignore
|
|
49
|
+
themeLighter: globalTokens.color.brand150,
|
|
50
|
+
// @ts-ignore
|
|
51
|
+
themeLighterAlt: globalTokens.color.brand160,
|
|
52
|
+
}),
|
|
53
|
+
...createColorAliasTokens('light'),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function getStockWebDarkPalette(): ThemeColorDefinition {
|
|
58
|
+
return {
|
|
59
|
+
...paletteFromFabricColors(
|
|
60
|
+
{
|
|
61
|
+
// colors taken from fluentui DarkCustomizations.ts
|
|
62
|
+
black: globalTokens.color.white,
|
|
63
|
+
neutralDark: '#faf9f8',
|
|
64
|
+
neutralPrimary: '#f3f2f1',
|
|
65
|
+
neutralPrimaryAlt: '#c8c6c4',
|
|
66
|
+
neutralSecondary: '#a19f9d',
|
|
67
|
+
neutralSecondaryAlt: '#979693',
|
|
68
|
+
neutralTertiary: '#797775',
|
|
69
|
+
neutralTertiaryAlt: '#484644',
|
|
70
|
+
neutralQuaternary: '#3b3a39',
|
|
71
|
+
neutralQuaternaryAlt: '#323130',
|
|
72
|
+
neutralLight: '#292827',
|
|
73
|
+
neutralLighter: '#252423',
|
|
74
|
+
neutralLighterAlt: '#201f1e',
|
|
75
|
+
white: '#1b1a19',
|
|
76
|
+
red: globalTokens.color.red.primary,
|
|
77
|
+
// @ts-ignore
|
|
78
|
+
accent: globalTokens.color.brand40,
|
|
79
|
+
redDark: '#f1707b',
|
|
80
|
+
blackTranslucent40: 'rgba(0,0,0,.4)',
|
|
81
|
+
|
|
82
|
+
// Colors to be deprecated
|
|
83
|
+
// @ts-ignore
|
|
84
|
+
themeDarker: globalTokens.color.brand110,
|
|
85
|
+
// @ts-ignore
|
|
86
|
+
themeDark: globalTokens.color.brand100,
|
|
87
|
+
// @ts-ignore
|
|
88
|
+
themeDarkAlt: globalTokens.color.brand100,
|
|
89
|
+
// @ts-ignore
|
|
90
|
+
themePrimary: globalTokens.color.brand90,
|
|
91
|
+
// @ts-ignore
|
|
92
|
+
themeSecondary: globalTokens.color.brand90,
|
|
93
|
+
// @ts-ignore
|
|
94
|
+
themeTertiary: globalTokens.color.brand60,
|
|
95
|
+
// @ts-ignore
|
|
96
|
+
themeLight: globalTokens.color.brand50,
|
|
97
|
+
// @ts-ignore
|
|
98
|
+
themeLighter: globalTokens.color.brand40,
|
|
99
|
+
// @ts-ignore
|
|
100
|
+
themeLighterAlt: globalTokens.color.brand30,
|
|
101
|
+
},
|
|
102
|
+
true,
|
|
103
|
+
),
|
|
104
|
+
...createColorAliasTokens('dark'),
|
|
105
|
+
};
|
|
106
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/ban-ts-comment */
|
|
2
|
+
import { globalTokens } from '@fluentui-react-native/theme-tokens';
|
|
3
|
+
import type { ThemeColorDefinition } from '@fluentui-react-native/theme-types';
|
|
4
|
+
|
|
5
|
+
import { createColorAliasTokens } from './createAliasTokens';
|
|
6
|
+
import { paletteFromFabricColors } from './defaultColors';
|
|
7
|
+
|
|
8
|
+
export function getStockWebPalette(): ThemeColorDefinition {
|
|
9
|
+
return {
|
|
10
|
+
...paletteFromFabricColors({
|
|
11
|
+
black: globalTokens.color.black,
|
|
12
|
+
neutralDark: '#201f1e',
|
|
13
|
+
neutralPrimary: '#323130',
|
|
14
|
+
neutralPrimaryAlt: '#3b3a39',
|
|
15
|
+
neutralSecondary: '#605e5c',
|
|
16
|
+
neutralSecondaryAlt: '#8a8886',
|
|
17
|
+
neutralTertiary: '#a19f9d',
|
|
18
|
+
neutralTertiaryAlt: '#c8c6c4',
|
|
19
|
+
neutralQuaternary: '#d2d0ce',
|
|
20
|
+
neutralQuaternaryAlt: '#e1dfdd',
|
|
21
|
+
neutralLight: '#edebe9',
|
|
22
|
+
neutralLighter: '#f3f2f1',
|
|
23
|
+
neutralLighterAlt: '#faf9f8',
|
|
24
|
+
white: globalTokens.color.white,
|
|
25
|
+
// Shared Colors
|
|
26
|
+
red: globalTokens.color.red.primary,
|
|
27
|
+
redDark: globalTokens.color.burgundy.primary,
|
|
28
|
+
|
|
29
|
+
themeDarker: globalTokens.color.brand.shade40,
|
|
30
|
+
themeDark: globalTokens.color.brand.shade20,
|
|
31
|
+
themeDarkAlt: globalTokens.color.brand.shade10,
|
|
32
|
+
themePrimary: globalTokens.color.brand.primary,
|
|
33
|
+
themeSecondary: '#2b88d8',
|
|
34
|
+
themeTertiary: '#71afe5',
|
|
35
|
+
themeLight: globalTokens.color.brand.tint40,
|
|
36
|
+
themeLighter: globalTokens.color.brand.tint50,
|
|
37
|
+
themeLighterAlt: globalTokens.color.brand.tint60,
|
|
38
|
+
accent: globalTokens.color.brand.primary,
|
|
39
|
+
blackTranslucent40: 'rgba(0,0,0,.4)',
|
|
40
|
+
}),
|
|
41
|
+
...createColorAliasTokens('light'),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function getStockWebDarkPalette(): ThemeColorDefinition {
|
|
46
|
+
return {
|
|
47
|
+
...paletteFromFabricColors(
|
|
48
|
+
{
|
|
49
|
+
// colors taken from fluentui DarkCustomizations.ts
|
|
50
|
+
themeDarker: '#82c7ff',
|
|
51
|
+
themeDark: globalTokens.color.brand.tint30,
|
|
52
|
+
themeDarkAlt: globalTokens.color.brand.tint20,
|
|
53
|
+
themePrimary: globalTokens.color.brand.tint10,
|
|
54
|
+
themeSecondary: globalTokens.color.brand.primary,
|
|
55
|
+
themeTertiary: '#235a85',
|
|
56
|
+
themeLight: globalTokens.color.brand.shade30,
|
|
57
|
+
themeLighter: globalTokens.color.brand.shade50,
|
|
58
|
+
themeLighterAlt: globalTokens.color.brand.shade60,
|
|
59
|
+
black: globalTokens.color.white,
|
|
60
|
+
neutralDark: '#faf9f8',
|
|
61
|
+
neutralPrimary: '#f3f2f1',
|
|
62
|
+
neutralPrimaryAlt: '#c8c6c4',
|
|
63
|
+
neutralSecondary: '#a19f9d',
|
|
64
|
+
neutralSecondaryAlt: '#979693',
|
|
65
|
+
neutralTertiary: '#797775',
|
|
66
|
+
neutralTertiaryAlt: '#484644',
|
|
67
|
+
neutralQuaternary: '#3b3a39',
|
|
68
|
+
neutralQuaternaryAlt: '#323130',
|
|
69
|
+
neutralLight: '#292827',
|
|
70
|
+
neutralLighter: '#252423',
|
|
71
|
+
neutralLighterAlt: '#201f1e',
|
|
72
|
+
white: '#1b1a19',
|
|
73
|
+
red: globalTokens.color.red.primary,
|
|
74
|
+
accent: globalTokens.color.brand.primary,
|
|
75
|
+
redDark: '#f1707b',
|
|
76
|
+
blackTranslucent40: 'rgba(0,0,0,.4)',
|
|
77
|
+
},
|
|
78
|
+
true,
|
|
79
|
+
),
|
|
80
|
+
...createColorAliasTokens('dark'),
|
|
81
|
+
};
|
|
82
|
+
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Palette, FabricWebPalette, ThemeColorDefinition } from '@fluentui-react-native/theme-types';
|
|
2
|
-
/**
|
|
3
|
-
* Generate a palette from a set of fabric web colors, like those output from the theme designer.
|
|
4
|
-
*
|
|
5
|
-
* @param palette - fabric web palette definition. This allows initializing our color values in the same
|
|
6
|
-
* manner the fabric web does it
|
|
7
|
-
*/
|
|
8
|
-
export declare function paletteFromFabricColors(p: FabricWebPalette, isInverted?: boolean): Palette;
|
|
9
|
-
export declare function getStockWebPalette(): ThemeColorDefinition;
|
|
10
|
-
export declare function getStockWebDarkPalette(): ThemeColorDefinition;
|
|
11
|
-
export declare function getStockWebHCPalette(): ThemeColorDefinition;
|
|
12
|
-
//# sourceMappingURL=defaultColors.macos.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"defaultColors.macos.d.ts","sourceRoot":"","sources":["../src/defaultColors.macos.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAI1G;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,gBAAgB,EAAE,UAAU,CAAC,EAAE,OAAO,GAAG,OAAO,CAqM1F;AAED,wBAAgB,kBAAkB,IAAI,oBAAoB,CAmCzD;AAED,wBAAgB,sBAAsB,IAAI,oBAAoB,CAqC7D;AAED,wBAAgB,oBAAoB,IAAI,oBAAoB,CAsM3D"}
|
|
@@ -1,255 +0,0 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
|
-
import { globalTokens } from '@fluentui-react-native/theme-tokens';
|
|
13
|
-
import { createColorAliasTokens } from './createAliasTokens';
|
|
14
|
-
/**
|
|
15
|
-
* Generate a palette from a set of fabric web colors, like those output from the theme designer.
|
|
16
|
-
*
|
|
17
|
-
* @param palette - fabric web palette definition. This allows initializing our color values in the same
|
|
18
|
-
* manner the fabric web does it
|
|
19
|
-
*/
|
|
20
|
-
export function paletteFromFabricColors(p, isInverted) {
|
|
21
|
-
return {
|
|
22
|
-
background: p.white,
|
|
23
|
-
bodyStandoutBackground: p.neutralLighterAlt,
|
|
24
|
-
bodyFrameBackground: p.white,
|
|
25
|
-
bodyFrameDivider: p.neutralLight,
|
|
26
|
-
bodyText: p.neutralPrimary,
|
|
27
|
-
bodyTextChecked: p.black,
|
|
28
|
-
subText: p.neutralSecondary,
|
|
29
|
-
bodyDivider: p.neutralLight,
|
|
30
|
-
disabledBackground: isInverted ? p.neutralQuaternaryAlt : p.neutralLighter,
|
|
31
|
-
disabledText: p.neutralTertiary,
|
|
32
|
-
disabledBodyText: p.neutralTertiary,
|
|
33
|
-
disabledSubtext: p.neutralQuaternary,
|
|
34
|
-
disabledBodySubtext: p.neutralTertiaryAlt,
|
|
35
|
-
focusBorder: p.neutralSecondary,
|
|
36
|
-
variantBorder: p.neutralLight,
|
|
37
|
-
variantBorderHovered: p.neutralTertiary,
|
|
38
|
-
defaultStateBackground: p.neutralLighterAlt,
|
|
39
|
-
errorText: !isInverted ? p.redDark : '#ff5f5f',
|
|
40
|
-
warningText: !isInverted ? globalTokens.color.grey20 : globalTokens.color.white,
|
|
41
|
-
errorBackground: !isInverted ? 'rgba(245, 135, 145, .2)' : 'rgba(232, 17, 35, .5)',
|
|
42
|
-
blockingBackground: !isInverted ? 'rgba(250, 65, 0, .2)' : 'rgba(234, 67, 0, .5)',
|
|
43
|
-
warningBackground: !isInverted ? 'rgba(255, 200, 10, .2)' : 'rgba(255, 251, 0, .6)',
|
|
44
|
-
warningHighlight: !isInverted ? '#ffb900' : '#fff100',
|
|
45
|
-
successBackground: !isInverted ? 'rgba(95, 210, 85, .2)' : 'rgba(186, 216, 10, .4)',
|
|
46
|
-
inputBorder: p.neutralTertiary,
|
|
47
|
-
inputBorderHovered: p.neutralPrimary,
|
|
48
|
-
inputBackground: p.white,
|
|
49
|
-
inputBackgroundChecked: p.themePrimary,
|
|
50
|
-
inputBackgroundCheckedHovered: p.themeDarkAlt,
|
|
51
|
-
inputForegroundChecked: p.white,
|
|
52
|
-
inputFocusBorderAlt: p.themePrimary,
|
|
53
|
-
smallInputBorder: p.neutralSecondary,
|
|
54
|
-
inputText: p.neutralPrimary,
|
|
55
|
-
inputTextHovered: p.neutralDark,
|
|
56
|
-
inputPlaceholderText: p.neutralSecondary,
|
|
57
|
-
buttonBackground: p.neutralLighter,
|
|
58
|
-
buttonBackgroundChecked: p.neutralTertiaryAlt,
|
|
59
|
-
buttonBackgroundHovered: p.neutralLight,
|
|
60
|
-
buttonBackgroundCheckedHovered: p.neutralLight,
|
|
61
|
-
buttonBackgroundPressed: p.neutralLight,
|
|
62
|
-
buttonBackgroundDisabled: p.neutralLighter,
|
|
63
|
-
buttonBorder: p.neutralSecondaryAlt,
|
|
64
|
-
buttonText: isInverted ? p.black : p.neutralPrimary,
|
|
65
|
-
buttonTextHovered: isInverted ? p.neutralPrimary : p.neutralDark,
|
|
66
|
-
buttonTextChecked: p.neutralDark,
|
|
67
|
-
buttonTextCheckedHovered: p.black,
|
|
68
|
-
buttonTextPressed: p.neutralDark,
|
|
69
|
-
buttonTextDisabled: p.neutralTertiary,
|
|
70
|
-
buttonBorderDisabled: p.neutralLighter,
|
|
71
|
-
buttonBorderFocused: p.neutralSecondaryAlt,
|
|
72
|
-
primaryButtonBackground: p.themePrimary,
|
|
73
|
-
primaryButtonBackgroundHovered: p.themeDarkAlt,
|
|
74
|
-
primaryButtonBackgroundPressed: p.themeDark,
|
|
75
|
-
primaryButtonBackgroundDisabled: p.neutralLighter,
|
|
76
|
-
primaryButtonBorder: 'transparent',
|
|
77
|
-
primaryButtonBorderFocused: 'transparent',
|
|
78
|
-
primaryButtonText: p.white,
|
|
79
|
-
primaryButtonTextHovered: p.white,
|
|
80
|
-
primaryButtonTextPressed: p.white,
|
|
81
|
-
primaryButtonTextDisabled: p.neutralQuaternary,
|
|
82
|
-
accentButtonBackground: p.accent,
|
|
83
|
-
accentButtonText: p.white,
|
|
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
|
-
listBackground: p.white,
|
|
93
|
-
listText: p.neutralPrimary,
|
|
94
|
-
listItemBackgroundHovered: p.neutralLighter,
|
|
95
|
-
listItemBackgroundChecked: p.neutralLight,
|
|
96
|
-
listItemBackgroundCheckedHovered: p.neutralQuaternaryAlt,
|
|
97
|
-
listHeaderBackgroundHovered: p.neutralLighter,
|
|
98
|
-
listHeaderBackgroundPressed: p.neutralLight,
|
|
99
|
-
actionLink: p.neutralPrimary,
|
|
100
|
-
actionLinkHovered: p.neutralDark,
|
|
101
|
-
link: p.themePrimary,
|
|
102
|
-
linkHovered: p.themeDarker,
|
|
103
|
-
linkPressed: p.themeDark,
|
|
104
|
-
// Control Color Tokens
|
|
105
|
-
defaultBackground: p.neutralLighter,
|
|
106
|
-
defaultBorder: p.neutralSecondaryAlt,
|
|
107
|
-
defaultContent: isInverted ? p.black : p.neutralPrimary,
|
|
108
|
-
defaultIcon: isInverted ? p.black : p.neutralPrimary,
|
|
109
|
-
defaultHoveredBackground: p.neutralLight,
|
|
110
|
-
defaultHoveredBorder: p.neutralSecondaryAlt,
|
|
111
|
-
defaultHoveredContent: isInverted ? p.neutralPrimary : p.neutralDark,
|
|
112
|
-
defaultHoveredIcon: isInverted ? p.neutralPrimary : p.neutralDark,
|
|
113
|
-
defaultFocusedBackground: p.neutralLight,
|
|
114
|
-
defaultFocusedBorder: p.neutralSecondaryAlt,
|
|
115
|
-
defaultFocusedContent: isInverted ? p.neutralPrimary : p.neutralDark,
|
|
116
|
-
defaultFocusedIcon: isInverted ? p.neutralPrimary : p.neutralDark,
|
|
117
|
-
defaultPressedBackground: p.neutralLight,
|
|
118
|
-
defaultPressedBorder: p.neutralSecondaryAlt,
|
|
119
|
-
defaultPressedContent: p.neutralDark,
|
|
120
|
-
defaultPressedIcon: p.neutralDark,
|
|
121
|
-
defaultDisabledBackground: p.neutralLighter,
|
|
122
|
-
defaultDisabledBorder: p.neutralLighter,
|
|
123
|
-
defaultDisabledContent: p.neutralTertiary,
|
|
124
|
-
defaultDisabledIcon: p.neutralTertiary,
|
|
125
|
-
ghostBackground: p.white,
|
|
126
|
-
ghostBorder: p.white,
|
|
127
|
-
ghostContent: p.neutralPrimary,
|
|
128
|
-
ghostIcon: p.neutralPrimary,
|
|
129
|
-
ghostHoveredBackground: p.neutralLighter,
|
|
130
|
-
ghostHoveredBorder: p.neutralLighter,
|
|
131
|
-
ghostHoveredContent: p.neutralDark,
|
|
132
|
-
ghostHoveredIcon: p.neutralDark,
|
|
133
|
-
ghostFocusedBackground: p.neutralLighter,
|
|
134
|
-
ghostFocusedBorder: p.neutralSecondaryAlt,
|
|
135
|
-
ghostFocusedContent: p.neutralDark,
|
|
136
|
-
ghostFocusedIcon: p.neutralDark,
|
|
137
|
-
ghostPressedBackground: p.neutralLight,
|
|
138
|
-
ghostPressedBorder: p.neutralLight,
|
|
139
|
-
ghostPressedContent: p.neutralDark,
|
|
140
|
-
ghostPressedIcon: p.neutralDark,
|
|
141
|
-
ghostDisabledBackground: p.white,
|
|
142
|
-
ghostDisabledBorder: p.white,
|
|
143
|
-
ghostDisabledContent: p.neutralTertiary,
|
|
144
|
-
ghostDisabledIcon: p.neutralTertiary,
|
|
145
|
-
brandedBackground: p.themePrimary,
|
|
146
|
-
brandedPressedBackground: p.themeDark,
|
|
147
|
-
brandedPressedBorder: p.themeDarker,
|
|
148
|
-
brandedPressedContent: p.white,
|
|
149
|
-
brandedPressedIcon: p.white,
|
|
150
|
-
brandedDisabledBackground: p.neutralLighter,
|
|
151
|
-
brandedDisabledBorder: p.neutralLighter,
|
|
152
|
-
brandedDisabledContent: p.neutralQuaternary,
|
|
153
|
-
brandedDisabledIcon: p.neutralQuaternary,
|
|
154
|
-
defaultCheckedBackground: p.neutralTertiaryAlt,
|
|
155
|
-
defaultCheckedContent: p.neutralDark,
|
|
156
|
-
defaultCheckedHoveredBackground: p.neutralLight,
|
|
157
|
-
defaultCheckedHoveredContent: isInverted ? p.neutralPrimary : p.neutralDark,
|
|
158
|
-
brandedCheckedBackground: p.neutralTertiaryAlt,
|
|
159
|
-
brandedCheckedContent: p.neutralDark,
|
|
160
|
-
brandedCheckedHoveredBackground: p.neutralLight,
|
|
161
|
-
brandedCheckedHoveredContent: isInverted ? p.neutralPrimary : p.neutralDark,
|
|
162
|
-
ghostCheckedBackground: p.neutralLight,
|
|
163
|
-
ghostCheckedContent: p.black,
|
|
164
|
-
ghostCheckedHoveredBackground: p.neutralLighter,
|
|
165
|
-
ghostCheckedHoveredContent: p.neutralDark,
|
|
166
|
-
ghostCheckedHoveredBorder: p.neutralDark,
|
|
167
|
-
ghostSecondaryContent: p.neutralSecondary,
|
|
168
|
-
ghostFocusedSecondaryContent: p.neutralSecondary,
|
|
169
|
-
ghostHoveredSecondaryContent: p.neutralSecondary,
|
|
170
|
-
ghostPressedSecondaryContent: p.neutralSecondary,
|
|
171
|
-
brandedSecondaryContent: p.neutralLighterAlt,
|
|
172
|
-
brandedFocusedSecondaryContent: p.neutralLighterAlt,
|
|
173
|
-
brandedHoveredSecondaryContent: p.neutralLighterAlt,
|
|
174
|
-
brandedPressedSecondaryContent: p.neutralLighterAlt,
|
|
175
|
-
defaultDisabledSecondaryContent: p.neutralTertiary,
|
|
176
|
-
defaultHoveredSecondaryContent: p.neutralTertiary,
|
|
177
|
-
defaultPressedSecondaryContent: p.neutralTertiary,
|
|
178
|
-
checkmarkColor: p.white,
|
|
179
|
-
checkboxBackground: p.themePrimary,
|
|
180
|
-
checkboxBackgroundDisabled: p.neutralLighter,
|
|
181
|
-
checkboxBorderColor: p.neutralSecondaryAlt,
|
|
182
|
-
personaActivityRing: p.white,
|
|
183
|
-
personaActivityGlow: p.themePrimary,
|
|
184
|
-
};
|
|
185
|
-
}
|
|
186
|
-
export function getStockWebPalette() {
|
|
187
|
-
return __assign(__assign({}, paletteFromFabricColors({
|
|
188
|
-
black: globalTokens.color.black,
|
|
189
|
-
neutralDark: '#201f1e',
|
|
190
|
-
neutralPrimary: '#323130',
|
|
191
|
-
neutralPrimaryAlt: '#3b3a39',
|
|
192
|
-
neutralSecondary: '#605e5c',
|
|
193
|
-
neutralSecondaryAlt: '#8a8886',
|
|
194
|
-
neutralTertiary: '#a19f9d',
|
|
195
|
-
neutralTertiaryAlt: '#c8c6c4',
|
|
196
|
-
neutralQuaternary: '#d2d0ce',
|
|
197
|
-
neutralQuaternaryAlt: '#e1dfdd',
|
|
198
|
-
neutralLight: '#edebe9',
|
|
199
|
-
neutralLighter: '#f3f2f1',
|
|
200
|
-
neutralLighterAlt: '#faf9f8',
|
|
201
|
-
white: globalTokens.color.white,
|
|
202
|
-
// Shared Colors
|
|
203
|
-
red: globalTokens.color.red.primary,
|
|
204
|
-
redDark: globalTokens.color.burgundy.primary,
|
|
205
|
-
themeDarker: globalTokens.color.brand.shade40,
|
|
206
|
-
themeDark: globalTokens.color.brand.shade20,
|
|
207
|
-
themeDarkAlt: globalTokens.color.brand.shade10,
|
|
208
|
-
themePrimary: globalTokens.color.brand.primary,
|
|
209
|
-
themeSecondary: '#2b88d8',
|
|
210
|
-
themeTertiary: '#71afe5',
|
|
211
|
-
themeLight: globalTokens.color.brand.tint40,
|
|
212
|
-
themeLighter: globalTokens.color.brand.tint50,
|
|
213
|
-
themeLighterAlt: globalTokens.color.brand.tint60,
|
|
214
|
-
accent: globalTokens.color.brand.primary,
|
|
215
|
-
blackTranslucent40: 'rgba(0,0,0,.4)',
|
|
216
|
-
})), createColorAliasTokens('light'));
|
|
217
|
-
}
|
|
218
|
-
export function getStockWebDarkPalette() {
|
|
219
|
-
return __assign(__assign({}, paletteFromFabricColors({
|
|
220
|
-
// colors taken from fluentui DarkCustomizations.ts
|
|
221
|
-
themeDarker: '#82c7ff',
|
|
222
|
-
themeDark: globalTokens.color.brand.tint30,
|
|
223
|
-
themeDarkAlt: globalTokens.color.brand.tint20,
|
|
224
|
-
themePrimary: globalTokens.color.brand.tint10,
|
|
225
|
-
themeSecondary: globalTokens.color.brand.primary,
|
|
226
|
-
themeTertiary: '#235a85',
|
|
227
|
-
themeLight: globalTokens.color.brand.shade30,
|
|
228
|
-
themeLighter: globalTokens.color.brand.shade50,
|
|
229
|
-
themeLighterAlt: globalTokens.color.brand.shade60,
|
|
230
|
-
black: globalTokens.color.white,
|
|
231
|
-
neutralDark: '#faf9f8',
|
|
232
|
-
neutralPrimary: '#f3f2f1',
|
|
233
|
-
neutralPrimaryAlt: '#c8c6c4',
|
|
234
|
-
neutralSecondary: '#a19f9d',
|
|
235
|
-
neutralSecondaryAlt: '#979693',
|
|
236
|
-
neutralTertiary: '#797775',
|
|
237
|
-
neutralTertiaryAlt: '#484644',
|
|
238
|
-
neutralQuaternary: '#3b3a39',
|
|
239
|
-
neutralQuaternaryAlt: '#323130',
|
|
240
|
-
neutralLight: '#292827',
|
|
241
|
-
neutralLighter: '#252423',
|
|
242
|
-
neutralLighterAlt: '#201f1e',
|
|
243
|
-
white: '#1b1a19',
|
|
244
|
-
red: globalTokens.color.red.primary,
|
|
245
|
-
accent: globalTokens.color.brand.primary,
|
|
246
|
-
redDark: '#f1707b',
|
|
247
|
-
blackTranslucent40: 'rgba(0,0,0,.4)',
|
|
248
|
-
}, true)), createColorAliasTokens('dark'));
|
|
249
|
-
}
|
|
250
|
-
export function getStockWebHCPalette() {
|
|
251
|
-
return __assign({ background: '#000000', bodyStandoutBackground: '#000000', bodyFrameBackground: '#000000', bodyFrameDivider: '#000000', bodyText: '#ffffff', bodyTextChecked: '#000000', subText: '#ffffff', bodyDivider: '#ffffff', disabledBackground: '#000000', disabledText: '#3ff23f', disabledBodyText: '#3ff23f', disabledSubtext: '#3ff23f', disabledBodySubtext: '#3ff23f', focusBorder: '#ffffff', variantBorder: '#ffffff', variantBorderHovered: '#ffffff', defaultStateBackground: '#000000', errorText: '#ffffff', warningText: '#ffffff', errorBackground: '#000000', blockingBackground: '#000000', warningBackground: '#000000', warningHighlight: '#ffffff', successBackground: '#000000', inputBorder: '#ffffff', inputBorderHovered: '#1aebff', inputBackground: '#000000', inputBackgroundChecked: '#1aebff', inputBackgroundCheckedHovered: '#1aebff', inputForegroundChecked: '#000000', inputFocusBorderAlt: '#ffffff', smallInputBorder: '#ffffff', inputText: '#ffffff', inputTextHovered: '#000000', inputPlaceholderText: '#ffffff', buttonBackground: '#000000', buttonBackgroundChecked: '#1aebff', buttonBackgroundHovered: '#1aebff', buttonBackgroundCheckedHovered: '#1aebff', buttonBackgroundPressed: '#1aebff', buttonBackgroundDisabled: '#000000', buttonBorder: '#ffffff', buttonText: '#ffffff', buttonTextHovered: '#000000', buttonTextChecked: '#000000', buttonTextCheckedHovered: '#000000', buttonTextPressed: '#000000', buttonTextDisabled: '#3ff23f', buttonBorderDisabled: '#3ff23f', buttonBorderFocused: '#ffffff', primaryButtonBackground: '#000000', primaryButtonBackgroundHovered: '#1aebff', primaryButtonBackgroundPressed: '#1aebff', primaryButtonBackgroundDisabled: '#000000', primaryButtonBorder: '#ffffff', primaryButtonBorderFocused: '#ffffff', primaryButtonText: '#ffffff', primaryButtonTextHovered: '#000000', primaryButtonTextPressed: '#000000', primaryButtonTextDisabled: '#3ff23f', accentButtonBackground: '#000000', accentButtonText: '#ffffff', menuBackground: '#000000', menuDivider: '#ffffff', menuIcon: '#ffffff', menuHeader: '#ffffff', menuItemBackgroundHovered: '#1aebff', menuItemBackgroundPressed: '#1aebff', menuItemText: '#ffffff', menuItemTextHovered: '#000000', listBackground: '#000000', listText: '#ffffff', listItemBackgroundHovered: '#1aebff', listItemBackgroundChecked: '#1aebff', listItemBackgroundCheckedHovered: '#1aebff', listHeaderBackgroundHovered: '#1aebff', listHeaderBackgroundPressed: '#1aebff', actionLink: '#ffff00', actionLinkHovered: '#ffffff', link: '#ffff00', linkHovered: '#ffffff', linkPressed: '#ffffff',
|
|
252
|
-
// Control Color Tokens
|
|
253
|
-
defaultBackground: '#000000', defaultBorder: '#ffffff', defaultContent: '#ffffff', defaultIcon: '#ffffff', defaultHoveredBackground: '#1aebff', defaultHoveredBorder: '#1aebff', defaultHoveredContent: '#000000', defaultHoveredIcon: '#000000', defaultFocusedBackground: '#000000', defaultFocusedBorder: '#ffffff', defaultFocusedContent: '#ffffff', defaultFocusedIcon: '#ffffff', defaultPressedBackground: '#1aebff', defaultPressedBorder: '#1aebff', defaultPressedContent: '#000000', defaultPressedIcon: '#000000', defaultDisabledBackground: '#000000', defaultDisabledBorder: '#3ff23f', defaultDisabledContent: '#3ff23f', defaultDisabledIcon: '#3ff23f', ghostBackground: '#000000', ghostBorder: '#000000', ghostContent: '#ffffff', ghostIcon: '#ffffff', ghostHoveredBackground: '#1aebff', ghostHoveredBorder: '#1aebff', ghostHoveredContent: '#000000', ghostHoveredIcon: '#000000', ghostFocusedBackground: '#000000', ghostFocusedBorder: '#ffffff', ghostFocusedContent: '#ffffff', ghostFocusedIcon: '#ffffff', ghostPressedBackground: '#1aebff', ghostPressedBorder: '#1aebff', ghostPressedContent: '#000000', ghostPressedIcon: '#000000', ghostDisabledBackground: '#000000', ghostDisabledBorder: '#000000', ghostDisabledContent: '#3ff23f', ghostDisabledIcon: '#3ff23f', brandedBackground: '#000000', brandedPressedBackground: '#1aebff', brandedPressedBorder: '#1aebff', brandedPressedContent: '#000000', brandedPressedIcon: '#000000', brandedDisabledBackground: '#000000', brandedDisabledBorder: '#3ff23f', brandedDisabledContent: '#3ff23f', brandedDisabledIcon: '#3ff23f', defaultCheckedBackground: '#1aebff', defaultCheckedContent: '#000000', defaultCheckedHoveredBackground: '#1aebff', defaultCheckedHoveredContent: '#000000', brandedCheckedBackground: '#1aebff', brandedCheckedContent: '#000000', brandedCheckedHoveredBackground: '#1aebff', brandedCheckedHoveredContent: '#000000', ghostCheckedBackground: '#1aebff', ghostCheckedContent: '#000000', ghostCheckedHoveredBackground: '#1aebff', ghostCheckedHoveredContent: '#000000', ghostCheckedHoveredBorder: '#000000', ghostSecondaryContent: '#ffffff', ghostFocusedSecondaryContent: '#ffffff', ghostHoveredSecondaryContent: '#000000', ghostPressedSecondaryContent: '#000000', brandedSecondaryContent: '#ffffff', brandedFocusedSecondaryContent: '#ffffff', brandedHoveredSecondaryContent: '#000000', brandedPressedSecondaryContent: '#000000', defaultDisabledSecondaryContent: '#ffffff', defaultHoveredSecondaryContent: '#000000', defaultPressedSecondaryContent: '#000000', checkmarkColor: '#ffffff', checkboxBackground: '#000000', checkboxBackgroundDisabled: '#000000', checkboxBorderColor: '#ffffff', personaActivityRing: '#ffffff', personaActivityGlow: 'transparent' }, createColorAliasTokens('highContrast'));
|
|
254
|
-
}
|
|
255
|
-
//# sourceMappingURL=defaultColors.macos.js.map
|