@fluentui-react-native/default-theme 0.27.16 → 0.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +4 -1
  3. package/lib/__tests__/default-theme.test.js +1 -14
  4. package/lib/__tests__/default-theme.test.js.map +1 -1
  5. package/lib/__tests__/defaultThemes.test.android.js +8 -3
  6. package/lib/__tests__/defaultThemes.test.android.js.map +1 -1
  7. package/lib/__tests__/defaultThemes.test.ios.js +8 -3
  8. package/lib/__tests__/defaultThemes.test.ios.js.map +1 -1
  9. package/lib/__tests__/defaultThemes.test.macos.js +8 -3
  10. package/lib/__tests__/defaultThemes.test.macos.js.map +1 -1
  11. package/lib/__tests__/defaultThemes.test.win32.js +8 -3
  12. package/lib/__tests__/defaultThemes.test.win32.js.map +1 -1
  13. package/lib/__tests__/defaultThemes.test.windows.js +8 -3
  14. package/lib/__tests__/defaultThemes.test.windows.js.map +1 -1
  15. package/lib/createDefaultTheme.d.ts +4 -0
  16. package/lib/createDefaultTheme.d.ts.map +1 -1
  17. package/lib/createDefaultTheme.js +11 -22
  18. package/lib/createDefaultTheme.js.map +1 -1
  19. package/lib/index.d.ts +1 -2
  20. package/lib/index.d.ts.map +1 -1
  21. package/lib/index.js +1 -2
  22. package/lib/index.js.map +1 -1
  23. package/package.json +2 -4
  24. package/src/__tests__/__snapshots__/default-theme.test.ts.snap +2520 -3042
  25. package/src/__tests__/__snapshots__/defaultThemes.test.android.ts.snap +1927 -692
  26. package/src/__tests__/__snapshots__/defaultThemes.test.ios.ts.snap +2027 -606
  27. package/src/__tests__/__snapshots__/defaultThemes.test.macos.ts.snap +1654 -1374
  28. package/src/__tests__/__snapshots__/defaultThemes.test.win32.ts.snap +4087 -1383
  29. package/src/__tests__/__snapshots__/defaultThemes.test.windows.ts.snap +4054 -1350
  30. package/src/__tests__/default-theme.test.ts +2 -18
  31. package/src/__tests__/defaultThemes.test.android.ts +8 -3
  32. package/src/__tests__/defaultThemes.test.ios.ts +8 -3
  33. package/src/__tests__/defaultThemes.test.macos.ts +8 -3
  34. package/src/__tests__/defaultThemes.test.win32.ts +8 -3
  35. package/src/__tests__/defaultThemes.test.windows.ts +8 -3
  36. package/src/createDefaultTheme.ts +12 -28
  37. package/src/index.ts +1 -2
  38. package/lib/createAliasTokens.d.ts +0 -3
  39. package/lib/createAliasTokens.d.ts.map +0 -1
  40. package/lib/createAliasTokens.js +0 -14
  41. package/lib/createAliasTokens.js.map +0 -1
  42. package/lib/defaultColors.d.ts +0 -10
  43. package/lib/defaultColors.d.ts.map +0 -1
  44. package/lib/defaultColors.js +0 -265
  45. package/lib/defaultColors.js.map +0 -1
  46. package/lib/defaultTheme.d.ts +0 -4
  47. package/lib/defaultTheme.d.ts.map +0 -1
  48. package/lib/defaultTheme.js +0 -17
  49. package/lib/defaultTheme.js.map +0 -1
  50. package/lib/stockWebPalette.d.ts +0 -4
  51. package/lib/stockWebPalette.d.ts.map +0 -1
  52. package/lib/stockWebPalette.js +0 -98
  53. package/lib/stockWebPalette.js.map +0 -1
  54. package/lib/stockWebPalette.macos.d.ts +0 -4
  55. package/lib/stockWebPalette.macos.d.ts.map +0 -1
  56. package/lib/stockWebPalette.macos.js +0 -75
  57. package/lib/stockWebPalette.macos.js.map +0 -1
  58. package/lib/stockWebPalette.win32.d.ts +0 -4
  59. package/lib/stockWebPalette.win32.d.ts.map +0 -1
  60. package/lib/stockWebPalette.win32.js +0 -75
  61. package/lib/stockWebPalette.win32.js.map +0 -1
  62. package/src/createAliasTokens.ts +0 -18
  63. package/src/defaultColors.ts +0 -325
  64. package/src/defaultTheme.ts +0 -19
  65. package/src/stockWebPalette.macos.ts +0 -82
  66. package/src/stockWebPalette.ts +0 -107
  67. package/src/stockWebPalette.win32.ts +0 -82
@@ -1,8 +1,6 @@
1
- import type { ThemeOptions, AppearanceOptions } from '@fluentui-react-native/design/theming';
1
+ import type { ThemeOptions } from '@fluentui-react-native/design/theming';
2
2
 
3
- import { createColorAliasTokens, createShadowAliasTokens } from '../createAliasTokens';
4
- import { createDefaultTheme } from '../createDefaultTheme';
5
- import { defaultFluentTheme, defaultFluentDarkTheme } from '../defaultTheme';
3
+ import { createDefaultTheme, defaultFluentTheme, defaultFluentDarkTheme } from '../index';
6
4
 
7
5
  const defaultThemeOptions: ThemeOptions[][] = [
8
6
  [{ appearance: 'light', defaultAppearance: 'light' }],
@@ -12,8 +10,6 @@ const defaultThemeOptions: ThemeOptions[][] = [
12
10
  [{ appearance: 'dynamic', defaultAppearance: 'light' }],
13
11
  ];
14
12
 
15
- const appearanceOptions: AppearanceOptions[] = ['light', 'dark', 'highContrast'];
16
-
17
13
  beforeAll(() => {
18
14
  jest.mock('react-native/Libraries/Utilities/Appearance', () => ({
19
15
  getColorScheme: () => 'dark',
@@ -57,15 +53,3 @@ describe('createDefaultTheme test', () => {
57
53
  expect(reference.theme.host.appearance).toBe('dark');
58
54
  });
59
55
  });
60
-
61
- describe('createColorAliasTokens test', () => {
62
- it.concurrent.each(appearanceOptions)('appearanceOptions - %s', async (appearanceOption: AppearanceOptions) => {
63
- expect(createColorAliasTokens(appearanceOption)).toMatchSnapshot();
64
- });
65
- });
66
-
67
- describe('createShadowAliasTokens test', () => {
68
- it.concurrent.each(appearanceOptions)('appearanceOptions - %s', async (appearanceOption: AppearanceOptions) => {
69
- expect(createShadowAliasTokens(appearanceOption)).toMatchSnapshot();
70
- });
71
- });
@@ -1,4 +1,4 @@
1
- import { defaultFluentTheme, defaultFluentDarkTheme, defaultFluentHighConstrastTheme } from '../defaultTheme';
1
+ import { createDefaultTheme, defaultFluentDarkTheme, defaultFluentTheme } from '../index';
2
2
 
3
3
  it('defaultFluentTheme', () => {
4
4
  expect(defaultFluentTheme).toMatchSnapshot();
@@ -8,6 +8,11 @@ it('defaultFluentDarkTheme', () => {
8
8
  expect(defaultFluentDarkTheme).toMatchSnapshot();
9
9
  });
10
10
 
11
- it('defaultFluentHighConstrastTheme', () => {
12
- expect(defaultFluentHighConstrastTheme).toMatchSnapshot();
11
+ it.each(['light', 'dark'] as const)('high contrast %s theme', (colorScheme) => {
12
+ const theme = createDefaultTheme({ appearance: 'highContrast' }).resolveTheme({
13
+ colorScheme,
14
+ contrast: 'highContrast',
15
+ interfaceLevel: 'base',
16
+ });
17
+ expect(theme).toMatchSnapshot();
13
18
  });
@@ -1,4 +1,4 @@
1
- import { defaultFluentTheme, defaultFluentDarkTheme, defaultFluentHighConstrastTheme } from '../defaultTheme';
1
+ import { createDefaultTheme, defaultFluentDarkTheme, defaultFluentTheme } from '../index';
2
2
 
3
3
  it('defaultFluentTheme', () => {
4
4
  expect(defaultFluentTheme).toMatchSnapshot();
@@ -8,6 +8,11 @@ it('defaultFluentDarkTheme', () => {
8
8
  expect(defaultFluentDarkTheme).toMatchSnapshot();
9
9
  });
10
10
 
11
- it('defaultFluentHighConstrastTheme', () => {
12
- expect(defaultFluentHighConstrastTheme).toMatchSnapshot();
11
+ it.each(['light', 'dark'] as const)('high contrast %s theme', (colorScheme) => {
12
+ const theme = createDefaultTheme({ appearance: 'highContrast' }).resolveTheme({
13
+ colorScheme,
14
+ contrast: 'highContrast',
15
+ interfaceLevel: 'base',
16
+ });
17
+ expect(theme).toMatchSnapshot();
13
18
  });
@@ -1,4 +1,4 @@
1
- import { defaultFluentTheme, defaultFluentDarkTheme, defaultFluentHighConstrastTheme } from '../defaultTheme';
1
+ import { createDefaultTheme, defaultFluentDarkTheme, defaultFluentTheme } from '../index';
2
2
 
3
3
  it('defaultFluentTheme', () => {
4
4
  expect(defaultFluentTheme).toMatchSnapshot();
@@ -8,6 +8,11 @@ it('defaultFluentDarkTheme', () => {
8
8
  expect(defaultFluentDarkTheme).toMatchSnapshot();
9
9
  });
10
10
 
11
- it('defaultFluentHighConstrastTheme', () => {
12
- expect(defaultFluentHighConstrastTheme).toMatchSnapshot();
11
+ it.each(['light', 'dark'] as const)('high contrast %s theme', (colorScheme) => {
12
+ const theme = createDefaultTheme({ appearance: 'highContrast' }).resolveTheme({
13
+ colorScheme,
14
+ contrast: 'highContrast',
15
+ interfaceLevel: 'base',
16
+ });
17
+ expect(theme).toMatchSnapshot();
13
18
  });
@@ -1,4 +1,4 @@
1
- import { defaultFluentTheme, defaultFluentDarkTheme, defaultFluentHighConstrastTheme } from '../defaultTheme';
1
+ import { createDefaultTheme, defaultFluentDarkTheme, defaultFluentTheme } from '../index';
2
2
 
3
3
  it('defaultFluentTheme', () => {
4
4
  expect(defaultFluentTheme).toMatchSnapshot();
@@ -8,6 +8,11 @@ it('defaultFluentDarkTheme', () => {
8
8
  expect(defaultFluentDarkTheme).toMatchSnapshot();
9
9
  });
10
10
 
11
- it('defaultFluentHighConstrastTheme', () => {
12
- expect(defaultFluentHighConstrastTheme).toMatchSnapshot();
11
+ it.each(['light', 'dark'] as const)('high contrast %s theme', (colorScheme) => {
12
+ const theme = createDefaultTheme({ appearance: 'highContrast' }).resolveTheme({
13
+ colorScheme,
14
+ contrast: 'highContrast',
15
+ interfaceLevel: 'base',
16
+ });
17
+ expect(theme).toMatchSnapshot();
13
18
  });
@@ -1,4 +1,4 @@
1
- import { defaultFluentTheme, defaultFluentDarkTheme, defaultFluentHighConstrastTheme } from '../defaultTheme';
1
+ import { createDefaultTheme, defaultFluentDarkTheme, defaultFluentTheme } from '../index';
2
2
 
3
3
  it('defaultFluentTheme', () => {
4
4
  expect(defaultFluentTheme).toMatchSnapshot();
@@ -8,6 +8,11 @@ it('defaultFluentDarkTheme', () => {
8
8
  expect(defaultFluentDarkTheme).toMatchSnapshot();
9
9
  });
10
10
 
11
- it('defaultFluentHighConstrastTheme', () => {
12
- expect(defaultFluentHighConstrastTheme).toMatchSnapshot();
11
+ it.each(['light', 'dark'] as const)('high contrast %s theme', (colorScheme) => {
12
+ const theme = createDefaultTheme({ appearance: 'highContrast' }).resolveTheme({
13
+ colorScheme,
14
+ contrast: 'highContrast',
15
+ interfaceLevel: 'base',
16
+ });
17
+ expect(theme).toMatchSnapshot();
13
18
  });
@@ -1,37 +1,21 @@
1
- import { ThemeReference } from '@fluentui-react-native/design/theming';
1
+ import { appearanceOptionsFromLegacy, resolveThemeAppearance, ThemeReference } from '@fluentui-react-native/design/theming';
2
2
  import type { Theme, ThemeOptions } from '@fluentui-react-native/design/theming';
3
- import {
4
- appearanceOptionFromResolved,
5
- appearanceOptionsFromLegacy,
6
- getCurrentAppearance,
7
- resolveThemeAppearance,
8
- } from '@fluentui-react-native/design/theming';
9
- import assertNever from 'assert-never';
10
-
11
- import { defaultFluentDarkTheme, defaultFluentHighConstrastTheme, defaultFluentTheme } from './defaultTheme';
3
+ import { fluentTheme } from '@fluentui-react-native/design/themes';
12
4
 
5
+ /**
6
+ * Create a theme reference for legacy theme options. It resolves the design package's Fluent themes, including the
7
+ * high-contrast themes, for the requested appearance.
8
+ */
13
9
  export function createDefaultTheme(options: ThemeOptions = {}): ThemeReference {
10
+ const getAppearance = () => appearanceOptionsFromLegacy(options.appearance ?? options.defaultAppearance ?? 'light');
11
+ const getFallbackAppearance = () => resolveThemeAppearance(appearanceOptionsFromLegacy(options.defaultAppearance ?? 'light')).resolved;
14
12
  return new ThemeReference({
15
13
  base: {} as Theme,
16
- getAppearance: () => appearanceOptionsFromLegacy(options.appearance ?? options.defaultAppearance ?? 'light'),
17
- getFallbackAppearance: () => resolveThemeAppearance(appearanceOptionsFromLegacy(options.defaultAppearance ?? 'light')).resolved,
14
+ getAppearance,
15
+ getFallbackAppearance,
18
16
  recipes: [
19
- (_theme, resolvedAppearance) => {
20
- const current = resolvedAppearance
21
- ? appearanceOptionFromResolved(resolvedAppearance)
22
- : getCurrentAppearance(options.appearance, options.defaultAppearance ?? 'light');
23
- switch (current) {
24
- case 'light':
25
- return defaultFluentTheme;
26
- case 'dark':
27
- case 'darkElevated':
28
- return defaultFluentDarkTheme;
29
- case 'highContrast':
30
- return defaultFluentHighConstrastTheme;
31
- default:
32
- assertNever(current);
33
- }
34
- },
17
+ (_theme, appearance) =>
18
+ fluentTheme.resolveTheme(appearance ?? resolveThemeAppearance(getAppearance(), undefined, getFallbackAppearance()).resolved),
35
19
  ],
36
20
  });
37
21
  }
package/src/index.ts CHANGED
@@ -1,3 +1,2 @@
1
- export { defaultFluentTheme, defaultFluentDarkTheme } from './defaultTheme';
1
+ export { fluentLightTheme as defaultFluentTheme, fluentDarkTheme as defaultFluentDarkTheme } from '@fluentui-react-native/design/themes';
2
2
  export { createDefaultTheme } from './createDefaultTheme';
3
- export { createColorAliasTokens as createAliasTokens } from './createAliasTokens';
@@ -1,3 +0,0 @@
1
- export declare const createColorAliasTokens: any;
2
- export declare const createShadowAliasTokens: any;
3
- //# sourceMappingURL=createAliasTokens.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createAliasTokens.d.ts","sourceRoot":"","sources":["../src/createAliasTokens.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,sBAAsB,KAAwC,CAAC;AAO5E,eAAO,MAAM,uBAAuB,KAAyC,CAAC"}
@@ -1,14 +0,0 @@
1
- import { memoize } from '@fluentui-react-native/framework-base';
2
- import { getAliasTokens, getShadowTokens } from '@fluentui-react-native/design/tokens/legacy';
3
- import { mapPipelineToShadow, mapPipelineToTheme } from '@fluentui-react-native/design/theming';
4
- function createColorAliasTokensWorker(mode) {
5
- const aliasTokens = getAliasTokens(mode);
6
- return mapPipelineToTheme(aliasTokens);
7
- }
8
- export const createColorAliasTokens = memoize(createColorAliasTokensWorker);
9
- function createShadowAliasTokensWorker(mode) {
10
- const aliasTokens = getShadowTokens(mode);
11
- return mapPipelineToShadow(aliasTokens);
12
- }
13
- export const createShadowAliasTokens = memoize(createShadowAliasTokensWorker);
14
- //# sourceMappingURL=createAliasTokens.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createAliasTokens.js","sourceRoot":"","sources":["../src/createAliasTokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAE9F,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAEhG,SAAS,4BAA4B,CAAC,IAAuB;IAC3D,MAAM,WAAW,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;IACzC,OAAO,kBAAkB,CAAC,WAAW,CAAC,CAAC;AACzC,CAAC;AAED,MAAM,CAAC,MAAM,sBAAsB,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAAC;AAE5E,SAAS,6BAA6B,CAAC,IAAuB;IAC5D,MAAM,WAAW,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;IAC1C,OAAO,mBAAmB,CAAC,WAAW,CAAC,CAAC;AAC1C,CAAC;AAED,MAAM,CAAC,MAAM,uBAAuB,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAAC"}
@@ -1,10 +0,0 @@
1
- import type { Palette, FabricWebPalette, ThemeColorDefinition } from '@fluentui-react-native/design/theming';
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,uCAAuC,CAAC;AAI7G;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,gBAAgB,EAAE,UAAU,CAAC,EAAE,OAAO,GAAG,OAAO,CA2J1F;AAED,wBAAgB,oBAAoB,IAAI,oBAAoB,CA6J3D"}
@@ -1,265 +0,0 @@
1
- import { createColorAliasTokens } from './createAliasTokens';
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 function paletteFromFabricColors(p, isInverted) {
9
- return {
10
- background: p.white,
11
- bodyStandoutBackground: p.neutralLighterAlt,
12
- bodyFrameBackground: p.white,
13
- bodyFrameDivider: p.neutralLight,
14
- bodyText: p.neutralPrimary,
15
- bodyTextChecked: p.black,
16
- subText: p.neutralSecondary,
17
- bodyDivider: p.neutralLight,
18
- disabledBackground: isInverted ? p.neutralQuaternaryAlt : p.neutralLighter,
19
- disabledText: p.neutralTertiary,
20
- disabledBodyText: p.neutralTertiary,
21
- focusBorder: p.neutralSecondary,
22
- variantBorder: p.neutralLight,
23
- errorText: !isInverted ? p.redDark : '#ff5f5f',
24
- inputBorder: p.neutralTertiary,
25
- inputBackground: p.white,
26
- inputFocusBorderAlt: p.themePrimary,
27
- inputText: p.neutralPrimary,
28
- inputPlaceholderText: p.neutralSecondary,
29
- buttonBackground: p.neutralLighter,
30
- buttonBackgroundChecked: p.neutralTertiaryAlt,
31
- buttonBackgroundHovered: p.neutralLight,
32
- buttonBackgroundPressed: p.neutralLight,
33
- buttonBackgroundDisabled: p.neutralLighter,
34
- buttonBorder: p.neutralSecondaryAlt,
35
- buttonText: isInverted ? p.black : p.neutralPrimary,
36
- buttonTextHovered: isInverted ? p.neutralPrimary : p.neutralDark,
37
- buttonTextChecked: p.neutralDark,
38
- buttonTextPressed: p.neutralDark,
39
- buttonTextDisabled: p.neutralTertiary,
40
- buttonBorderDisabled: p.neutralLighter,
41
- buttonBorderFocused: p.neutralSecondaryAlt,
42
- primaryButtonBackground: p.themePrimary,
43
- primaryButtonBackgroundHovered: p.themeDarkAlt,
44
- primaryButtonBackgroundPressed: p.themeDark,
45
- primaryButtonBackgroundDisabled: p.neutralLighter,
46
- primaryButtonBorder: 'transparent',
47
- primaryButtonBorderFocused: 'transparent',
48
- primaryButtonText: p.white,
49
- primaryButtonTextHovered: p.white,
50
- primaryButtonTextPressed: p.white,
51
- primaryButtonTextDisabled: p.neutralQuaternary,
52
- accentButtonBackground: p.accent,
53
- menuBackground: isInverted ? p.neutralLighter : p.white,
54
- menuDivider: isInverted ? p.neutralTertiaryAlt : p.neutralTertiaryAlt,
55
- menuIcon: isInverted ? p.themeDarkAlt : p.themePrimary,
56
- menuItemBackgroundHovered: isInverted ? p.neutralQuaternaryAlt : p.neutralLighter,
57
- menuItemBackgroundPressed: isInverted ? p.neutralQuaternary : p.neutralLight,
58
- menuItemText: p.neutralPrimary,
59
- menuItemTextHovered: p.neutralDark,
60
- listHeaderBackgroundHovered: p.neutralLighter,
61
- listHeaderBackgroundPressed: p.neutralLight,
62
- actionLink: p.neutralPrimary,
63
- link: p.themePrimary,
64
- linkHovered: p.themeDarker,
65
- linkPressed: p.themeDark,
66
- // Control Color Tokens
67
- defaultBackground: p.neutralLighter,
68
- defaultBorder: p.neutralSecondaryAlt,
69
- defaultContent: isInverted ? p.black : p.neutralPrimary,
70
- defaultIcon: isInverted ? p.black : p.neutralPrimary,
71
- defaultHoveredBackground: p.neutralLight,
72
- defaultHoveredBorder: p.neutralSecondaryAlt,
73
- defaultHoveredContent: isInverted ? p.neutralPrimary : p.neutralDark,
74
- defaultHoveredIcon: isInverted ? p.neutralPrimary : p.neutralDark,
75
- defaultFocusedBackground: p.neutralLight,
76
- defaultFocusedBorder: p.neutralSecondaryAlt,
77
- defaultFocusedContent: isInverted ? p.neutralPrimary : p.neutralDark,
78
- defaultFocusedIcon: isInverted ? p.neutralPrimary : p.neutralDark,
79
- defaultPressedBackground: p.neutralLight,
80
- defaultPressedBorder: p.neutralSecondaryAlt,
81
- defaultPressedContent: p.neutralDark,
82
- defaultPressedIcon: p.neutralDark,
83
- defaultDisabledBackground: p.neutralLighter,
84
- defaultDisabledBorder: p.neutralLighter,
85
- defaultDisabledContent: p.neutralTertiary,
86
- defaultDisabledIcon: p.neutralTertiary,
87
- ghostBackground: p.white,
88
- ghostBorder: p.white,
89
- ghostContent: p.neutralPrimary,
90
- ghostIcon: p.neutralPrimary,
91
- ghostHoveredBackground: p.neutralLighter,
92
- ghostHoveredBorder: p.neutralLighter,
93
- ghostHoveredContent: p.neutralDark,
94
- ghostHoveredIcon: p.neutralDark,
95
- ghostFocusedBackground: p.neutralLighter,
96
- ghostFocusedBorder: p.neutralSecondaryAlt,
97
- ghostFocusedContent: p.neutralDark,
98
- ghostFocusedIcon: p.neutralDark,
99
- ghostPressedBackground: p.neutralLight,
100
- ghostPressedBorder: p.neutralLight,
101
- ghostPressedContent: p.neutralDark,
102
- ghostPressedIcon: p.neutralDark,
103
- ghostDisabledBackground: p.white,
104
- ghostDisabledBorder: p.white,
105
- ghostDisabledContent: p.neutralTertiary,
106
- ghostDisabledIcon: p.neutralTertiary,
107
- brandedBackground: p.themePrimary,
108
- brandedDisabledBorder: p.neutralLighter,
109
- defaultCheckedBackground: p.neutralTertiaryAlt,
110
- defaultCheckedContent: p.neutralDark,
111
- defaultCheckedHoveredBackground: p.neutralLight,
112
- defaultCheckedHoveredContent: isInverted ? p.neutralPrimary : p.neutralDark,
113
- ghostCheckedBackground: p.neutralLight,
114
- ghostCheckedContent: p.black,
115
- ghostCheckedHoveredBackground: p.neutralLighter,
116
- ghostCheckedHoveredContent: p.neutralDark,
117
- ghostCheckedHoveredBorder: p.neutralDark,
118
- ghostSecondaryContent: p.neutralSecondary,
119
- ghostFocusedSecondaryContent: p.neutralSecondary,
120
- ghostHoveredSecondaryContent: p.neutralSecondary,
121
- ghostPressedSecondaryContent: p.neutralSecondary,
122
- brandedSecondaryContent: p.neutralLighterAlt,
123
- brandedFocusedSecondaryContent: p.neutralLighterAlt,
124
- brandedHoveredSecondaryContent: p.neutralLighterAlt,
125
- brandedPressedSecondaryContent: p.neutralLighterAlt,
126
- defaultHoveredSecondaryContent: p.neutralTertiary,
127
- defaultPressedSecondaryContent: p.neutralTertiary,
128
- checkmarkColor: p.white,
129
- checkboxBackground: p.themePrimary,
130
- checkboxBackgroundDisabled: p.neutralLighter,
131
- checkboxBorderColor: p.neutralSecondaryAlt,
132
- personaActivityRing: p.white,
133
- personaActivityGlow: p.themePrimary,
134
- };
135
- }
136
- export function getStockWebHCPalette() {
137
- return {
138
- background: '#000000',
139
- bodyStandoutBackground: '#000000',
140
- bodyFrameBackground: '#000000',
141
- bodyFrameDivider: '#000000',
142
- bodyText: '#ffffff',
143
- bodyTextChecked: '#000000',
144
- subText: '#ffffff',
145
- bodyDivider: '#ffffff',
146
- disabledBackground: '#000000',
147
- disabledText: '#3ff23f',
148
- disabledBodyText: '#3ff23f',
149
- focusBorder: '#ffffff',
150
- variantBorder: '#ffffff',
151
- errorText: '#ffffff',
152
- inputBorder: '#ffffff',
153
- inputBackground: '#000000',
154
- inputFocusBorderAlt: '#ffffff',
155
- inputText: '#ffffff',
156
- inputPlaceholderText: '#ffffff',
157
- buttonBackground: '#000000',
158
- buttonBackgroundChecked: '#1aebff',
159
- buttonBackgroundHovered: '#1aebff',
160
- buttonBackgroundPressed: '#1aebff',
161
- buttonBackgroundDisabled: '#000000',
162
- buttonBorder: '#ffffff',
163
- buttonText: '#ffffff',
164
- buttonTextHovered: '#000000',
165
- buttonTextChecked: '#000000',
166
- buttonTextPressed: '#000000',
167
- buttonTextDisabled: '#3ff23f',
168
- buttonBorderDisabled: '#3ff23f',
169
- buttonBorderFocused: '#ffffff',
170
- primaryButtonBackground: '#000000',
171
- primaryButtonBackgroundHovered: '#1aebff',
172
- primaryButtonBackgroundPressed: '#1aebff',
173
- primaryButtonBackgroundDisabled: '#000000',
174
- primaryButtonBorder: '#ffffff',
175
- primaryButtonBorderFocused: '#ffffff',
176
- primaryButtonText: '#ffffff',
177
- primaryButtonTextHovered: '#000000',
178
- primaryButtonTextPressed: '#000000',
179
- primaryButtonTextDisabled: '#3ff23f',
180
- accentButtonBackground: '#000000',
181
- menuBackground: '#000000',
182
- menuDivider: '#ffffff',
183
- menuIcon: '#ffffff',
184
- menuItemBackgroundHovered: '#1aebff',
185
- menuItemBackgroundPressed: '#1aebff',
186
- menuItemText: '#ffffff',
187
- menuItemTextHovered: '#000000',
188
- listHeaderBackgroundHovered: '#1aebff',
189
- listHeaderBackgroundPressed: '#1aebff',
190
- actionLink: '#ffff00',
191
- link: '#ffff00',
192
- linkHovered: '#ffffff',
193
- linkPressed: '#ffffff',
194
- // Control Color Tokens
195
- defaultBackground: '#000000',
196
- defaultBorder: '#ffffff',
197
- defaultContent: '#ffffff',
198
- defaultIcon: '#ffffff',
199
- defaultHoveredBackground: '#1aebff',
200
- defaultHoveredBorder: '#1aebff',
201
- defaultHoveredContent: '#000000',
202
- defaultHoveredIcon: '#000000',
203
- defaultFocusedBackground: '#000000',
204
- defaultFocusedBorder: '#ffffff',
205
- defaultFocusedContent: '#ffffff',
206
- defaultFocusedIcon: '#ffffff',
207
- defaultPressedBackground: '#1aebff',
208
- defaultPressedBorder: '#1aebff',
209
- defaultPressedContent: '#000000',
210
- defaultPressedIcon: '#000000',
211
- defaultDisabledBackground: '#000000',
212
- defaultDisabledBorder: '#3ff23f',
213
- defaultDisabledContent: '#3ff23f',
214
- defaultDisabledIcon: '#3ff23f',
215
- ghostBackground: '#000000',
216
- ghostBorder: '#000000',
217
- ghostContent: '#ffffff',
218
- ghostIcon: '#ffffff',
219
- ghostHoveredBackground: '#1aebff',
220
- ghostHoveredBorder: '#1aebff',
221
- ghostHoveredContent: '#000000',
222
- ghostHoveredIcon: '#000000',
223
- ghostFocusedBackground: '#000000',
224
- ghostFocusedBorder: '#ffffff',
225
- ghostFocusedContent: '#ffffff',
226
- ghostFocusedIcon: '#ffffff',
227
- ghostPressedBackground: '#1aebff',
228
- ghostPressedBorder: '#1aebff',
229
- ghostPressedContent: '#000000',
230
- ghostPressedIcon: '#000000',
231
- ghostDisabledBackground: '#000000',
232
- ghostDisabledBorder: '#000000',
233
- ghostDisabledContent: '#3ff23f',
234
- ghostDisabledIcon: '#3ff23f',
235
- brandedBackground: '#000000',
236
- brandedDisabledBorder: '#3ff23f',
237
- defaultCheckedBackground: '#1aebff',
238
- defaultCheckedContent: '#000000',
239
- defaultCheckedHoveredBackground: '#1aebff',
240
- defaultCheckedHoveredContent: '#000000',
241
- ghostCheckedBackground: '#1aebff',
242
- ghostCheckedContent: '#000000',
243
- ghostCheckedHoveredBackground: '#1aebff',
244
- ghostCheckedHoveredContent: '#000000',
245
- ghostCheckedHoveredBorder: '#000000',
246
- ghostSecondaryContent: '#ffffff',
247
- ghostFocusedSecondaryContent: '#ffffff',
248
- ghostHoveredSecondaryContent: '#000000',
249
- ghostPressedSecondaryContent: '#000000',
250
- brandedSecondaryContent: '#ffffff',
251
- brandedFocusedSecondaryContent: '#ffffff',
252
- brandedHoveredSecondaryContent: '#000000',
253
- brandedPressedSecondaryContent: '#000000',
254
- defaultHoveredSecondaryContent: '#000000',
255
- defaultPressedSecondaryContent: '#000000',
256
- checkmarkColor: '#ffffff',
257
- checkboxBackground: '#000000',
258
- checkboxBackgroundDisabled: '#000000',
259
- checkboxBorderColor: '#ffffff',
260
- personaActivityRing: '#ffffff',
261
- personaActivityGlow: 'transparent', // glow probably doesn't make sense on HC
262
- ...createColorAliasTokens('highContrast'),
263
- };
264
- }
265
- //# sourceMappingURL=defaultColors.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"defaultColors.js","sourceRoot":"","sources":["../src/defaultColors.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE7D;;;;;GAKG;AACH,MAAM,UAAU,uBAAuB,CAAC,CAAmB,EAAE,UAAoB;IAC/E,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,EAA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AS;QACzC,8BAA8B,EAAE,SAAS;QAEzC,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,sBAAsB,CAAC,cAAc,CAAC;KAC1C,CAAC;AACJ,CAAC"}
@@ -1,4 +0,0 @@
1
- export declare const defaultFluentTheme: import("@fluentui-react-native/design/theming").Theme;
2
- export declare const defaultFluentDarkTheme: import("@fluentui-react-native/design/theming").Theme;
3
- export declare const defaultFluentHighConstrastTheme: import("@fluentui-react-native/design/theming").Theme;
4
- //# sourceMappingURL=defaultTheme.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"defaultTheme.d.ts","sourceRoot":"","sources":["../src/defaultTheme.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,uDAI7B,CAAC;AAEH,eAAO,MAAM,sBAAsB,uDAIjC,CAAC;AAEH,eAAO,MAAM,+BAA+B,uDAI1C,CAAC"}
@@ -1,17 +0,0 @@
1
- import { getDefaultLegacyTheme } from '@fluentui-react-native/design/theming/compat/defaults';
2
- export const defaultFluentTheme = getDefaultLegacyTheme({
3
- colorScheme: 'light',
4
- contrast: 'standard',
5
- interfaceLevel: 'base',
6
- });
7
- export const defaultFluentDarkTheme = getDefaultLegacyTheme({
8
- colorScheme: 'dark',
9
- contrast: 'standard',
10
- interfaceLevel: 'base',
11
- });
12
- export const defaultFluentHighConstrastTheme = getDefaultLegacyTheme({
13
- colorScheme: 'dark',
14
- contrast: 'highContrast',
15
- interfaceLevel: 'base',
16
- });
17
- //# sourceMappingURL=defaultTheme.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"defaultTheme.js","sourceRoot":"","sources":["../src/defaultTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,uDAAuD,CAAC;AAE9F,MAAM,CAAC,MAAM,kBAAkB,GAAG,qBAAqB,CAAC;IACtD,WAAW,EAAE,OAAO;IACpB,QAAQ,EAAE,UAAU;IACpB,cAAc,EAAE,MAAM;CACvB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,sBAAsB,GAAG,qBAAqB,CAAC;IAC1D,WAAW,EAAE,MAAM;IACnB,QAAQ,EAAE,UAAU;IACpB,cAAc,EAAE,MAAM;CACvB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,+BAA+B,GAAG,qBAAqB,CAAC;IACnE,WAAW,EAAE,MAAM;IACnB,QAAQ,EAAE,cAAc;IACxB,cAAc,EAAE,MAAM;CACvB,CAAC,CAAC"}
@@ -1,4 +0,0 @@
1
- import type { ThemeColorDefinition } from '@fluentui-react-native/design/theming';
2
- export declare function getStockWebPalette(): ThemeColorDefinition;
3
- export declare function getStockWebDarkPalette(): ThemeColorDefinition;
4
- //# sourceMappingURL=stockWebPalette.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"stockWebPalette.d.ts","sourceRoot":"","sources":["../src/stockWebPalette.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAMlF,wBAAgB,kBAAkB,IAAI,oBAAoB,CA+CzD;AAED,wBAAgB,sBAAsB,IAAI,oBAAoB,CAiD7D"}