@fluentui-react-native/default-theme 0.27.3 → 0.27.4
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/.cache/tsconfig.tsbuildinfo +1 -0
- package/CHANGELOG.md +21 -0
- package/jest.config.cjs +1 -0
- package/lib/__tests__/default-theme.test.js.map +1 -1
- package/lib/createAliasTokens.js.map +1 -1
- package/lib/createDefaultTheme.js.map +1 -1
- package/lib/defaultColors.js.map +1 -1
- package/lib/defaultTheme.js.map +1 -1
- package/lib/stockWebPalette.js.map +1 -1
- package/lib/stockWebPalette.macos.js.map +1 -1
- package/lib/stockWebPalette.win32.js.map +1 -1
- package/package.json +17 -22
- package/babel.config.js +0 -1
- package/lib-commonjs/__tests__/default-theme.test.d.ts +0 -2
- package/lib-commonjs/__tests__/default-theme.test.d.ts.map +0 -1
- package/lib-commonjs/__tests__/default-theme.test.js +0 -42
- package/lib-commonjs/__tests__/default-theme.test.js.map +0 -1
- package/lib-commonjs/createAliasTokens.d.ts +0 -7
- package/lib-commonjs/createAliasTokens.d.ts.map +0 -1
- package/lib-commonjs/createAliasTokens.js +0 -17
- package/lib-commonjs/createAliasTokens.js.map +0 -1
- package/lib-commonjs/createDefaultTheme.d.ts +0 -4
- package/lib-commonjs/createDefaultTheme.d.ts.map +0 -1
- package/lib-commonjs/createDefaultTheme.js +0 -35
- package/lib-commonjs/createDefaultTheme.js.map +0 -1
- package/lib-commonjs/defaultColors.d.ts +0 -10
- package/lib-commonjs/defaultColors.d.ts.map +0 -1
- package/lib-commonjs/defaultColors.js +0 -269
- package/lib-commonjs/defaultColors.js.map +0 -1
- package/lib-commonjs/defaultTheme.d.ts +0 -6
- package/lib-commonjs/defaultTheme.d.ts.map +0 -1
- package/lib-commonjs/defaultTheme.js +0 -106
- package/lib-commonjs/defaultTheme.js.map +0 -1
- package/lib-commonjs/index.d.ts +0 -4
- package/lib-commonjs/index.d.ts.map +0 -1
- package/lib-commonjs/index.js +0 -11
- package/lib-commonjs/index.js.map +0 -1
- package/lib-commonjs/stockWebPalette.d.ts +0 -4
- package/lib-commonjs/stockWebPalette.d.ts.map +0 -1
- package/lib-commonjs/stockWebPalette.js +0 -101
- package/lib-commonjs/stockWebPalette.js.map +0 -1
- package/lib-commonjs/stockWebPalette.macos.d.ts +0 -4
- package/lib-commonjs/stockWebPalette.macos.d.ts.map +0 -1
- package/lib-commonjs/stockWebPalette.macos.js +0 -78
- package/lib-commonjs/stockWebPalette.macos.js.map +0 -1
- package/lib-commonjs/stockWebPalette.win32.d.ts +0 -4
- package/lib-commonjs/stockWebPalette.win32.d.ts.map +0 -1
- package/lib-commonjs/stockWebPalette.win32.js +0 -78
- package/lib-commonjs/stockWebPalette.win32.js.map +0 -1
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.createShadowAliasTokens = exports.createColorAliasTokens = void 0;
|
|
4
|
-
const framework_base_1 = require("@fluentui-react-native/framework-base");
|
|
5
|
-
const theme_tokens_1 = require("@fluentui-react-native/theme-tokens");
|
|
6
|
-
const theming_utils_1 = require("@fluentui-react-native/theming-utils");
|
|
7
|
-
function createColorAliasTokensWorker(mode) {
|
|
8
|
-
const aliasTokens = (0, theme_tokens_1.getAliasTokens)(mode);
|
|
9
|
-
return (0, theming_utils_1.mapPipelineToTheme)(aliasTokens);
|
|
10
|
-
}
|
|
11
|
-
exports.createColorAliasTokens = (0, framework_base_1.memoize)(createColorAliasTokensWorker);
|
|
12
|
-
function createShadowAliasTokensWorker(mode) {
|
|
13
|
-
const aliasTokens = (0, theme_tokens_1.getShadowTokens)(mode);
|
|
14
|
-
return (0, theming_utils_1.mapPipelineToShadow)(aliasTokens);
|
|
15
|
-
}
|
|
16
|
-
exports.createShadowAliasTokens = (0, framework_base_1.memoize)(createShadowAliasTokensWorker);
|
|
17
|
-
//# sourceMappingURL=createAliasTokens.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createAliasTokens.js","sourceRoot":"","sources":["../src/createAliasTokens.ts"],"names":[],"mappings":";;;AAAA,0EAAgE;AAChE,sEAAsF;AAEtF,wEAA+F;AAE/F,SAAS,4BAA4B,CAAC,IAAuB,EAAoB;IAC/E,MAAM,WAAW,GAAG,IAAA,6BAAc,EAAC,IAAI,CAAC,CAAC;IACzC,OAAO,IAAA,kCAAkB,EAAC,WAAW,CAAC,CAAC;AAAA,CACxC;AAEY,QAAA,sBAAsB,GAAG,IAAA,wBAAO,EAAC,4BAA4B,CAAC,CAAC;AAE5E,SAAS,6BAA6B,CAAC,IAAuB,EAAyB;IACrF,MAAM,WAAW,GAAG,IAAA,8BAAe,EAAC,IAAI,CAAC,CAAC;IAC1C,OAAO,IAAA,mCAAmB,EAAC,WAAW,CAAC,CAAC;AAAA,CACzC;AAEY,QAAA,uBAAuB,GAAG,IAAA,wBAAO,EAAC,6BAA6B,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createDefaultTheme.d.ts","sourceRoot":"","sources":["../src/createDefaultTheme.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,KAAK,EAAS,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAM9E,wBAAgB,kBAAkB,CAAC,OAAO,GAAE,YAAiB,GAAG,cAAc,CAwB7E"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.createDefaultTheme = createDefaultTheme;
|
|
7
|
-
const react_native_1 = require("react-native");
|
|
8
|
-
const theme_1 = require("@fluentui-react-native/theme");
|
|
9
|
-
const theming_utils_1 = require("@fluentui-react-native/theming-utils");
|
|
10
|
-
const assert_never_1 = __importDefault(require("assert-never"));
|
|
11
|
-
const defaultTheme_1 = require("./defaultTheme");
|
|
12
|
-
function createDefaultTheme(options = {}) {
|
|
13
|
-
const themeRef = new theme_1.ThemeReference({}, () => {
|
|
14
|
-
const current = (0, theming_utils_1.getCurrentAppearance)(options.appearance, options.defaultAppearance || 'light');
|
|
15
|
-
switch (current) {
|
|
16
|
-
case 'light':
|
|
17
|
-
return defaultTheme_1.defaultFluentTheme;
|
|
18
|
-
case 'dark':
|
|
19
|
-
return defaultTheme_1.defaultFluentDarkTheme;
|
|
20
|
-
case 'darkElevated':
|
|
21
|
-
return defaultTheme_1.defaultFluentDarkTheme;
|
|
22
|
-
case 'highContrast':
|
|
23
|
-
return defaultTheme_1.defaultFluentHighConstrastTheme;
|
|
24
|
-
default:
|
|
25
|
-
(0, assert_never_1.default)(current);
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
if (react_native_1.Appearance && options.appearance === 'dynamic') {
|
|
29
|
-
react_native_1.Appearance.addChangeListener(() => {
|
|
30
|
-
themeRef.invalidate();
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
return themeRef;
|
|
34
|
-
}
|
|
35
|
-
//# sourceMappingURL=createDefaultTheme.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createDefaultTheme.js","sourceRoot":"","sources":["../src/createDefaultTheme.ts"],"names":[],"mappings":";;;;;;AAAA,+CAA0C;AAE1C,wDAA8D;AAE9D,wEAA4E;AAC5E,gEAAuC;AAEvC,iDAA6G;AAE7G,4BAAmC,OAAO,GAAiB,EAAE,EAAkB;IAC7E,MAAM,QAAQ,GAAG,IAAI,sBAAc,CAAC,EAAW,EAAE,GAAG,EAAE,CAAC;QACrD,MAAM,OAAO,GAAG,IAAA,oCAAoB,EAAC,OAAO,CAAC,UAAU,EAAE,OAAO,CAAC,iBAAiB,IAAI,OAAO,CAAC,CAAC;QAC/F,QAAQ,OAAO,EAAE,CAAC;YAChB,KAAK,OAAO;gBACV,OAAO,iCAAkB,CAAC;YAC5B,KAAK,MAAM;gBACT,OAAO,qCAAsB,CAAC;YAChC,KAAK,cAAc;gBACjB,OAAO,qCAAsB,CAAC;YAChC,KAAK,cAAc;gBACjB,OAAO,8CAA+B,CAAC;YACzC;gBACE,IAAA,sBAAW,EAAC,OAAO,CAAC,CAAC;QACzB,CAAC;IAAA,CACF,CAAC,CAAC;IAEH,IAAI,yBAAU,IAAI,OAAO,CAAC,UAAU,KAAK,SAAS,EAAE,CAAC;QACnD,yBAAU,CAAC,iBAAiB,CAAC,GAAG,EAAE,CAAC;YACjC,QAAQ,CAAC,UAAU,EAAE,CAAC;QAAA,CACvB,CAAC,CAAC;IACL,CAAC;IAED,OAAO,QAAQ,CAAC;AAAA,CACjB"}
|
|
@@ -1,10 +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 getStockWebHCPalette(): ThemeColorDefinition;
|
|
10
|
-
//# sourceMappingURL=defaultColors.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"defaultColors.d.ts","sourceRoot":"","sources":["../src/defaultColors.ts"],"names":[],"mappings":"AAAA,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,CA2J1F;AAED,wBAAgB,oBAAoB,IAAI,oBAAoB,CA6J3D"}
|
|
@@ -1,269 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paletteFromFabricColors = paletteFromFabricColors;
|
|
4
|
-
exports.getStockWebHCPalette = getStockWebHCPalette;
|
|
5
|
-
const createAliasTokens_1 = require("./createAliasTokens");
|
|
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
|
-
function paletteFromFabricColors(p, isInverted) {
|
|
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
|
-
disabledBackground: isInverted ? p.neutralQuaternaryAlt : p.neutralLighter,
|
|
23
|
-
disabledText: p.neutralTertiary,
|
|
24
|
-
disabledBodyText: p.neutralTertiary,
|
|
25
|
-
focusBorder: p.neutralSecondary,
|
|
26
|
-
variantBorder: p.neutralLight,
|
|
27
|
-
errorText: !isInverted ? p.redDark : '#ff5f5f',
|
|
28
|
-
inputBorder: p.neutralTertiary,
|
|
29
|
-
inputBackground: p.white,
|
|
30
|
-
inputFocusBorderAlt: p.themePrimary,
|
|
31
|
-
inputText: p.neutralPrimary,
|
|
32
|
-
inputPlaceholderText: p.neutralSecondary,
|
|
33
|
-
buttonBackground: p.neutralLighter,
|
|
34
|
-
buttonBackgroundChecked: p.neutralTertiaryAlt,
|
|
35
|
-
buttonBackgroundHovered: p.neutralLight,
|
|
36
|
-
buttonBackgroundPressed: p.neutralLight,
|
|
37
|
-
buttonBackgroundDisabled: p.neutralLighter,
|
|
38
|
-
buttonBorder: p.neutralSecondaryAlt,
|
|
39
|
-
buttonText: isInverted ? p.black : p.neutralPrimary,
|
|
40
|
-
buttonTextHovered: isInverted ? p.neutralPrimary : p.neutralDark,
|
|
41
|
-
buttonTextChecked: p.neutralDark,
|
|
42
|
-
buttonTextPressed: p.neutralDark,
|
|
43
|
-
buttonTextDisabled: p.neutralTertiary,
|
|
44
|
-
buttonBorderDisabled: p.neutralLighter,
|
|
45
|
-
buttonBorderFocused: p.neutralSecondaryAlt,
|
|
46
|
-
primaryButtonBackground: p.themePrimary,
|
|
47
|
-
primaryButtonBackgroundHovered: p.themeDarkAlt,
|
|
48
|
-
primaryButtonBackgroundPressed: p.themeDark,
|
|
49
|
-
primaryButtonBackgroundDisabled: p.neutralLighter,
|
|
50
|
-
primaryButtonBorder: 'transparent',
|
|
51
|
-
primaryButtonBorderFocused: 'transparent',
|
|
52
|
-
primaryButtonText: p.white,
|
|
53
|
-
primaryButtonTextHovered: p.white,
|
|
54
|
-
primaryButtonTextPressed: p.white,
|
|
55
|
-
primaryButtonTextDisabled: p.neutralQuaternary,
|
|
56
|
-
accentButtonBackground: p.accent,
|
|
57
|
-
menuBackground: isInverted ? p.neutralLighter : p.white,
|
|
58
|
-
menuDivider: isInverted ? p.neutralTertiaryAlt : p.neutralTertiaryAlt,
|
|
59
|
-
menuIcon: isInverted ? p.themeDarkAlt : p.themePrimary,
|
|
60
|
-
menuItemBackgroundHovered: isInverted ? p.neutralQuaternaryAlt : p.neutralLighter,
|
|
61
|
-
menuItemBackgroundPressed: isInverted ? p.neutralQuaternary : p.neutralLight,
|
|
62
|
-
menuItemText: p.neutralPrimary,
|
|
63
|
-
menuItemTextHovered: p.neutralDark,
|
|
64
|
-
listHeaderBackgroundHovered: p.neutralLighter,
|
|
65
|
-
listHeaderBackgroundPressed: p.neutralLight,
|
|
66
|
-
actionLink: p.neutralPrimary,
|
|
67
|
-
link: p.themePrimary,
|
|
68
|
-
linkHovered: p.themeDarker,
|
|
69
|
-
linkPressed: p.themeDark,
|
|
70
|
-
// Control Color Tokens
|
|
71
|
-
defaultBackground: p.neutralLighter,
|
|
72
|
-
defaultBorder: p.neutralSecondaryAlt,
|
|
73
|
-
defaultContent: isInverted ? p.black : p.neutralPrimary,
|
|
74
|
-
defaultIcon: isInverted ? p.black : p.neutralPrimary,
|
|
75
|
-
defaultHoveredBackground: p.neutralLight,
|
|
76
|
-
defaultHoveredBorder: p.neutralSecondaryAlt,
|
|
77
|
-
defaultHoveredContent: isInverted ? p.neutralPrimary : p.neutralDark,
|
|
78
|
-
defaultHoveredIcon: isInverted ? p.neutralPrimary : p.neutralDark,
|
|
79
|
-
defaultFocusedBackground: p.neutralLight,
|
|
80
|
-
defaultFocusedBorder: p.neutralSecondaryAlt,
|
|
81
|
-
defaultFocusedContent: isInverted ? p.neutralPrimary : p.neutralDark,
|
|
82
|
-
defaultFocusedIcon: isInverted ? p.neutralPrimary : p.neutralDark,
|
|
83
|
-
defaultPressedBackground: p.neutralLight,
|
|
84
|
-
defaultPressedBorder: p.neutralSecondaryAlt,
|
|
85
|
-
defaultPressedContent: p.neutralDark,
|
|
86
|
-
defaultPressedIcon: p.neutralDark,
|
|
87
|
-
defaultDisabledBackground: p.neutralLighter,
|
|
88
|
-
defaultDisabledBorder: p.neutralLighter,
|
|
89
|
-
defaultDisabledContent: p.neutralTertiary,
|
|
90
|
-
defaultDisabledIcon: p.neutralTertiary,
|
|
91
|
-
ghostBackground: p.white,
|
|
92
|
-
ghostBorder: p.white,
|
|
93
|
-
ghostContent: p.neutralPrimary,
|
|
94
|
-
ghostIcon: p.neutralPrimary,
|
|
95
|
-
ghostHoveredBackground: p.neutralLighter,
|
|
96
|
-
ghostHoveredBorder: p.neutralLighter,
|
|
97
|
-
ghostHoveredContent: p.neutralDark,
|
|
98
|
-
ghostHoveredIcon: p.neutralDark,
|
|
99
|
-
ghostFocusedBackground: p.neutralLighter,
|
|
100
|
-
ghostFocusedBorder: p.neutralSecondaryAlt,
|
|
101
|
-
ghostFocusedContent: p.neutralDark,
|
|
102
|
-
ghostFocusedIcon: p.neutralDark,
|
|
103
|
-
ghostPressedBackground: p.neutralLight,
|
|
104
|
-
ghostPressedBorder: p.neutralLight,
|
|
105
|
-
ghostPressedContent: p.neutralDark,
|
|
106
|
-
ghostPressedIcon: p.neutralDark,
|
|
107
|
-
ghostDisabledBackground: p.white,
|
|
108
|
-
ghostDisabledBorder: p.white,
|
|
109
|
-
ghostDisabledContent: p.neutralTertiary,
|
|
110
|
-
ghostDisabledIcon: p.neutralTertiary,
|
|
111
|
-
brandedBackground: p.themePrimary,
|
|
112
|
-
brandedDisabledBorder: p.neutralLighter,
|
|
113
|
-
defaultCheckedBackground: p.neutralTertiaryAlt,
|
|
114
|
-
defaultCheckedContent: p.neutralDark,
|
|
115
|
-
defaultCheckedHoveredBackground: p.neutralLight,
|
|
116
|
-
defaultCheckedHoveredContent: isInverted ? p.neutralPrimary : p.neutralDark,
|
|
117
|
-
ghostCheckedBackground: p.neutralLight,
|
|
118
|
-
ghostCheckedContent: p.black,
|
|
119
|
-
ghostCheckedHoveredBackground: p.neutralLighter,
|
|
120
|
-
ghostCheckedHoveredContent: p.neutralDark,
|
|
121
|
-
ghostCheckedHoveredBorder: p.neutralDark,
|
|
122
|
-
ghostSecondaryContent: p.neutralSecondary,
|
|
123
|
-
ghostFocusedSecondaryContent: p.neutralSecondary,
|
|
124
|
-
ghostHoveredSecondaryContent: p.neutralSecondary,
|
|
125
|
-
ghostPressedSecondaryContent: p.neutralSecondary,
|
|
126
|
-
brandedSecondaryContent: p.neutralLighterAlt,
|
|
127
|
-
brandedFocusedSecondaryContent: p.neutralLighterAlt,
|
|
128
|
-
brandedHoveredSecondaryContent: p.neutralLighterAlt,
|
|
129
|
-
brandedPressedSecondaryContent: p.neutralLighterAlt,
|
|
130
|
-
defaultHoveredSecondaryContent: p.neutralTertiary,
|
|
131
|
-
defaultPressedSecondaryContent: p.neutralTertiary,
|
|
132
|
-
checkmarkColor: p.white,
|
|
133
|
-
checkboxBackground: p.themePrimary,
|
|
134
|
-
checkboxBackgroundDisabled: p.neutralLighter,
|
|
135
|
-
checkboxBorderColor: p.neutralSecondaryAlt,
|
|
136
|
-
personaActivityRing: p.white,
|
|
137
|
-
personaActivityGlow: p.themePrimary,
|
|
138
|
-
};
|
|
139
|
-
}
|
|
140
|
-
function getStockWebHCPalette() {
|
|
141
|
-
return {
|
|
142
|
-
background: '#000000',
|
|
143
|
-
bodyStandoutBackground: '#000000',
|
|
144
|
-
bodyFrameBackground: '#000000',
|
|
145
|
-
bodyFrameDivider: '#000000',
|
|
146
|
-
bodyText: '#ffffff',
|
|
147
|
-
bodyTextChecked: '#000000',
|
|
148
|
-
subText: '#ffffff',
|
|
149
|
-
bodyDivider: '#ffffff',
|
|
150
|
-
disabledBackground: '#000000',
|
|
151
|
-
disabledText: '#3ff23f',
|
|
152
|
-
disabledBodyText: '#3ff23f',
|
|
153
|
-
focusBorder: '#ffffff',
|
|
154
|
-
variantBorder: '#ffffff',
|
|
155
|
-
errorText: '#ffffff',
|
|
156
|
-
inputBorder: '#ffffff',
|
|
157
|
-
inputBackground: '#000000',
|
|
158
|
-
inputFocusBorderAlt: '#ffffff',
|
|
159
|
-
inputText: '#ffffff',
|
|
160
|
-
inputPlaceholderText: '#ffffff',
|
|
161
|
-
buttonBackground: '#000000',
|
|
162
|
-
buttonBackgroundChecked: '#1aebff',
|
|
163
|
-
buttonBackgroundHovered: '#1aebff',
|
|
164
|
-
buttonBackgroundPressed: '#1aebff',
|
|
165
|
-
buttonBackgroundDisabled: '#000000',
|
|
166
|
-
buttonBorder: '#ffffff',
|
|
167
|
-
buttonText: '#ffffff',
|
|
168
|
-
buttonTextHovered: '#000000',
|
|
169
|
-
buttonTextChecked: '#000000',
|
|
170
|
-
buttonTextPressed: '#000000',
|
|
171
|
-
buttonTextDisabled: '#3ff23f',
|
|
172
|
-
buttonBorderDisabled: '#3ff23f',
|
|
173
|
-
buttonBorderFocused: '#ffffff',
|
|
174
|
-
primaryButtonBackground: '#000000',
|
|
175
|
-
primaryButtonBackgroundHovered: '#1aebff',
|
|
176
|
-
primaryButtonBackgroundPressed: '#1aebff',
|
|
177
|
-
primaryButtonBackgroundDisabled: '#000000',
|
|
178
|
-
primaryButtonBorder: '#ffffff',
|
|
179
|
-
primaryButtonBorderFocused: '#ffffff',
|
|
180
|
-
primaryButtonText: '#ffffff',
|
|
181
|
-
primaryButtonTextHovered: '#000000',
|
|
182
|
-
primaryButtonTextPressed: '#000000',
|
|
183
|
-
primaryButtonTextDisabled: '#3ff23f',
|
|
184
|
-
accentButtonBackground: '#000000',
|
|
185
|
-
menuBackground: '#000000',
|
|
186
|
-
menuDivider: '#ffffff',
|
|
187
|
-
menuIcon: '#ffffff',
|
|
188
|
-
menuItemBackgroundHovered: '#1aebff',
|
|
189
|
-
menuItemBackgroundPressed: '#1aebff',
|
|
190
|
-
menuItemText: '#ffffff',
|
|
191
|
-
menuItemTextHovered: '#000000',
|
|
192
|
-
listHeaderBackgroundHovered: '#1aebff',
|
|
193
|
-
listHeaderBackgroundPressed: '#1aebff',
|
|
194
|
-
actionLink: '#ffff00',
|
|
195
|
-
link: '#ffff00',
|
|
196
|
-
linkHovered: '#ffffff',
|
|
197
|
-
linkPressed: '#ffffff',
|
|
198
|
-
// Control Color Tokens
|
|
199
|
-
defaultBackground: '#000000',
|
|
200
|
-
defaultBorder: '#ffffff',
|
|
201
|
-
defaultContent: '#ffffff',
|
|
202
|
-
defaultIcon: '#ffffff',
|
|
203
|
-
defaultHoveredBackground: '#1aebff',
|
|
204
|
-
defaultHoveredBorder: '#1aebff',
|
|
205
|
-
defaultHoveredContent: '#000000',
|
|
206
|
-
defaultHoveredIcon: '#000000',
|
|
207
|
-
defaultFocusedBackground: '#000000',
|
|
208
|
-
defaultFocusedBorder: '#ffffff',
|
|
209
|
-
defaultFocusedContent: '#ffffff',
|
|
210
|
-
defaultFocusedIcon: '#ffffff',
|
|
211
|
-
defaultPressedBackground: '#1aebff',
|
|
212
|
-
defaultPressedBorder: '#1aebff',
|
|
213
|
-
defaultPressedContent: '#000000',
|
|
214
|
-
defaultPressedIcon: '#000000',
|
|
215
|
-
defaultDisabledBackground: '#000000',
|
|
216
|
-
defaultDisabledBorder: '#3ff23f',
|
|
217
|
-
defaultDisabledContent: '#3ff23f',
|
|
218
|
-
defaultDisabledIcon: '#3ff23f',
|
|
219
|
-
ghostBackground: '#000000',
|
|
220
|
-
ghostBorder: '#000000',
|
|
221
|
-
ghostContent: '#ffffff',
|
|
222
|
-
ghostIcon: '#ffffff',
|
|
223
|
-
ghostHoveredBackground: '#1aebff',
|
|
224
|
-
ghostHoveredBorder: '#1aebff',
|
|
225
|
-
ghostHoveredContent: '#000000',
|
|
226
|
-
ghostHoveredIcon: '#000000',
|
|
227
|
-
ghostFocusedBackground: '#000000',
|
|
228
|
-
ghostFocusedBorder: '#ffffff',
|
|
229
|
-
ghostFocusedContent: '#ffffff',
|
|
230
|
-
ghostFocusedIcon: '#ffffff',
|
|
231
|
-
ghostPressedBackground: '#1aebff',
|
|
232
|
-
ghostPressedBorder: '#1aebff',
|
|
233
|
-
ghostPressedContent: '#000000',
|
|
234
|
-
ghostPressedIcon: '#000000',
|
|
235
|
-
ghostDisabledBackground: '#000000',
|
|
236
|
-
ghostDisabledBorder: '#000000',
|
|
237
|
-
ghostDisabledContent: '#3ff23f',
|
|
238
|
-
ghostDisabledIcon: '#3ff23f',
|
|
239
|
-
brandedBackground: '#000000',
|
|
240
|
-
brandedDisabledBorder: '#3ff23f',
|
|
241
|
-
defaultCheckedBackground: '#1aebff',
|
|
242
|
-
defaultCheckedContent: '#000000',
|
|
243
|
-
defaultCheckedHoveredBackground: '#1aebff',
|
|
244
|
-
defaultCheckedHoveredContent: '#000000',
|
|
245
|
-
ghostCheckedBackground: '#1aebff',
|
|
246
|
-
ghostCheckedContent: '#000000',
|
|
247
|
-
ghostCheckedHoveredBackground: '#1aebff',
|
|
248
|
-
ghostCheckedHoveredContent: '#000000',
|
|
249
|
-
ghostCheckedHoveredBorder: '#000000',
|
|
250
|
-
ghostSecondaryContent: '#ffffff',
|
|
251
|
-
ghostFocusedSecondaryContent: '#ffffff',
|
|
252
|
-
ghostHoveredSecondaryContent: '#000000',
|
|
253
|
-
ghostPressedSecondaryContent: '#000000',
|
|
254
|
-
brandedSecondaryContent: '#ffffff',
|
|
255
|
-
brandedFocusedSecondaryContent: '#ffffff',
|
|
256
|
-
brandedHoveredSecondaryContent: '#000000',
|
|
257
|
-
brandedPressedSecondaryContent: '#000000',
|
|
258
|
-
defaultHoveredSecondaryContent: '#000000',
|
|
259
|
-
defaultPressedSecondaryContent: '#000000',
|
|
260
|
-
checkmarkColor: '#ffffff',
|
|
261
|
-
checkboxBackground: '#000000',
|
|
262
|
-
checkboxBackgroundDisabled: '#000000',
|
|
263
|
-
checkboxBorderColor: '#ffffff',
|
|
264
|
-
personaActivityRing: '#ffffff',
|
|
265
|
-
personaActivityGlow: 'transparent', // glow probably doesn't make sense on HC
|
|
266
|
-
...(0, createAliasTokens_1.createColorAliasTokens)('highContrast'),
|
|
267
|
-
};
|
|
268
|
-
}
|
|
269
|
-
//# sourceMappingURL=defaultColors.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"defaultColors.js","sourceRoot":"","sources":["../src/defaultColors.ts"],"names":[],"mappings":";;;;AAEA,2DAA6D;AAE7D;;;;;GAKG;AACH,iCAAwC,CAAmB,EAAE,UAAoB,EAAW;IAC1F,OAAO;QACL,UAAU,EAAE,CAAC,CAAC,KAAK;QACnB,sBAAsB,EAAE,CAAC,CAAC,iBAAiB;QAC3C,mBAAmB,EAAE,CAAC,CAAC,KAAK;QAC5B,gBAAgB,EAAE,CAAC,CAAC,YAAY;QAChC,QAAQ,EAAE,CAAC,CAAC,cAAc;QAC1B,eAAe,EAAE,CAAC,CAAC,KAAK;Q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zC,8BAA8B,EAAE,SAAS;QACzC,8BAA8B,EAAE,SAAS;QAEzC,cAAc,EAAE,SAAS;QACzB,kBAAkB,EAAE,SAAS;QAC7B,0BAA0B,EAAE,SAAS;QACrC,mBAAmB,EAAE,SAAS;QAE9B,mBAAmB,EAAE,SAAS;QAC9B,mBAAmB,EAAE,aAAa,EAAE,yCAAyC;QAC7E,GAAG,IAAA,0CAAsB,EAAC,cAAc,CAAC;KAC1C,CAAC;AAAA,CACH"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { Theme, Spacing } from '@fluentui-react-native/theme-types';
|
|
2
|
-
export declare function defaultSpacing(): Spacing;
|
|
3
|
-
export declare const defaultFluentTheme: Theme;
|
|
4
|
-
export declare const defaultFluentDarkTheme: Theme;
|
|
5
|
-
export declare const defaultFluentHighConstrastTheme: Theme;
|
|
6
|
-
//# sourceMappingURL=defaultTheme.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"defaultTheme.d.ts","sourceRoot":"","sources":["../src/defaultTheme.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,KAAK,EAAc,OAAO,EAAkD,MAAM,oCAAoC,CAAC;AA8ErI,wBAAgB,cAAc,IAAI,OAAO,CAExC;AAED,eAAO,MAAM,kBAAkB,EAAE,KAOhC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,KAOpC,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,KAO7C,CAAC"}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultFluentHighConstrastTheme = exports.defaultFluentDarkTheme = exports.defaultFluentTheme = void 0;
|
|
4
|
-
exports.defaultSpacing = defaultSpacing;
|
|
5
|
-
const react_native_1 = require("react-native");
|
|
6
|
-
const theme_tokens_1 = require("@fluentui-react-native/theme-tokens");
|
|
7
|
-
const createAliasTokens_1 = require("./createAliasTokens");
|
|
8
|
-
const defaultColors_1 = require("./defaultColors");
|
|
9
|
-
const stockWebPalette_1 = require("./stockWebPalette");
|
|
10
|
-
function _defaultTypography() {
|
|
11
|
-
const defaultsDict = {
|
|
12
|
-
sizes: {
|
|
13
|
-
caption: theme_tokens_1.globalTokens.font.size100,
|
|
14
|
-
secondary: theme_tokens_1.globalTokens.font.size200,
|
|
15
|
-
body: theme_tokens_1.globalTokens.font.size300,
|
|
16
|
-
subheader: theme_tokens_1.globalTokens.font.size400,
|
|
17
|
-
header: theme_tokens_1.globalTokens.font.size500,
|
|
18
|
-
hero: theme_tokens_1.globalTokens.font.size700,
|
|
19
|
-
heroLarge: theme_tokens_1.globalTokens.font.size900,
|
|
20
|
-
},
|
|
21
|
-
weights: {
|
|
22
|
-
regular: theme_tokens_1.globalTokens.font.weight.regular,
|
|
23
|
-
semiBold: theme_tokens_1.globalTokens.font.weight.semibold,
|
|
24
|
-
},
|
|
25
|
-
families: {
|
|
26
|
-
primary: 'Segoe UI',
|
|
27
|
-
secondary: 'Segoe UI',
|
|
28
|
-
cursive: 'System',
|
|
29
|
-
monospace: 'System',
|
|
30
|
-
numeric: 'System',
|
|
31
|
-
sansSerif: 'System',
|
|
32
|
-
serif: 'System',
|
|
33
|
-
},
|
|
34
|
-
variants: {
|
|
35
|
-
captionStandard: { face: 'primary', size: 'caption', weight: 'regular' },
|
|
36
|
-
secondaryStandard: { face: 'primary', size: 'secondary', weight: 'regular' },
|
|
37
|
-
secondarySemibold: { face: 'primary', size: 'secondary', weight: 'semiBold' },
|
|
38
|
-
bodyStandard: { face: 'primary', size: 'body', weight: 'regular' },
|
|
39
|
-
bodySemibold: { face: 'primary', size: 'body', weight: 'semiBold' },
|
|
40
|
-
subheaderStandard: { face: 'primary', size: 'subheader', weight: 'regular' },
|
|
41
|
-
subheaderSemibold: { face: 'primary', size: 'subheader', weight: 'semiBold' },
|
|
42
|
-
headerStandard: { face: 'primary', size: 'header', weight: 'regular' },
|
|
43
|
-
headerSemibold: { face: 'primary', size: 'header', weight: 'semiBold' },
|
|
44
|
-
heroStandard: { face: 'primary', size: 'hero', weight: 'regular' },
|
|
45
|
-
heroSemibold: { face: 'primary', size: 'hero', weight: 'semiBold' },
|
|
46
|
-
heroLargeStandard: { face: 'primary', size: 'heroLarge', weight: 'regular' },
|
|
47
|
-
heroLargeSemibold: { face: 'primary', size: 'heroLarge', weight: 'semiBold' },
|
|
48
|
-
// mocked out
|
|
49
|
-
caption1: { face: 'primary', size: 'caption', weight: 'regular' },
|
|
50
|
-
caption1Strong: { face: 'primary', size: 'caption', weight: 'semiBold' },
|
|
51
|
-
body1: { face: 'primary', size: 'secondary', weight: 'regular' },
|
|
52
|
-
body1Strong: { face: 'primary', size: 'secondary', weight: 'semiBold' },
|
|
53
|
-
body2: { face: 'primary', size: 'body', weight: 'regular' },
|
|
54
|
-
body2Strong: { face: 'primary', size: 'body', weight: 'semiBold' },
|
|
55
|
-
subtitle1: { face: 'primary', size: 'header', weight: 'regular' },
|
|
56
|
-
subtitle1Strong: { face: 'primary', size: 'header', weight: 'semiBold' },
|
|
57
|
-
subtitle2: { face: 'primary', size: 'subheader', weight: 'regular' },
|
|
58
|
-
subtitle2Strong: { face: 'primary', size: 'subheader', weight: 'semiBold' },
|
|
59
|
-
title1: { face: 'primary', size: 'hero', weight: 'regular' },
|
|
60
|
-
title1Strong: { face: 'primary', size: 'hero', weight: 'semiBold' },
|
|
61
|
-
largeTitle: { face: 'primary', size: 'heroLarge', weight: 'regular' },
|
|
62
|
-
display: { face: 'primary', size: 'heroLarge', weight: 'semiBold' },
|
|
63
|
-
},
|
|
64
|
-
};
|
|
65
|
-
if (react_native_1.Platform.OS === 'macos' || react_native_1.Platform.OS === 'ios') {
|
|
66
|
-
const familiesDictApple = {
|
|
67
|
-
primary: 'System',
|
|
68
|
-
secondary: 'System',
|
|
69
|
-
cursive: 'System',
|
|
70
|
-
monospace: 'System',
|
|
71
|
-
numeric: 'System',
|
|
72
|
-
sansSerif: 'System',
|
|
73
|
-
serif: 'System',
|
|
74
|
-
};
|
|
75
|
-
defaultsDict.families = familiesDictApple;
|
|
76
|
-
}
|
|
77
|
-
return defaultsDict;
|
|
78
|
-
}
|
|
79
|
-
function defaultSpacing() {
|
|
80
|
-
return { s2: '4px', s1: '8px', m: '16px', l1: '20px', l2: '32px' };
|
|
81
|
-
}
|
|
82
|
-
exports.defaultFluentTheme = {
|
|
83
|
-
colors: (0, stockWebPalette_1.getStockWebPalette)(),
|
|
84
|
-
typography: _defaultTypography(),
|
|
85
|
-
spacing: defaultSpacing(),
|
|
86
|
-
shadows: (0, createAliasTokens_1.createShadowAliasTokens)('light'),
|
|
87
|
-
components: {},
|
|
88
|
-
host: { appearance: 'light' },
|
|
89
|
-
};
|
|
90
|
-
exports.defaultFluentDarkTheme = {
|
|
91
|
-
colors: (0, stockWebPalette_1.getStockWebDarkPalette)(),
|
|
92
|
-
typography: exports.defaultFluentTheme.typography,
|
|
93
|
-
shadows: (0, createAliasTokens_1.createShadowAliasTokens)('dark'),
|
|
94
|
-
spacing: exports.defaultFluentTheme.spacing,
|
|
95
|
-
components: {},
|
|
96
|
-
host: { appearance: 'dark' },
|
|
97
|
-
};
|
|
98
|
-
exports.defaultFluentHighConstrastTheme = {
|
|
99
|
-
colors: (0, defaultColors_1.getStockWebHCPalette)(),
|
|
100
|
-
typography: exports.defaultFluentTheme.typography,
|
|
101
|
-
shadows: (0, createAliasTokens_1.createShadowAliasTokens)('highContrast'),
|
|
102
|
-
spacing: exports.defaultFluentTheme.spacing,
|
|
103
|
-
components: {},
|
|
104
|
-
host: { appearance: 'highContrast' },
|
|
105
|
-
};
|
|
106
|
-
//# sourceMappingURL=defaultTheme.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"defaultTheme.js","sourceRoot":"","sources":["../src/defaultTheme.ts"],"names":[],"mappings":";;;;AAAA,+CAAwC;AAExC,sEAAmE;AAGnE,2DAA8D;AAC9D,mDAAuD;AACvD,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
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAC5E,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,sBAAsB,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"}
|
package/lib-commonjs/index.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.createAliasTokens = exports.createDefaultTheme = exports.defaultFluentDarkTheme = exports.defaultFluentTheme = void 0;
|
|
4
|
-
const defaultTheme_1 = require("./defaultTheme");
|
|
5
|
-
Object.defineProperty(exports, "defaultFluentTheme", { enumerable: true, get: function () { return defaultTheme_1.defaultFluentTheme; } });
|
|
6
|
-
Object.defineProperty(exports, "defaultFluentDarkTheme", { enumerable: true, get: function () { return defaultTheme_1.defaultFluentDarkTheme; } });
|
|
7
|
-
const createDefaultTheme_1 = require("./createDefaultTheme");
|
|
8
|
-
Object.defineProperty(exports, "createDefaultTheme", { enumerable: true, get: function () { return createDefaultTheme_1.createDefaultTheme; } });
|
|
9
|
-
const createAliasTokens_1 = require("./createAliasTokens");
|
|
10
|
-
Object.defineProperty(exports, "createAliasTokens", { enumerable: true, get: function () { return createAliasTokens_1.createColorAliasTokens; } });
|
|
11
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,iDAA4E;AAAnE,kHAAA,kBAAkB,OAAA;AAAE,sHAAA,sBAAsB,OAAA;AACnD,6DAA0D;AAAjD,wHAAA,kBAAkB,OAAA;AAC3B,2DAAkF;AAAzE,sHAAA,sBAAsB,OAAqB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stockWebPalette.d.ts","sourceRoot":"","sources":["../src/stockWebPalette.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAK/E,wBAAgB,kBAAkB,IAAI,oBAAoB,CA+CzD;AAED,wBAAgB,sBAAsB,IAAI,oBAAoB,CAiD7D"}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getStockWebPalette = getStockWebPalette;
|
|
4
|
-
exports.getStockWebDarkPalette = getStockWebDarkPalette;
|
|
5
|
-
/* eslint-disable @typescript-eslint/ban-ts-comment */
|
|
6
|
-
const theme_tokens_1 = require("@fluentui-react-native/theme-tokens");
|
|
7
|
-
const createAliasTokens_1 = require("./createAliasTokens");
|
|
8
|
-
const defaultColors_1 = require("./defaultColors");
|
|
9
|
-
function getStockWebPalette() {
|
|
10
|
-
return {
|
|
11
|
-
...(0, defaultColors_1.paletteFromFabricColors)({
|
|
12
|
-
black: theme_tokens_1.globalTokens.color.black,
|
|
13
|
-
neutralDark: '#201f1e',
|
|
14
|
-
neutralPrimary: '#323130',
|
|
15
|
-
neutralPrimaryAlt: '#3b3a39',
|
|
16
|
-
neutralSecondary: '#605e5c',
|
|
17
|
-
neutralSecondaryAlt: '#8a8886',
|
|
18
|
-
neutralTertiary: '#a19f9d',
|
|
19
|
-
neutralTertiaryAlt: '#c8c6c4',
|
|
20
|
-
neutralQuaternary: '#d2d0ce',
|
|
21
|
-
neutralQuaternaryAlt: '#e1dfdd',
|
|
22
|
-
neutralLight: '#edebe9',
|
|
23
|
-
neutralLighter: '#f3f2f1',
|
|
24
|
-
neutralLighterAlt: '#faf9f8',
|
|
25
|
-
white: theme_tokens_1.globalTokens.color.white,
|
|
26
|
-
// Shared Colors
|
|
27
|
-
red: theme_tokens_1.globalTokens.color.red.primary,
|
|
28
|
-
redDark: theme_tokens_1.globalTokens.color.burgundy.primary,
|
|
29
|
-
// @ts-expect-error
|
|
30
|
-
accent: theme_tokens_1.globalTokens.color.brand80,
|
|
31
|
-
blackTranslucent40: 'rgba(0,0,0,.4)',
|
|
32
|
-
// Colors to be deprecated
|
|
33
|
-
// @ts-expect-error
|
|
34
|
-
themeDarker: theme_tokens_1.globalTokens.color.brand40,
|
|
35
|
-
// @ts-expect-error
|
|
36
|
-
themeDark: theme_tokens_1.globalTokens.color.brand60,
|
|
37
|
-
// @ts-expect-error
|
|
38
|
-
themeDarkAlt: theme_tokens_1.globalTokens.color.brand70,
|
|
39
|
-
// @ts-expect-error
|
|
40
|
-
themePrimary: theme_tokens_1.globalTokens.color.brand80,
|
|
41
|
-
// @ts-expect-error
|
|
42
|
-
themeSecondary: theme_tokens_1.globalTokens.color.brand90,
|
|
43
|
-
// @ts-expect-error
|
|
44
|
-
themeTertiary: theme_tokens_1.globalTokens.color.brand120,
|
|
45
|
-
// @ts-expect-error
|
|
46
|
-
themeLight: theme_tokens_1.globalTokens.color.brand140,
|
|
47
|
-
// @ts-expect-error
|
|
48
|
-
themeLighter: theme_tokens_1.globalTokens.color.brand150,
|
|
49
|
-
// @ts-expect-error
|
|
50
|
-
themeLighterAlt: theme_tokens_1.globalTokens.color.brand160,
|
|
51
|
-
}),
|
|
52
|
-
...(0, createAliasTokens_1.createColorAliasTokens)('light'),
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
function getStockWebDarkPalette() {
|
|
56
|
-
return {
|
|
57
|
-
...(0, defaultColors_1.paletteFromFabricColors)({
|
|
58
|
-
// colors taken from fluentui DarkCustomizations.ts
|
|
59
|
-
black: theme_tokens_1.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: theme_tokens_1.globalTokens.color.red.primary,
|
|
74
|
-
// @ts-expect-error
|
|
75
|
-
accent: theme_tokens_1.globalTokens.color.brand40,
|
|
76
|
-
redDark: '#f1707b',
|
|
77
|
-
blackTranslucent40: 'rgba(0,0,0,.4)',
|
|
78
|
-
// Colors to be deprecated
|
|
79
|
-
// @ts-expect-error
|
|
80
|
-
themeDarker: theme_tokens_1.globalTokens.color.brand110,
|
|
81
|
-
// @ts-expect-error
|
|
82
|
-
themeDark: theme_tokens_1.globalTokens.color.brand100,
|
|
83
|
-
// @ts-expect-error
|
|
84
|
-
themeDarkAlt: theme_tokens_1.globalTokens.color.brand100,
|
|
85
|
-
// @ts-expect-error
|
|
86
|
-
themePrimary: theme_tokens_1.globalTokens.color.brand90,
|
|
87
|
-
// @ts-expect-error
|
|
88
|
-
themeSecondary: theme_tokens_1.globalTokens.color.brand90,
|
|
89
|
-
// @ts-expect-error
|
|
90
|
-
themeTertiary: theme_tokens_1.globalTokens.color.brand60,
|
|
91
|
-
// @ts-expect-error
|
|
92
|
-
themeLight: theme_tokens_1.globalTokens.color.brand50,
|
|
93
|
-
// @ts-expect-error
|
|
94
|
-
themeLighter: theme_tokens_1.globalTokens.color.brand40,
|
|
95
|
-
// @ts-expect-error
|
|
96
|
-
themeLighterAlt: theme_tokens_1.globalTokens.color.brand30,
|
|
97
|
-
}, true),
|
|
98
|
-
...(0, createAliasTokens_1.createColorAliasTokens)('dark'),
|
|
99
|
-
};
|
|
100
|
-
}
|
|
101
|
-
//# sourceMappingURL=stockWebPalette.js.map
|