@fluentui/react-migration-v8-v9 1.0.3 → 1.0.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/CHANGELOG.json +22 -1
- package/CHANGELOG.md +12 -2
- package/lib/components/Button/ActionButtonShim.js +18 -0
- package/lib/components/Button/ActionButtonShim.js.map +1 -0
- package/lib/components/Button/ButtonShim.js +25 -0
- package/lib/components/Button/ButtonShim.js.map +1 -0
- package/lib/components/Button/CommandButtonShim.js +5 -0
- package/lib/components/Button/CommandButtonShim.js.map +1 -0
- package/lib/components/Button/CompoundButtonShim.js +21 -0
- package/lib/components/Button/CompoundButtonShim.js.map +1 -0
- package/lib/components/Button/DefaultButtonShim.js +12 -0
- package/lib/components/Button/DefaultButtonShim.js.map +1 -0
- package/lib/components/Button/MenuButtonShim.js +23 -0
- package/lib/components/Button/MenuButtonShim.js.map +1 -0
- package/lib/components/Button/PrimaryButtonShim.js +13 -0
- package/lib/components/Button/PrimaryButtonShim.js.map +1 -0
- package/lib/components/Button/ToggleButtonShim.js +20 -0
- package/lib/components/Button/ToggleButtonShim.js.map +1 -0
- package/lib/components/Button/index.js +10 -0
- package/lib/components/Button/index.js.map +1 -0
- package/lib/components/Button/shimButtonProps.js +24 -0
- package/lib/components/Button/shimButtonProps.js.map +1 -0
- package/lib/components/Menu/MenuShim.js +49 -0
- package/lib/components/Menu/MenuShim.js.map +1 -0
- package/lib/components/Menu/index.js +3 -0
- package/lib/components/Menu/index.js.map +1 -0
- package/lib/components/Menu/shimMenuProps.js +33 -0
- package/lib/components/Menu/shimMenuProps.js.map +1 -0
- package/lib/components/Stack/StackItemShim.js +177 -0
- package/lib/components/Stack/StackItemShim.js.map +1 -0
- package/lib/components/Stack/StackShim.js +260 -0
- package/lib/components/Stack/StackShim.js.map +1 -0
- package/lib/components/Stack/index.js +3 -0
- package/lib/components/Stack/index.js.map +1 -0
- package/lib/components/Stack/stackUtils.js +168 -0
- package/lib/components/Stack/stackUtils.js.map +1 -0
- package/lib/components/Theme/index.js +5 -0
- package/lib/components/Theme/index.js.map +1 -0
- package/lib/components/Theme/themeDuplicates.js +859 -0
- package/lib/components/Theme/themeDuplicates.js.map +1 -0
- package/lib/components/Theme/v8ThemeShim.js +313 -0
- package/lib/components/Theme/v8ThemeShim.js.map +1 -0
- package/lib/components/Theme/v9BrandVariantsShim.js +77 -0
- package/lib/components/Theme/v9BrandVariantsShim.js.map +1 -0
- package/lib/components/Theme/v9ThemeShim.js +195 -0
- package/lib/components/Theme/v9ThemeShim.js.map +1 -0
- package/lib/index.js +5 -0
- package/lib/index.js.map +1 -0
- package/lib/stories/DefaultButtonShim/index.js +51 -0
- package/lib/stories/DefaultButtonShim/index.js.map +1 -0
- package/lib-amd/components/Button/ActionButtonShim.js +14 -0
- package/lib-amd/components/Button/ActionButtonShim.js.map +1 -0
- package/lib-amd/components/Button/ButtonShim.js +17 -0
- package/lib-amd/components/Button/ButtonShim.js.map +1 -0
- package/lib-amd/components/Button/CommandButtonShim.js +7 -0
- package/lib-amd/components/Button/CommandButtonShim.js.map +1 -0
- package/lib-amd/components/Button/CompoundButtonShim.js +15 -0
- package/lib-amd/components/Button/CompoundButtonShim.js.map +1 -0
- package/lib-amd/components/Button/DefaultButtonShim.js +12 -0
- package/lib-amd/components/Button/DefaultButtonShim.js.map +1 -0
- package/lib-amd/components/Button/MenuButtonShim.js +20 -0
- package/lib-amd/components/Button/MenuButtonShim.js.map +1 -0
- package/lib-amd/components/Button/PrimaryButtonShim.js +12 -0
- package/lib-amd/components/Button/PrimaryButtonShim.js.map +1 -0
- package/lib-amd/components/Button/ToggleButtonShim.js +14 -0
- package/lib-amd/components/Button/ToggleButtonShim.js.map +1 -0
- package/lib-amd/components/Button/index.js +14 -0
- package/lib-amd/components/Button/index.js.map +1 -0
- package/lib-amd/components/Button/shimButtonProps.js +19 -0
- package/lib-amd/components/Button/shimButtonProps.js.map +1 -0
- package/lib-amd/components/Menu/MenuShim.js +42 -0
- package/lib-amd/components/Menu/MenuShim.js.map +1 -0
- package/lib-amd/components/Menu/index.js +7 -0
- package/lib-amd/components/Menu/index.js.map +1 -0
- package/lib-amd/components/Menu/shimMenuProps.js +30 -0
- package/lib-amd/components/Menu/shimMenuProps.js.map +1 -0
- package/lib-amd/components/Stack/StackItemShim.js +150 -0
- package/lib-amd/components/Stack/StackItemShim.js.map +1 -0
- package/lib-amd/components/Stack/StackShim.js +242 -0
- package/lib-amd/components/Stack/StackShim.js.map +1 -0
- package/lib-amd/components/Stack/index.js +7 -0
- package/lib-amd/components/Stack/index.js.map +1 -0
- package/lib-amd/components/Stack/stackUtils.js +168 -0
- package/lib-amd/components/Stack/stackUtils.js.map +1 -0
- package/lib-amd/components/Theme/index.js +9 -0
- package/lib-amd/components/Theme/index.js.map +1 -0
- package/lib-amd/components/Theme/themeDuplicates.js +864 -0
- package/lib-amd/components/Theme/themeDuplicates.js.map +1 -0
- package/lib-amd/components/Theme/v8ThemeShim.js +140 -0
- package/lib-amd/components/Theme/v8ThemeShim.js.map +1 -0
- package/lib-amd/components/Theme/v9BrandVariantsShim.js +75 -0
- package/lib-amd/components/Theme/v9BrandVariantsShim.js.map +1 -0
- package/lib-amd/components/Theme/v9ThemeShim.js +188 -0
- package/lib-amd/components/Theme/v9ThemeShim.js.map +1 -0
- package/lib-amd/index.js +38 -0
- package/lib-amd/index.js.map +1 -0
- package/lib-amd/stories/DefaultButtonShim/index.js +44 -0
- package/lib-amd/stories/DefaultButtonShim/index.js.map +1 -0
- package/lib-commonjs/components/Button/ActionButtonShim.js +28 -0
- package/lib-commonjs/components/Button/ActionButtonShim.js.map +1 -0
- package/lib-commonjs/components/Button/ButtonShim.js +37 -0
- package/lib-commonjs/components/Button/ButtonShim.js.map +1 -0
- package/lib-commonjs/components/Button/CommandButtonShim.js +19 -0
- package/lib-commonjs/components/Button/CommandButtonShim.js.map +1 -0
- package/lib-commonjs/components/Button/CompoundButtonShim.js +31 -0
- package/lib-commonjs/components/Button/CompoundButtonShim.js.map +1 -0
- package/lib-commonjs/components/Button/DefaultButtonShim.js +21 -0
- package/lib-commonjs/components/Button/DefaultButtonShim.js.map +1 -0
- package/lib-commonjs/components/Button/MenuButtonShim.js +32 -0
- package/lib-commonjs/components/Button/MenuButtonShim.js.map +1 -0
- package/lib-commonjs/components/Button/PrimaryButtonShim.js +22 -0
- package/lib-commonjs/components/Button/PrimaryButtonShim.js.map +1 -0
- package/lib-commonjs/components/Button/ToggleButtonShim.js +30 -0
- package/lib-commonjs/components/Button/ToggleButtonShim.js.map +1 -0
- package/lib-commonjs/components/Button/index.js +26 -0
- package/lib-commonjs/components/Button/index.js.map +1 -0
- package/lib-commonjs/components/Button/shimButtonProps.js +35 -0
- package/lib-commonjs/components/Button/shimButtonProps.js.map +1 -0
- package/lib-commonjs/components/Menu/MenuShim.js +58 -0
- package/lib-commonjs/components/Menu/MenuShim.js.map +1 -0
- package/lib-commonjs/components/Menu/index.js +12 -0
- package/lib-commonjs/components/Menu/index.js.map +1 -0
- package/lib-commonjs/components/Menu/shimMenuProps.js +53 -0
- package/lib-commonjs/components/Menu/shimMenuProps.js.map +1 -0
- package/lib-commonjs/components/Stack/StackItemShim.js +188 -0
- package/lib-commonjs/components/Stack/StackItemShim.js.map +1 -0
- package/lib-commonjs/components/Stack/StackShim.js +273 -0
- package/lib-commonjs/components/Stack/StackShim.js.map +1 -0
- package/lib-commonjs/components/Stack/index.js +12 -0
- package/lib-commonjs/components/Stack/index.js.map +1 -0
- package/lib-commonjs/components/Stack/stackUtils.js +182 -0
- package/lib-commonjs/components/Stack/stackUtils.js.map +1 -0
- package/lib-commonjs/components/Theme/index.js +16 -0
- package/lib-commonjs/components/Theme/index.js.map +1 -0
- package/lib-commonjs/components/Theme/themeDuplicates.js +865 -0
- package/lib-commonjs/components/Theme/themeDuplicates.js.map +1 -0
- package/lib-commonjs/components/Theme/v8ThemeShim.js +324 -0
- package/lib-commonjs/components/Theme/v8ThemeShim.js.map +1 -0
- package/lib-commonjs/components/Theme/v9BrandVariantsShim.js +87 -0
- package/lib-commonjs/components/Theme/v9BrandVariantsShim.js.map +1 -0
- package/lib-commonjs/components/Theme/v9ThemeShim.js +206 -0
- package/lib-commonjs/components/Theme/v9ThemeShim.js.map +1 -0
- package/lib-commonjs/index.js +211 -0
- package/lib-commonjs/index.js.map +1 -0
- package/lib-commonjs/stories/DefaultButtonShim/index.js +64 -0
- package/lib-commonjs/stories/DefaultButtonShim/index.js.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"themeDuplicates.js","sourceRoot":"../src/","sources":["components/Theme/themeDuplicates.ts"],"names":[],"mappings":"AAAA;;;GAGG;;;;;IAwJU,QAAA,IAAI,GAA0B;QACzC,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE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,OAAO,SAAA;QACP,IAAI,MAAA;QACJ,KAAK,OAAA;QACL,IAAI,MAAA;QACJ,MAAM,QAAA;QACN,QAAQ,UAAA;QACR,MAAM,QAAA;QACN,QAAQ,UAAA;KACT,CAAC;IAEW,QAAA,QAAQ,GAAkB;QACrC,EAAE,EAAE,SAAS;QACb,EAAE,EAAE,SAAS;QACb,EAAE,EAAE,SAAS;QACb,EAAE,EAAE,SAAS;QACb,EAAE,EAAE,SAAS;QACb,EAAE,EAAE,SAAS;QACb,EAAE,EAAE,SAAS;QACb,EAAE,EAAE,SAAS;QACb,EAAE,EAAE,SAAS;QACb,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;KACf,CAAC","sourcesContent":["/**\n * These colors have been copied here from react-theme because they are not exported from that package.\n * They are necessary to build the theme shims.\n */\n\nimport type { BrandVariants } from '@fluentui/react-components';\n\n/**\n * Possible color variant values\n */\nexport type ColorVariants = {\n shade50: string;\n shade40: string;\n shade30: string;\n shade20: string;\n shade10: string;\n primary: string;\n tint10: string;\n tint20: string;\n tint30: string;\n tint40: string;\n tint50: string;\n tint60: string;\n};\n\n/**\n * All the global shared colors and their shade/tint variants\n */\nexport type GlobalSharedColors = {\n darkRed: ColorVariants;\n burgundy: ColorVariants;\n cranberry: ColorVariants;\n red: ColorVariants;\n darkOrange: ColorVariants;\n bronze: ColorVariants;\n pumpkin: ColorVariants;\n orange: ColorVariants;\n peach: ColorVariants;\n marigold: ColorVariants;\n yellow: ColorVariants;\n gold: ColorVariants;\n brass: ColorVariants;\n brown: ColorVariants;\n darkBrown: ColorVariants;\n lime: ColorVariants;\n forest: ColorVariants;\n seafoam: ColorVariants;\n lightGreen: ColorVariants;\n green: ColorVariants;\n darkGreen: ColorVariants;\n lightTeal: ColorVariants;\n teal: ColorVariants;\n darkTeal: ColorVariants;\n cyan: ColorVariants;\n steel: ColorVariants;\n lightBlue: ColorVariants;\n blue: ColorVariants;\n royalBlue: ColorVariants;\n darkBlue: ColorVariants;\n cornflower: ColorVariants;\n navy: ColorVariants;\n lavender: ColorVariants;\n purple: ColorVariants;\n darkPurple: ColorVariants;\n orchid: ColorVariants;\n grape: ColorVariants;\n berry: ColorVariants;\n lilac: ColorVariants;\n pink: ColorVariants;\n hotPink: ColorVariants;\n magenta: ColorVariants;\n plum: ColorVariants;\n beige: ColorVariants;\n mink: ColorVariants;\n silver: ColorVariants;\n platinum: ColorVariants;\n anchor: ColorVariants;\n charcoal: ColorVariants;\n};\n\nexport type TextAlignment =\n | 'inherit'\n | 'initial'\n | 'revert'\n | 'unset'\n | 'center'\n | 'end'\n | 'start'\n | 'justify'\n | 'left'\n | 'match-parent'\n | 'right';\n\nexport type TextAlignments = {\n start: TextAlignment;\n center: TextAlignment;\n end: TextAlignment;\n justify: TextAlignment;\n};\n\nexport type Greys =\n | 0\n | 2\n | 4\n | 6\n | 8\n | 10\n | 12\n | 14\n | 16\n | 18\n | 20\n | 22\n | 24\n | 26\n | 28\n | 30\n | 32\n | 34\n | 36\n | 38\n | 40\n | 42\n | 44\n | 46\n | 48\n | 50\n | 52\n | 54\n | 56\n | 58\n | 60\n | 62\n | 64\n | 66\n | 68\n | 70\n | 72\n | 74\n | 76\n | 78\n | 80\n | 82\n | 84\n | 86\n | 88\n | 90\n | 92\n | 94\n | 96\n | 98\n | 100;\n\nexport type AlphaColors = 5 | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90;\n\nexport const grey: Record<Greys, string> = {\n '0': '#000000',\n '2': '#050505',\n '4': '#0a0a0a',\n '6': '#0f0f0f',\n '8': '#141414',\n '10': '#1a1a1a',\n '12': '#1f1f1f',\n '14': '#242424',\n '16': '#292929',\n '18': '#2e2e2e',\n '20': '#333333',\n '22': '#383838',\n '24': '#3d3d3d',\n '26': '#424242',\n '28': '#474747',\n '30': '#4d4d4d',\n '32': '#525252',\n '34': '#575757',\n '36': '#5c5c5c',\n '38': '#616161',\n '40': '#666666',\n '42': '#6b6b6b',\n '44': '#707070',\n '46': '#757575',\n '48': '#7a7a7a',\n '50': '#808080',\n '52': '#858585',\n '54': '#8a8a8a',\n '56': '#8f8f8f',\n '58': '#949494',\n '60': '#999999',\n '62': '#9e9e9e',\n '64': '#a3a3a3',\n '66': '#a8a8a8',\n '68': '#adadad',\n '70': '#b3b3b3',\n '72': '#b8b8b8',\n '74': '#bdbdbd',\n '76': '#c2c2c2',\n '78': '#c7c7c7',\n '80': '#cccccc',\n '82': '#d1d1d1',\n '84': '#d6d6d6',\n '86': '#dbdbdb',\n '88': '#e0e0e0',\n '90': '#e6e6e6',\n '92': '#ebebeb',\n '94': '#f0f0f0',\n '96': '#f5f5f5',\n '98': '#fafafa',\n '100': '#ffffff',\n};\n\nexport const whiteAlpha: Record<AlphaColors, string> = {\n '5': 'rgba(255, 255, 255, 0.05)',\n '10': 'rgba(255, 255, 255, 0.1)',\n '20': 'rgba(255, 255, 255, 0.2)',\n '30': 'rgba(255, 255, 255, 0.3)',\n '40': 'rgba(255, 255, 255, 0.4)',\n '50': 'rgba(255, 255, 255, 0.5)',\n '60': 'rgba(255, 255, 255, 0.6)',\n '70': 'rgba(255, 255, 255, 0.7)',\n '80': 'rgba(255, 255, 255, 0.8)',\n '90': 'rgba(255, 255, 255, 0.9)',\n};\n\nexport const blackAlpha: Record<AlphaColors, string> = {\n '5': 'rgba(0, 0, 0, 0.05)',\n '10': 'rgba(0, 0, 0, 0.1)',\n '20': 'rgba(0, 0, 0, 0.2)',\n '30': 'rgba(0, 0, 0, 0.3)',\n '40': 'rgba(0, 0, 0, 0.4)',\n '50': 'rgba(0, 0, 0, 0.5)',\n '60': 'rgba(0, 0, 0, 0.6)',\n '70': 'rgba(0, 0, 0, 0.7)',\n '80': 'rgba(0, 0, 0, 0.8)',\n '90': 'rgba(0, 0, 0, 0.9)',\n};\n\nexport const grey14Alpha: Record<AlphaColors, string> = {\n '5': 'rgba(36, 36, 36, 0.05)',\n '10': 'rgba(36, 36, 36, 0.1)',\n '20': 'rgba(36, 36, 36, 0.2)',\n '30': 'rgba(36, 36, 36, 0.3)',\n '40': 'rgba(36, 36, 36, 0.4)',\n '50': 'rgba(36, 36, 36, 0.5)',\n '60': 'rgba(36, 36, 36, 0.6)',\n '70': 'rgba(36, 36, 36, 0.7)',\n '80': 'rgba(36, 36, 36, 0.8)',\n '90': 'rgba(36, 36, 36, 0.9)',\n};\n\nexport const white = '#ffffff';\n\nexport const black = '#000000';\n\nexport const hcHyperlink = '#ffff00';\n\nexport const hcHighlight = '#1aebff';\n\nexport const hcDisabled = '#3ff23f';\n\nexport const hcCanvas = '#000000';\n\nexport const hcCanvasText = '#ffffff';\n\nexport const hcHighlightText = '#000000';\n\nexport const hcButtonText = '#000000';\n\nexport const hcButtonFace = '#ffffff';\n\nconst darkRed: ColorVariants = {\n shade50: '#130204',\n shade40: '#230308',\n shade30: '#420610',\n shade20: '#590815',\n shade10: '#690a19',\n primary: '#750b1c',\n tint10: '#861b2c',\n tint20: '#962f3f',\n tint30: '#ac4f5e',\n tint40: '#d69ca5',\n tint50: '#e9c7cd',\n tint60: '#f9f0f2',\n};\n\nconst burgundy: ColorVariants = {\n shade50: '#1a0607',\n shade40: '#310b0d',\n shade30: '#5c1519',\n shade20: '#7d1d21',\n shade10: '#942228',\n primary: '#a4262c',\n tint10: '#af393e',\n tint20: '#ba4d52',\n tint30: '#c86c70',\n tint40: '#e4afb2',\n tint50: '#f0d3d4',\n tint60: '#fbf4f4',\n};\n\nconst cranberry: ColorVariants = {\n shade50: '#200205',\n shade40: '#3b0509',\n shade30: '#6e0811',\n shade20: '#960b18',\n shade10: '#b10e1c',\n primary: '#c50f1f',\n tint10: '#cc2635',\n tint20: '#d33f4c',\n tint30: '#dc626d',\n tint40: '#eeacb2',\n tint50: '#f6d1d5',\n tint60: '#fdf3f4',\n};\n\nconst red: ColorVariants = {\n shade50: '#210809',\n shade40: '#3f1011',\n shade30: '#751d1f',\n shade20: '#9f282b',\n shade10: '#bc2f32',\n primary: '#d13438',\n tint10: '#d7494c',\n tint20: '#dc5e62',\n tint30: '#e37d80',\n tint40: '#f1bbbc',\n tint50: '#f8dadb',\n tint60: '#fdf6f6',\n};\n\nconst darkOrange: ColorVariants = {\n shade50: '#230900',\n shade40: '#411200',\n shade30: '#7a2101',\n shade20: '#a62d01',\n shade10: '#c43501',\n primary: '#da3b01',\n tint10: '#de501c',\n tint20: '#e36537',\n tint30: '#e9835e',\n tint40: '#f4bfab',\n tint50: '#f9dcd1',\n tint60: '#fdf6f3',\n};\n\nconst bronze: ColorVariants = {\n shade50: '#1b0a01',\n shade40: '#321303',\n shade30: '#5e2405',\n shade20: '#7f3107',\n shade10: '#963a08',\n primary: '#a74109',\n tint10: '#b2521e',\n tint20: '#bc6535',\n tint30: '#ca8057',\n tint40: '#e5bba4',\n tint50: '#f1d9cc',\n tint60: '#fbf5f2',\n};\n\nconst pumpkin: ColorVariants = {\n shade50: '#200d03',\n shade40: '#3d1805',\n shade30: '#712d09',\n shade20: '#9a3d0c',\n shade10: '#b6480e',\n primary: '#ca5010',\n tint10: '#d06228',\n tint20: '#d77440',\n tint30: '#df8e64',\n tint40: '#efc4ad',\n tint50: '#f7dfd2',\n tint60: '#fdf7f4',\n};\n\nconst orange: ColorVariants = {\n shade50: '#271002',\n shade40: '#4a1e04',\n shade30: '#8a3707',\n shade20: '#bc4b09',\n shade10: '#de590b',\n primary: '#f7630c',\n tint10: '#f87528',\n tint20: '#f98845',\n tint30: '#faa06b',\n tint40: '#fdcfb4',\n tint50: '#fee5d7',\n tint60: '#fff9f5',\n};\n\nconst peach: ColorVariants = {\n shade50: '#291600',\n shade40: '#4d2a00',\n shade30: '#8f4e00',\n shade20: '#c26a00',\n shade10: '#e67e00',\n primary: '#ff8c00',\n tint10: '#ff9a1f',\n tint20: '#ffa83d',\n tint30: '#ffba66',\n tint40: '#ffddb3',\n tint50: '#ffedd6',\n tint60: '#fffaf5',\n};\n\nconst marigold: ColorVariants = {\n shade50: '#251a00',\n shade40: '#463100',\n shade30: '#835b00',\n shade20: '#b27c00',\n shade10: '#d39300',\n primary: '#eaa300',\n tint10: '#edad1c',\n tint20: '#efb839',\n tint30: '#f2c661',\n tint40: '#f9e2ae',\n tint50: '#fcefd3',\n tint60: '#fefbf4',\n};\n\nconst yellow: ColorVariants = {\n primary: '#fde300',\n shade10: '#e4cc00',\n shade20: '#c0ad00',\n shade30: '#817400',\n shade40: '#4c4400',\n shade50: '#282400',\n tint10: '#fde61e',\n tint20: '#fdea3d',\n tint30: '#feee66',\n tint40: '#fef7b2',\n tint50: '#fffad6',\n tint60: '#fffef5',\n};\n\nconst gold: ColorVariants = {\n shade50: '#1f1900',\n shade40: '#3a2f00',\n shade30: '#6c5700',\n shade20: '#937700',\n shade10: '#ae8c00',\n primary: '#c19c00',\n tint10: '#c8a718',\n tint20: '#d0b232',\n tint30: '#dac157',\n tint40: '#ecdfa5',\n tint50: '#f5eece',\n tint60: '#fdfbf2',\n};\n\nconst brass: ColorVariants = {\n shade50: '#181202',\n shade40: '#2e2103',\n shade30: '#553e06',\n shade20: '#745408',\n shade10: '#89640a',\n primary: '#986f0b',\n tint10: '#a47d1e',\n tint20: '#b18c34',\n tint30: '#c1a256',\n tint40: '#e0cea2',\n tint50: '#efe4cb',\n tint60: '#fbf8f2',\n};\n\nconst brown: ColorVariants = {\n shade50: '#170e07',\n shade40: '#2b1a0e',\n shade30: '#50301a',\n shade20: '#6c4123',\n shade10: '#804d29',\n primary: '#8e562e',\n tint10: '#9c663f',\n tint20: '#a97652',\n tint30: '#bb8f6f',\n tint40: '#ddc3b0',\n tint50: '#edded3',\n tint60: '#faf7f4',\n};\n\nconst darkBrown: ColorVariants = {\n shade50: '#0c0704',\n shade40: '#170c08',\n shade30: '#2b1710',\n shade20: '#3a1f15',\n shade10: '#452519',\n primary: '#4d291c',\n tint10: '#623a2b',\n tint20: '#784d3e',\n tint30: '#946b5c',\n tint40: '#caada3',\n tint50: '#e3d2cb',\n tint60: '#f8f3f2',\n};\n\nconst lime: ColorVariants = {\n shade50: '#121b06',\n shade40: '#23330b',\n shade30: '#405f14',\n shade20: '#57811b',\n shade10: '#689920',\n primary: '#73aa24',\n tint10: '#81b437',\n tint20: '#90be4c',\n tint30: '#a4cc6c',\n tint40: '#cfe5af',\n tint50: '#e5f1d3',\n tint60: '#f8fcf4',\n};\n\nconst forest: ColorVariants = {\n shade50: '#0c1501',\n shade40: '#162702',\n shade30: '#294903',\n shade20: '#376304',\n shade10: '#427505',\n primary: '#498205',\n tint10: '#599116',\n tint20: '#6ba02b',\n tint30: '#85b44c',\n tint40: '#bdd99b',\n tint50: '#dbebc7',\n tint60: '#f6faf0',\n};\n\nconst seafoam: ColorVariants = {\n shade50: '#002111',\n shade40: '#003d20',\n shade30: '#00723b',\n shade20: '#009b51',\n shade10: '#00b85f',\n primary: '#00cc6a',\n tint10: '#19d279',\n tint20: '#34d889',\n tint30: '#5ae0a0',\n tint40: '#a8f0cd',\n tint50: '#cff7e4',\n tint60: '#f3fdf8',\n};\n\nconst lightGreen: ColorVariants = {\n shade50: '#031a02',\n shade40: '#063004',\n shade30: '#0b5a08',\n shade20: '#0e7a0b',\n shade10: '#11910d',\n primary: '#13a10e',\n tint10: '#27ac22',\n tint20: '#3db838',\n tint30: '#5ec75a',\n tint40: '#a7e3a5',\n tint50: '#cef0cd',\n tint60: '#f2fbf2',\n};\n\nconst green: ColorVariants = {\n shade50: '#031403',\n shade40: '#052505',\n shade30: '#094509',\n shade20: '#0c5e0c',\n shade10: '#0e700e',\n primary: '#107c10',\n tint10: '#218c21',\n tint20: '#359b35',\n tint30: '#54b054',\n tint40: '#9fd89f',\n tint50: '#c9eac9',\n tint60: '#f1faf1',\n};\n\nconst darkGreen: ColorVariants = {\n shade50: '#021102',\n shade40: '#032003',\n shade30: '#063b06',\n shade20: '#085108',\n shade10: '#0a5f0a',\n primary: '#0b6a0b',\n tint10: '#1a7c1a',\n tint20: '#2d8e2d',\n tint30: '#4da64d',\n tint40: '#9ad29a',\n tint50: '#c6e7c6',\n tint60: '#f0f9f0',\n};\n\nconst lightTeal: ColorVariants = {\n shade50: '#001d1f',\n shade40: '#00373a',\n shade30: '#00666d',\n shade20: '#008b94',\n shade10: '#00a5af',\n primary: '#00b7c3',\n tint10: '#18bfca',\n tint20: '#32c8d1',\n tint30: '#58d3db',\n tint40: '#a6e9ed',\n tint50: '#cef3f5',\n tint60: '#f2fcfd',\n};\n\nconst teal: ColorVariants = {\n shade50: '#001516',\n shade40: '#012728',\n shade30: '#02494c',\n shade20: '#026467',\n shade10: '#037679',\n primary: '#038387',\n tint10: '#159195',\n tint20: '#2aa0a4',\n tint30: '#4cb4b7',\n tint40: '#9bd9db',\n tint50: '#c7ebec',\n tint60: '#f0fafa',\n};\n\nconst darkTeal: ColorVariants = {\n shade50: '#001010',\n shade40: '#001f1f',\n shade30: '#003939',\n shade20: '#004e4e',\n shade10: '#005c5c',\n primary: '#006666',\n tint10: '#0e7878',\n tint20: '#218b8b',\n tint30: '#41a3a3',\n tint40: '#92d1d1',\n tint50: '#c2e7e7',\n tint60: '#eff9f9',\n};\n\nconst cyan: ColorVariants = {\n shade50: '#00181e',\n shade40: '#002e38',\n shade30: '#005669',\n shade20: '#00748f',\n shade10: '#008aa9',\n primary: '#0099bc',\n tint10: '#18a4c4',\n tint20: '#31afcc',\n tint30: '#56bfd7',\n tint40: '#a4deeb',\n tint50: '#cdedf4',\n tint60: '#f2fafc',\n};\n\nconst steel: ColorVariants = {\n shade50: '#000f12',\n shade40: '#001b22',\n shade30: '#00333f',\n shade20: '#004555',\n shade10: '#005265',\n primary: '#005b70',\n tint10: '#0f6c81',\n tint20: '#237d92',\n tint30: '#4496a9',\n tint40: '#94c8d4',\n tint50: '#c3e1e8',\n tint60: '#eff7f9',\n};\n\nconst lightBlue: ColorVariants = {\n shade50: '#091823',\n shade40: '#112d42',\n shade30: '#20547c',\n shade20: '#2c72a8',\n shade10: '#3487c7',\n primary: '#3a96dd',\n tint10: '#4fa1e1',\n tint20: '#65ade5',\n tint30: '#83bdeb',\n tint40: '#bfddf5',\n tint50: '#dcedfa',\n tint60: '#f6fafe',\n};\n\nconst blue: ColorVariants = {\n shade50: '#001322',\n shade40: '#002440',\n shade30: '#004377',\n shade20: '#005ba1',\n shade10: '#006cbf',\n primary: '#0078d4',\n tint10: '#1a86d9',\n tint20: '#3595de',\n tint30: '#5caae5',\n tint40: '#a9d3f2',\n tint50: '#d0e7f8',\n tint60: '#f3f9fd',\n};\n\nconst royalBlue: ColorVariants = {\n shade50: '#000c16',\n shade40: '#00172a',\n shade30: '#002c4e',\n shade20: '#003b6a',\n shade10: '#00467e',\n primary: '#004e8c',\n tint10: '#125e9a',\n tint20: '#286fa8',\n tint30: '#4a89ba',\n tint40: '#9abfdc',\n tint50: '#c7dced',\n tint60: '#f0f6fa',\n};\n\nconst darkBlue: ColorVariants = {\n shade50: '#000910',\n shade40: '#00111f',\n shade30: '#002039',\n shade20: '#002b4e',\n shade10: '#00335c',\n primary: '#003966',\n tint10: '#0e4a78',\n tint20: '#215c8b',\n tint30: '#4178a3',\n tint40: '#92b5d1',\n tint50: '#c2d6e7',\n tint60: '#eff4f9',\n};\n\nconst cornflower: ColorVariants = {\n shade50: '#0d1126',\n shade40: '#182047',\n shade30: '#2c3c85',\n shade20: '#3c51b4',\n shade10: '#4760d5',\n primary: '#4f6bed',\n tint10: '#637cef',\n tint20: '#778df1',\n tint30: '#93a4f4',\n tint40: '#c8d1fa',\n tint50: '#e1e6fc',\n tint60: '#f7f9fe',\n};\n\nconst navy: ColorVariants = {\n shade50: '#00061d',\n shade40: '#000c36',\n shade30: '#001665',\n shade20: '#001e89',\n shade10: '#0023a2',\n primary: '#0027b4',\n tint10: '#173bbd',\n tint20: '#3050c6',\n tint30: '#546fd2',\n tint40: '#a3b2e8',\n tint50: '#ccd5f3',\n tint60: '#f2f4fc',\n};\n\nconst lavender: ColorVariants = {\n shade50: '#120f25',\n shade40: '#221d46',\n shade30: '#3f3682',\n shade20: '#5649b0',\n shade10: '#6656d1',\n primary: '#7160e8',\n tint10: '#8172eb',\n tint20: '#9184ee',\n tint30: '#a79cf1',\n tint40: '#d2ccf8',\n tint50: '#e7e4fb',\n tint60: '#f9f8fe',\n};\n\nconst purple: ColorVariants = {\n shade50: '#0f0717',\n shade40: '#1c0e2b',\n shade30: '#341a51',\n shade20: '#46236e',\n shade10: '#532982',\n primary: '#5c2e91',\n tint10: '#6b3f9e',\n tint20: '#7c52ab',\n tint30: '#9470bd',\n tint40: '#c6b1de',\n tint50: '#e0d3ed',\n tint60: '#f7f4fb',\n};\n\nconst darkPurple: ColorVariants = {\n shade50: '#0a0411',\n shade40: '#130820',\n shade30: '#240f3c',\n shade20: '#311552',\n shade10: '#3a1861',\n primary: '#401b6c',\n tint10: '#512b7e',\n tint20: '#633e8f',\n tint30: '#7e5ca7',\n tint40: '#b9a3d3',\n tint50: '#d8cce7',\n tint60: '#f5f2f9',\n};\n\nconst orchid: ColorVariants = {\n shade50: '#16101d',\n shade40: '#281e37',\n shade30: '#4c3867',\n shade20: '#674c8c',\n shade10: '#795aa6',\n primary: '#8764b8',\n tint10: '#9373c0',\n tint20: '#a083c9',\n tint30: '#b29ad4',\n tint40: '#d7caea',\n tint50: '#e9e2f4',\n tint60: '#f9f8fc',\n};\n\nconst grape: ColorVariants = {\n shade50: '#160418',\n shade40: '#29072e',\n shade30: '#4c0d55',\n shade20: '#671174',\n shade10: '#7a1589',\n primary: '#881798',\n tint10: '#952aa4',\n tint20: '#a33fb1',\n tint30: '#b55fc1',\n tint40: '#d9a7e0',\n tint50: '#eaceef',\n tint60: '#faf2fb',\n};\n\nconst berry: ColorVariants = {\n shade50: '#1f091d',\n shade40: '#3a1136',\n shade30: '#6d2064',\n shade20: '#932b88',\n shade10: '#af33a1',\n primary: '#c239b3',\n tint10: '#c94cbc',\n tint20: '#d161c4',\n tint30: '#da7ed0',\n tint40: '#edbbe7',\n tint50: '#f5daf2',\n tint60: '#fdf5fc',\n};\n\nconst lilac: ColorVariants = {\n shade50: '#1c0b1f',\n shade40: '#35153a',\n shade30: '#63276d',\n shade20: '#863593',\n shade10: '#9f3faf',\n primary: '#b146c2',\n tint10: '#ba58c9',\n tint20: '#c36bd1',\n tint30: '#cf87da',\n tint40: '#e6bfed',\n tint50: '#f2dcf5',\n tint60: '#fcf6fd',\n};\n\nconst pink: ColorVariants = {\n shade50: '#24091b',\n shade40: '#441232',\n shade30: '#80215d',\n shade20: '#ad2d7e',\n shade10: '#cd3595',\n primary: '#e43ba6',\n tint10: '#e750b0',\n tint20: '#ea66ba',\n tint30: '#ef85c8',\n tint40: '#f7c0e3',\n tint50: '#fbddf0',\n tint60: '#fef6fb',\n};\n\nconst hotPink: ColorVariants = {\n shade50: '#240016',\n shade40: '#44002a',\n shade30: '#7f004e',\n shade20: '#ad006a',\n shade10: '#cc007e',\n primary: '#e3008c',\n tint10: '#e61c99',\n tint20: '#ea38a6',\n tint30: '#ee5fb7',\n tint40: '#f7adda',\n tint50: '#fbd2eb',\n tint60: '#fef4fa',\n};\n\nconst magenta: ColorVariants = {\n shade50: '#1f0013',\n shade40: '#390024',\n shade30: '#6b0043',\n shade20: '#91005a',\n shade10: '#ac006b',\n primary: '#bf0077',\n tint10: '#c71885',\n tint20: '#ce3293',\n tint30: '#d957a8',\n tint40: '#eca5d1',\n tint50: '#f5cee6',\n tint60: '#fcf2f9',\n};\n\nconst plum: ColorVariants = {\n shade50: '#13000c',\n shade40: '#240017',\n shade30: '#43002b',\n shade20: '#5a003b',\n shade10: '#6b0045',\n primary: '#77004d',\n tint10: '#87105d',\n tint20: '#98246f',\n tint30: '#ad4589',\n tint40: '#d696c0',\n tint50: '#e9c4dc',\n tint60: '#faf0f6',\n};\n\nconst beige: ColorVariants = {\n shade50: '#141313',\n shade40: '#252323',\n shade30: '#444241',\n shade20: '#5d5958',\n shade10: '#6e6968',\n primary: '#7a7574',\n tint10: '#8a8584',\n tint20: '#9a9594',\n tint30: '#afabaa',\n tint40: '#d7d4d4',\n tint50: '#eae8e8',\n tint60: '#faf9f9',\n};\n\nconst mink: ColorVariants = {\n shade50: '#0f0e0e',\n shade40: '#1c1b1a',\n shade30: '#343231',\n shade20: '#474443',\n shade10: '#54514f',\n primary: '#5d5a58',\n tint10: '#706d6b',\n tint20: '#84817e',\n tint30: '#9e9b99',\n tint40: '#cecccb',\n tint50: '#e5e4e3',\n tint60: '#f8f8f8',\n};\n\nconst silver: ColorVariants = {\n shade50: '#151818',\n shade40: '#282d2e',\n shade30: '#4a5356',\n shade20: '#657174',\n shade10: '#78868a',\n primary: '#859599',\n tint10: '#92a1a5',\n tint20: '#a0aeb1',\n tint30: '#b3bfc2',\n tint40: '#d8dfe0',\n tint50: '#eaeeef',\n tint60: '#fafbfb',\n};\n\nconst platinum: ColorVariants = {\n shade50: '#111314',\n shade40: '#1f2426',\n shade30: '#3b4447',\n shade20: '#505c60',\n shade10: '#5f6d71',\n primary: '#69797e',\n tint10: '#79898d',\n tint20: '#89989d',\n tint30: '#a0adb2',\n tint40: '#cdd6d8',\n tint50: '#e4e9ea',\n tint60: '#f8f9fa',\n};\n\nconst anchor: ColorVariants = {\n shade50: '#090a0b',\n shade40: '#111315',\n shade30: '#202427',\n shade20: '#2b3135',\n shade10: '#333a3f',\n primary: '#394146',\n tint10: '#4d565c',\n tint20: '#626c72',\n tint30: '#808a90',\n tint40: '#bcc3c7',\n tint50: '#dbdfe1',\n tint60: '#f6f7f8',\n};\n\nconst charcoal: ColorVariants = {\n shade50: '#090909',\n shade40: '#111111',\n shade30: '#202020',\n shade20: '#2b2b2b',\n shade10: '#333333',\n primary: '#393939',\n tint10: '#515151',\n tint20: '#686868',\n tint30: '#888888',\n tint40: '#c4c4c4',\n tint50: '#dfdfdf',\n tint60: '#f7f7f7',\n};\n\nexport const sharedColors: GlobalSharedColors = {\n darkRed,\n burgundy,\n cranberry,\n red,\n darkOrange,\n bronze,\n pumpkin,\n orange,\n peach,\n marigold,\n yellow,\n gold,\n brass,\n brown,\n darkBrown,\n lime,\n forest,\n seafoam,\n lightGreen,\n green,\n darkGreen,\n lightTeal,\n teal,\n darkTeal,\n cyan,\n steel,\n lightBlue,\n blue,\n royalBlue,\n darkBlue,\n cornflower,\n navy,\n lavender,\n purple,\n darkPurple,\n orchid,\n grape,\n berry,\n lilac,\n pink,\n hotPink,\n magenta,\n plum,\n beige,\n mink,\n silver,\n platinum,\n anchor,\n charcoal,\n};\n\nexport const brandWeb: BrandVariants = {\n 10: `#061724`,\n 20: `#082338`,\n 30: `#0a2e4a`,\n 40: `#0c3b5e`,\n 50: `#0e4775`,\n 60: `#0f548c`,\n 70: `#115ea3`,\n 80: `#0f6cbd`,\n 90: `#2886de`,\n 100: `#479ef5`,\n 110: `#62abf5`,\n 120: `#77b7f7`,\n 130: `#96c6fa`,\n 140: `#b4d6fa`,\n 150: `#cfe4fa`,\n 160: `#ebf3fc`,\n};\n"]}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
define(["require", "exports", "tslib", "@fluentui/react", "./themeDuplicates"], function (require, exports, tslib_1, react_1, themeDuplicates_1) {
|
|
2
|
+
"use strict";
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.createV8Theme = void 0;
|
|
5
|
+
var mappedNeutrals = {
|
|
6
|
+
black: themeDuplicates_1.black,
|
|
7
|
+
blackTranslucent40: themeDuplicates_1.blackAlpha[40],
|
|
8
|
+
neutralDark: themeDuplicates_1.grey[8],
|
|
9
|
+
neutralPrimary: themeDuplicates_1.grey[14],
|
|
10
|
+
neutralPrimaryAlt: themeDuplicates_1.grey[22],
|
|
11
|
+
neutralSecondary: themeDuplicates_1.grey[36],
|
|
12
|
+
neutralSecondaryAlt: themeDuplicates_1.grey[52],
|
|
13
|
+
neutralTertiary: themeDuplicates_1.grey[62],
|
|
14
|
+
neutralTertiaryAlt: themeDuplicates_1.grey[78],
|
|
15
|
+
neutralQuaternary: themeDuplicates_1.grey[82],
|
|
16
|
+
neutralQuaternaryAlt: themeDuplicates_1.grey[88],
|
|
17
|
+
neutralLight: themeDuplicates_1.grey[92],
|
|
18
|
+
neutralLighter: themeDuplicates_1.grey[96],
|
|
19
|
+
neutralLighterAlt: themeDuplicates_1.grey[98],
|
|
20
|
+
white: themeDuplicates_1.white,
|
|
21
|
+
whiteTranslucent40: themeDuplicates_1.whiteAlpha[40],
|
|
22
|
+
};
|
|
23
|
+
var invertedMappedNeutrals = {
|
|
24
|
+
black: themeDuplicates_1.white,
|
|
25
|
+
blackTranslucent40: themeDuplicates_1.whiteAlpha[40],
|
|
26
|
+
neutralDark: themeDuplicates_1.grey[98],
|
|
27
|
+
neutralPrimary: themeDuplicates_1.grey[96],
|
|
28
|
+
neutralPrimaryAlt: themeDuplicates_1.grey[84],
|
|
29
|
+
neutralSecondary: themeDuplicates_1.grey[82],
|
|
30
|
+
neutralSecondaryAlt: themeDuplicates_1.grey[74],
|
|
31
|
+
neutralTertiary: themeDuplicates_1.grey[44],
|
|
32
|
+
neutralTertiaryAlt: themeDuplicates_1.grey[26],
|
|
33
|
+
neutralQuaternary: themeDuplicates_1.grey[24],
|
|
34
|
+
neutralQuaternaryAlt: themeDuplicates_1.grey[18],
|
|
35
|
+
neutralLight: themeDuplicates_1.grey[16],
|
|
36
|
+
neutralLighter: themeDuplicates_1.grey[14],
|
|
37
|
+
neutralLighterAlt: themeDuplicates_1.grey[10],
|
|
38
|
+
white: themeDuplicates_1.black,
|
|
39
|
+
whiteTranslucent40: themeDuplicates_1.blackAlpha[40],
|
|
40
|
+
};
|
|
41
|
+
var mappedSharedColors = {
|
|
42
|
+
yellowDark: themeDuplicates_1.sharedColors.marigold.shade10,
|
|
43
|
+
yellow: themeDuplicates_1.sharedColors.yellow.primary,
|
|
44
|
+
yellowLight: themeDuplicates_1.sharedColors.yellow.tint40,
|
|
45
|
+
orange: themeDuplicates_1.sharedColors.orange.primary,
|
|
46
|
+
orangeLight: themeDuplicates_1.sharedColors.orange.tint20,
|
|
47
|
+
orangeLighter: themeDuplicates_1.sharedColors.orange.tint40,
|
|
48
|
+
redDark: themeDuplicates_1.sharedColors.darkRed.primary,
|
|
49
|
+
red: themeDuplicates_1.sharedColors.red.primary,
|
|
50
|
+
magentaDark: themeDuplicates_1.sharedColors.magenta.shade30,
|
|
51
|
+
magenta: themeDuplicates_1.sharedColors.magenta.primary,
|
|
52
|
+
magentaLight: themeDuplicates_1.sharedColors.magenta.tint30,
|
|
53
|
+
purpleDark: themeDuplicates_1.sharedColors.darkPurple.primary,
|
|
54
|
+
purple: themeDuplicates_1.sharedColors.purple.primary,
|
|
55
|
+
purpleLight: themeDuplicates_1.sharedColors.purple.tint40,
|
|
56
|
+
blueDark: themeDuplicates_1.sharedColors.darkBlue.primary,
|
|
57
|
+
blueMid: themeDuplicates_1.sharedColors.royalBlue.primary,
|
|
58
|
+
blue: themeDuplicates_1.sharedColors.blue.primary,
|
|
59
|
+
blueLight: themeDuplicates_1.sharedColors.lightBlue.primary,
|
|
60
|
+
tealDark: themeDuplicates_1.sharedColors.darkTeal.primary,
|
|
61
|
+
teal: themeDuplicates_1.sharedColors.teal.primary,
|
|
62
|
+
tealLight: themeDuplicates_1.sharedColors.lightTeal.primary,
|
|
63
|
+
greenDark: themeDuplicates_1.sharedColors.darkGreen.primary,
|
|
64
|
+
green: themeDuplicates_1.sharedColors.green.primary,
|
|
65
|
+
greenLight: themeDuplicates_1.sharedColors.lightGreen.primary,
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Creates a v8 palette given a brand ramp
|
|
69
|
+
*/
|
|
70
|
+
var mapPalette = function (brandColors, inverted) {
|
|
71
|
+
var neutrals = inverted ? invertedMappedNeutrals : mappedNeutrals;
|
|
72
|
+
var brands = inverted
|
|
73
|
+
? {
|
|
74
|
+
themeDarker: brandColors[110],
|
|
75
|
+
themeDark: brandColors[100],
|
|
76
|
+
themeDarkAlt: brandColors[100],
|
|
77
|
+
themePrimary: brandColors[90],
|
|
78
|
+
themeSecondary: brandColors[90],
|
|
79
|
+
themeTertiary: brandColors[60],
|
|
80
|
+
themeLight: brandColors[50],
|
|
81
|
+
themeLighter: brandColors[40],
|
|
82
|
+
themeLighterAlt: brandColors[30],
|
|
83
|
+
}
|
|
84
|
+
: {
|
|
85
|
+
themeDarker: brandColors[40],
|
|
86
|
+
themeDark: brandColors[60],
|
|
87
|
+
themeDarkAlt: brandColors[70],
|
|
88
|
+
themePrimary: brandColors[80],
|
|
89
|
+
themeSecondary: brandColors[90],
|
|
90
|
+
themeTertiary: brandColors[120],
|
|
91
|
+
themeLight: brandColors[140],
|
|
92
|
+
themeLighter: brandColors[150],
|
|
93
|
+
themeLighterAlt: brandColors[160],
|
|
94
|
+
};
|
|
95
|
+
return tslib_1.__assign(tslib_1.__assign(tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, react_1.DefaultPalette), neutrals), { accent: brands.themePrimary }), mappedSharedColors), brands);
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Returns v9 theme colors overlaid on a base set of v8 semantic colors
|
|
99
|
+
*/
|
|
100
|
+
var mapSemanticColors = function (baseColors, theme) {
|
|
101
|
+
return tslib_1.__assign(tslib_1.__assign({}, baseColors), { accentButtonBackground: theme.colorBrandBackground, accentButtonText: theme.colorNeutralForegroundOnBrand, actionLink: theme.colorNeutralForeground1, actionLinkHovered: theme.colorNeutralForeground1Hover,
|
|
102
|
+
// blockingBackground,
|
|
103
|
+
// blockingIcon,
|
|
104
|
+
bodyBackground: theme.colorNeutralBackground1, bodyBackgroundChecked: theme.colorNeutralBackground1Selected, bodyBackgroundHovered: theme.colorNeutralBackground1Hover, bodyDivider: theme.colorNeutralStroke2, bodyFrameBackground: theme.colorNeutralBackground1, bodyFrameDivider: theme.colorNeutralStroke2, bodyStandoutBackground: theme.colorNeutralBackground2, bodySubtext: theme.colorNeutralForeground2, bodyText: theme.colorNeutralForeground1, bodyTextChecked: theme.colorNeutralForeground1Selected, buttonBackground: theme.colorNeutralBackground1, buttonBackgroundChecked: theme.colorNeutralBackground1Selected, buttonBackgroundCheckedHovered: theme.colorNeutralBackground1Hover, buttonBackgroundDisabled: theme.colorNeutralBackgroundDisabled, buttonBackgroundHovered: theme.colorNeutralBackground1Hover, buttonBackgroundPressed: theme.colorNeutralBackground1Pressed, buttonBorder: theme.colorNeutralStroke1, buttonBorderDisabled: theme.colorNeutralStrokeDisabled, buttonText: theme.colorNeutralForeground1, buttonTextChecked: theme.colorNeutralForeground1, buttonTextCheckedHovered: theme.colorNeutralForeground1, buttonTextDisabled: theme.colorNeutralForegroundDisabled, buttonTextHovered: theme.colorNeutralForeground1, buttonTextPressed: theme.colorNeutralForeground1, cardShadow: theme.shadow4, cardShadowHovered: theme.shadow8, cardStandoutBackground: theme.colorNeutralBackground1, defaultStateBackground: theme.colorNeutralBackground2, disabledBackground: theme.colorNeutralBackgroundDisabled, disabledBodySubtext: theme.colorNeutralForegroundDisabled, disabledBodyText: theme.colorNeutralForegroundDisabled, disabledBorder: theme.colorNeutralStrokeDisabled, disabledSubtext: theme.colorNeutralForegroundDisabled, disabledText: theme.colorNeutralForegroundDisabled,
|
|
105
|
+
// errorBackground,
|
|
106
|
+
// errorIcon,
|
|
107
|
+
// errorText: ,
|
|
108
|
+
focusBorder: theme.colorStrokeFocus2,
|
|
109
|
+
// infoBackground,
|
|
110
|
+
// infoIcon,
|
|
111
|
+
inputBackground: theme.colorNeutralBackground1, inputBackgroundChecked: theme.colorBrandBackground, inputBackgroundCheckedHovered: theme.colorBrandBackgroundHover, inputBorder: theme.colorNeutralStrokeAccessible, inputBorderHovered: theme.colorNeutralStrokeAccessibleHover, inputFocusBorderAlt: theme.colorBrandStroke1, inputForegroundChecked: theme.colorNeutralForegroundOnBrand, inputIcon: theme.colorNeutralForeground3, inputIconDisabled: theme.colorNeutralForegroundDisabled, inputIconHovered: theme.colorNeutralForeground3, inputPlaceholderBackgroundChecked: theme.colorBrandBackgroundInvertedSelected, inputPlaceholderText: theme.colorNeutralForeground4, inputText: theme.colorNeutralForeground1, inputTextHovered: theme.colorNeutralForeground1Hover, link: theme.colorBrandForegroundLink, linkHovered: theme.colorBrandForegroundLinkHover, listBackground: theme.colorNeutralBackground1, listHeaderBackgroundHovered: theme.colorNeutralBackground1Hover, listHeaderBackgroundPressed: theme.colorNeutralBackground1Pressed, listItemBackgroundChecked: theme.colorNeutralBackground1Selected, listItemBackgroundCheckedHovered: theme.colorNeutralBackground1Selected, listItemBackgroundHovered: theme.colorNeutralBackground1Hover, listText: theme.colorNeutralForeground1, listTextColor: theme.colorNeutralForeground1, menuBackground: theme.colorNeutralBackground1, menuDivider: theme.colorNeutralStroke2, menuHeader: theme.colorNeutralForeground3, menuIcon: theme.colorNeutralForeground1, menuItemBackgroundChecked: theme.colorNeutralBackground1, menuItemBackgroundHovered: theme.colorNeutralBackground1Hover, menuItemBackgroundPressed: theme.colorNeutralBackground1Hover, menuItemText: theme.colorNeutralForeground1, menuItemTextHovered: theme.colorNeutralForeground1Hover, messageLink: theme.colorBrandForegroundLink, messageLinkHovered: theme.colorBrandForegroundLinkHover, messageText: theme.colorNeutralForeground1, primaryButtonBackground: theme.colorBrandBackground, primaryButtonBackgroundDisabled: theme.colorNeutralBackgroundDisabled, primaryButtonBackgroundHovered: theme.colorBrandBackgroundHover, primaryButtonBackgroundPressed: theme.colorBrandBackgroundPressed, primaryButtonBorder: theme.colorTransparentStroke, primaryButtonText: theme.colorNeutralForegroundOnBrand, primaryButtonTextDisabled: theme.colorNeutralForegroundDisabled, primaryButtonTextHovered: theme.colorNeutralForegroundOnBrand, primaryButtonTextPressed: theme.colorNeutralForegroundOnBrand });
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* Overlays v9 fonts on a set of base v8 fonts.
|
|
115
|
+
*/
|
|
116
|
+
var mapFonts = function (baseFonts, theme) {
|
|
117
|
+
return tslib_1.__assign(tslib_1.__assign({}, baseFonts), { tiny: tslib_1.__assign(tslib_1.__assign({}, baseFonts.tiny), { fontFamily: theme.fontFamilyBase, fontSize: theme.fontSizeBase100, fontWeight: theme.fontWeightRegular }), xSmall: tslib_1.__assign(tslib_1.__assign({}, baseFonts.xSmall), { fontFamily: theme.fontFamilyBase, fontSize: theme.fontSizeBase100, fontWeight: theme.fontWeightRegular }), small: tslib_1.__assign(tslib_1.__assign({}, baseFonts.small), { fontFamily: theme.fontFamilyBase, fontSize: theme.fontSizeBase200, fontWeight: theme.fontWeightRegular }), smallPlus: tslib_1.__assign(tslib_1.__assign({}, baseFonts.smallPlus), { fontFamily: theme.fontFamilyBase, fontSize: theme.fontSizeBase200, fontWeight: theme.fontWeightRegular }), medium: tslib_1.__assign(tslib_1.__assign({}, baseFonts.medium), { fontFamily: theme.fontFamilyBase, fontSize: theme.fontSizeBase300, fontWeight: theme.fontWeightRegular }), mediumPlus: tslib_1.__assign(tslib_1.__assign({}, baseFonts.mediumPlus), { fontFamily: theme.fontFamilyBase, fontSize: theme.fontSizeBase400, fontWeight: theme.fontWeightRegular }), large: tslib_1.__assign(tslib_1.__assign({}, baseFonts.large), { fontFamily: theme.fontFamilyBase, fontSize: theme.fontSizeBase400, fontWeight: theme.fontWeightRegular }), xLarge: tslib_1.__assign(tslib_1.__assign({}, baseFonts.xxLarge), { fontFamily: theme.fontFamilyBase, fontSize: theme.fontSizeBase500, fontWeight: theme.fontWeightSemibold }), xxLarge: tslib_1.__assign(tslib_1.__assign({}, baseFonts.xxLarge), { fontFamily: theme.fontFamilyBase, fontSize: theme.fontSizeHero700, fontWeight: theme.fontWeightSemibold }), superLarge: tslib_1.__assign(tslib_1.__assign({}, baseFonts.superLarge), { fontFamily: theme.fontFamilyBase, fontSize: theme.fontSizeHero900, fontWeight: theme.fontWeightSemibold }), mega: tslib_1.__assign(tslib_1.__assign({}, baseFonts.mega), { fontFamily: theme.fontFamilyBase, fontSize: theme.fontSizeHero1000, fontWeight: theme.fontWeightSemibold }) });
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* Overlays v9 shadows and border radii on a base set of v8 effects.
|
|
121
|
+
*/
|
|
122
|
+
var mapEffects = function (baseEffects, theme) {
|
|
123
|
+
return tslib_1.__assign(tslib_1.__assign({}, baseEffects), { elevation4: theme.shadow4, elevation8: theme.shadow8, elevation16: theme.shadow16, elevation64: theme.shadow64, roundedCorner2: theme.borderRadiusSmall, roundedCorner4: theme.borderRadiusMedium, roundedCorner6: theme.borderRadiusLarge });
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* Creates a v8 theme from v9 brand colors and theme.
|
|
127
|
+
* You can optionally pass a v8 base theme.
|
|
128
|
+
* Otherwise the default v8 theme is used.
|
|
129
|
+
*
|
|
130
|
+
* The v9 colors, fonts, and effects are applied on top of the v8 theme
|
|
131
|
+
* to allow v8 components to look as much like v9 components as possible.
|
|
132
|
+
*/
|
|
133
|
+
var createV8Theme = function (brandColors, themeV9, isDarkTheme, themeV8) {
|
|
134
|
+
if (isDarkTheme === void 0) { isDarkTheme = false; }
|
|
135
|
+
var baseTheme = themeV8 || react_1.createTheme({ isInverted: isDarkTheme });
|
|
136
|
+
return tslib_1.__assign(tslib_1.__assign({}, baseTheme), { palette: mapPalette(brandColors, isDarkTheme), semanticColors: mapSemanticColors(baseTheme.semanticColors, themeV9), fonts: mapFonts(baseTheme.fonts, themeV9), effects: mapEffects(baseTheme.effects, themeV9), isInverted: isDarkTheme || (themeV8 === null || themeV8 === void 0 ? void 0 : themeV8.isInverted) === true });
|
|
137
|
+
};
|
|
138
|
+
exports.createV8Theme = createV8Theme;
|
|
139
|
+
});
|
|
140
|
+
//# sourceMappingURL=v8ThemeShim.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v8ThemeShim.js","sourceRoot":"../src/","sources":["components/Theme/v8ThemeShim.ts"],"names":[],"mappings":";;;;IAOA,IAAM,cAAc,GAAG;QACrB,KAAK,yBAAA;QACL,kBAAkB,EAAE,4BAAU,CAAC,EAAE,CAAC;Q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,KAAK,EAAE,OAAO,CAAC,EACzC,OAAO,EAAE,UAAU,CAAC,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,EAC/C,UAAU,EAAE,WAAW,IAAI,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,UAAU,MAAK,IAAI,IACvD;IACJ,CAAC,CAAC;IAhBW,QAAA,aAAa,iBAgBxB","sourcesContent":["import { createTheme, DefaultPalette } from '@fluentui/react';\nimport type { IPalette, ISemanticColors, IFontStyles, IFontWeight, IEffects, Theme as ThemeV8 } from '@fluentui/react';\n\nimport { BrandVariants, Theme as ThemeV9 } from '@fluentui/react-components';\n\nimport { black, blackAlpha, grey, sharedColors, white, whiteAlpha } from './themeDuplicates';\n\nconst mappedNeutrals = {\n black,\n blackTranslucent40: blackAlpha[40],\n neutralDark: grey[8],\n neutralPrimary: grey[14],\n neutralPrimaryAlt: grey[22],\n neutralSecondary: grey[36],\n neutralSecondaryAlt: grey[52],\n neutralTertiary: grey[62],\n neutralTertiaryAlt: grey[78],\n neutralQuaternary: grey[82],\n neutralQuaternaryAlt: grey[88],\n neutralLight: grey[92],\n neutralLighter: grey[96],\n neutralLighterAlt: grey[98],\n white,\n whiteTranslucent40: whiteAlpha[40],\n};\n\nconst invertedMappedNeutrals = {\n black: white,\n blackTranslucent40: whiteAlpha[40],\n neutralDark: grey[98],\n neutralPrimary: grey[96],\n neutralPrimaryAlt: grey[84],\n neutralSecondary: grey[82],\n neutralSecondaryAlt: grey[74],\n neutralTertiary: grey[44],\n neutralTertiaryAlt: grey[26],\n neutralQuaternary: grey[24],\n neutralQuaternaryAlt: grey[18],\n neutralLight: grey[16],\n neutralLighter: grey[14],\n neutralLighterAlt: grey[10],\n white: black,\n whiteTranslucent40: blackAlpha[40],\n};\n\nconst mappedSharedColors = {\n yellowDark: sharedColors.marigold.shade10,\n yellow: sharedColors.yellow.primary,\n yellowLight: sharedColors.yellow.tint40,\n orange: sharedColors.orange.primary,\n orangeLight: sharedColors.orange.tint20,\n orangeLighter: sharedColors.orange.tint40,\n redDark: sharedColors.darkRed.primary,\n red: sharedColors.red.primary,\n magentaDark: sharedColors.magenta.shade30,\n magenta: sharedColors.magenta.primary,\n magentaLight: sharedColors.magenta.tint30,\n purpleDark: sharedColors.darkPurple.primary,\n purple: sharedColors.purple.primary,\n purpleLight: sharedColors.purple.tint40,\n blueDark: sharedColors.darkBlue.primary,\n blueMid: sharedColors.royalBlue.primary,\n blue: sharedColors.blue.primary,\n blueLight: sharedColors.lightBlue.primary,\n tealDark: sharedColors.darkTeal.primary,\n teal: sharedColors.teal.primary,\n tealLight: sharedColors.lightTeal.primary,\n greenDark: sharedColors.darkGreen.primary,\n green: sharedColors.green.primary,\n greenLight: sharedColors.lightGreen.primary,\n};\n\n/**\n * Creates a v8 palette given a brand ramp\n */\nconst mapPalette = (brandColors: BrandVariants, inverted: boolean): IPalette => {\n const neutrals = inverted ? invertedMappedNeutrals : mappedNeutrals;\n const brands = inverted\n ? {\n themeDarker: brandColors[110],\n themeDark: brandColors[100],\n themeDarkAlt: brandColors[100],\n themePrimary: brandColors[90],\n themeSecondary: brandColors[90],\n themeTertiary: brandColors[60],\n themeLight: brandColors[50],\n themeLighter: brandColors[40],\n themeLighterAlt: brandColors[30],\n }\n : {\n themeDarker: brandColors[40],\n themeDark: brandColors[60],\n themeDarkAlt: brandColors[70],\n themePrimary: brandColors[80],\n themeSecondary: brandColors[90],\n themeTertiary: brandColors[120],\n themeLight: brandColors[140],\n themeLighter: brandColors[150],\n themeLighterAlt: brandColors[160],\n };\n\n return {\n ...DefaultPalette,\n ...neutrals,\n accent: brands.themePrimary,\n ...mappedSharedColors,\n ...brands,\n };\n};\n\n/**\n * Returns v9 theme colors overlaid on a base set of v8 semantic colors\n */\nconst mapSemanticColors = (baseColors: ISemanticColors, theme: ThemeV9): ISemanticColors => {\n return {\n ...baseColors,\n accentButtonBackground: theme.colorBrandBackground,\n accentButtonText: theme.colorNeutralForegroundOnBrand,\n actionLink: theme.colorNeutralForeground1,\n actionLinkHovered: theme.colorNeutralForeground1Hover,\n // blockingBackground,\n // blockingIcon,\n bodyBackground: theme.colorNeutralBackground1,\n bodyBackgroundChecked: theme.colorNeutralBackground1Selected,\n bodyBackgroundHovered: theme.colorNeutralBackground1Hover,\n bodyDivider: theme.colorNeutralStroke2,\n bodyFrameBackground: theme.colorNeutralBackground1,\n bodyFrameDivider: theme.colorNeutralStroke2,\n bodyStandoutBackground: theme.colorNeutralBackground2,\n bodySubtext: theme.colorNeutralForeground2,\n bodyText: theme.colorNeutralForeground1,\n bodyTextChecked: theme.colorNeutralForeground1Selected,\n buttonBackground: theme.colorNeutralBackground1,\n buttonBackgroundChecked: theme.colorNeutralBackground1Selected,\n buttonBackgroundCheckedHovered: theme.colorNeutralBackground1Hover,\n buttonBackgroundDisabled: theme.colorNeutralBackgroundDisabled,\n buttonBackgroundHovered: theme.colorNeutralBackground1Hover,\n buttonBackgroundPressed: theme.colorNeutralBackground1Pressed,\n buttonBorder: theme.colorNeutralStroke1,\n buttonBorderDisabled: theme.colorNeutralStrokeDisabled,\n buttonText: theme.colorNeutralForeground1,\n buttonTextChecked: theme.colorNeutralForeground1,\n buttonTextCheckedHovered: theme.colorNeutralForeground1,\n buttonTextDisabled: theme.colorNeutralForegroundDisabled,\n buttonTextHovered: theme.colorNeutralForeground1,\n buttonTextPressed: theme.colorNeutralForeground1,\n cardShadow: theme.shadow4,\n cardShadowHovered: theme.shadow8,\n cardStandoutBackground: theme.colorNeutralBackground1,\n defaultStateBackground: theme.colorNeutralBackground2,\n disabledBackground: theme.colorNeutralBackgroundDisabled,\n disabledBodySubtext: theme.colorNeutralForegroundDisabled,\n disabledBodyText: theme.colorNeutralForegroundDisabled,\n disabledBorder: theme.colorNeutralStrokeDisabled,\n disabledSubtext: theme.colorNeutralForegroundDisabled,\n disabledText: theme.colorNeutralForegroundDisabled,\n // errorBackground,\n // errorIcon,\n // errorText: ,\n focusBorder: theme.colorStrokeFocus2,\n // infoBackground,\n // infoIcon,\n inputBackground: theme.colorNeutralBackground1,\n inputBackgroundChecked: theme.colorBrandBackground,\n inputBackgroundCheckedHovered: theme.colorBrandBackgroundHover,\n inputBorder: theme.colorNeutralStrokeAccessible,\n inputBorderHovered: theme.colorNeutralStrokeAccessibleHover,\n inputFocusBorderAlt: theme.colorBrandStroke1,\n inputForegroundChecked: theme.colorNeutralForegroundOnBrand,\n inputIcon: theme.colorNeutralForeground3,\n inputIconDisabled: theme.colorNeutralForegroundDisabled,\n inputIconHovered: theme.colorNeutralForeground3,\n inputPlaceholderBackgroundChecked: theme.colorBrandBackgroundInvertedSelected,\n inputPlaceholderText: theme.colorNeutralForeground4,\n inputText: theme.colorNeutralForeground1,\n inputTextHovered: theme.colorNeutralForeground1Hover,\n link: theme.colorBrandForegroundLink,\n linkHovered: theme.colorBrandForegroundLinkHover,\n listBackground: theme.colorNeutralBackground1,\n listHeaderBackgroundHovered: theme.colorNeutralBackground1Hover,\n listHeaderBackgroundPressed: theme.colorNeutralBackground1Pressed,\n listItemBackgroundChecked: theme.colorNeutralBackground1Selected,\n listItemBackgroundCheckedHovered: theme.colorNeutralBackground1Selected,\n listItemBackgroundHovered: theme.colorNeutralBackground1Hover,\n listText: theme.colorNeutralForeground1,\n listTextColor: theme.colorNeutralForeground1,\n menuBackground: theme.colorNeutralBackground1,\n menuDivider: theme.colorNeutralStroke2,\n menuHeader: theme.colorNeutralForeground3,\n menuIcon: theme.colorNeutralForeground1,\n menuItemBackgroundChecked: theme.colorNeutralBackground1,\n menuItemBackgroundHovered: theme.colorNeutralBackground1Hover,\n menuItemBackgroundPressed: theme.colorNeutralBackground1Hover,\n menuItemText: theme.colorNeutralForeground1,\n menuItemTextHovered: theme.colorNeutralForeground1Hover,\n messageLink: theme.colorBrandForegroundLink,\n messageLinkHovered: theme.colorBrandForegroundLinkHover,\n messageText: theme.colorNeutralForeground1,\n primaryButtonBackground: theme.colorBrandBackground,\n primaryButtonBackgroundDisabled: theme.colorNeutralBackgroundDisabled,\n primaryButtonBackgroundHovered: theme.colorBrandBackgroundHover,\n primaryButtonBackgroundPressed: theme.colorBrandBackgroundPressed,\n primaryButtonBorder: theme.colorTransparentStroke,\n primaryButtonText: theme.colorNeutralForegroundOnBrand,\n primaryButtonTextDisabled: theme.colorNeutralForegroundDisabled,\n primaryButtonTextHovered: theme.colorNeutralForegroundOnBrand,\n primaryButtonTextPressed: theme.colorNeutralForegroundOnBrand,\n // severeWarningBackground,\n // severeWarningIcon,\n // smallInputBorder,\n // successBackground,\n // successIcon,\n // successText: ,\n // variantBorder,\n // variantBorderHovered,\n // warningBackground,\n // warningHighlight,\n // warningIcon,\n // warningText: ,\n };\n};\n\n/**\n * Overlays v9 fonts on a set of base v8 fonts.\n */\nconst mapFonts = (baseFonts: IFontStyles, theme: ThemeV9): IFontStyles => {\n return {\n ...baseFonts,\n tiny: {\n ...baseFonts.tiny,\n fontFamily: theme.fontFamilyBase,\n fontSize: theme.fontSizeBase100,\n fontWeight: theme.fontWeightRegular as IFontWeight,\n },\n xSmall: {\n ...baseFonts.xSmall,\n fontFamily: theme.fontFamilyBase,\n fontSize: theme.fontSizeBase100,\n fontWeight: theme.fontWeightRegular as IFontWeight,\n },\n small: {\n ...baseFonts.small,\n fontFamily: theme.fontFamilyBase,\n fontSize: theme.fontSizeBase200,\n fontWeight: theme.fontWeightRegular as IFontWeight,\n },\n smallPlus: {\n ...baseFonts.smallPlus,\n fontFamily: theme.fontFamilyBase,\n fontSize: theme.fontSizeBase200,\n fontWeight: theme.fontWeightRegular as IFontWeight,\n },\n medium: {\n ...baseFonts.medium,\n fontFamily: theme.fontFamilyBase,\n fontSize: theme.fontSizeBase300,\n fontWeight: theme.fontWeightRegular as IFontWeight,\n },\n mediumPlus: {\n ...baseFonts.mediumPlus,\n fontFamily: theme.fontFamilyBase,\n fontSize: theme.fontSizeBase400,\n fontWeight: theme.fontWeightRegular as IFontWeight,\n },\n large: {\n ...baseFonts.large,\n fontFamily: theme.fontFamilyBase,\n fontSize: theme.fontSizeBase400,\n fontWeight: theme.fontWeightRegular as IFontWeight,\n },\n xLarge: {\n ...baseFonts.xxLarge,\n fontFamily: theme.fontFamilyBase,\n fontSize: theme.fontSizeBase500,\n fontWeight: theme.fontWeightSemibold as IFontWeight,\n },\n xxLarge: {\n ...baseFonts.xxLarge,\n fontFamily: theme.fontFamilyBase,\n fontSize: theme.fontSizeHero700,\n fontWeight: theme.fontWeightSemibold as IFontWeight,\n },\n superLarge: {\n ...baseFonts.superLarge,\n fontFamily: theme.fontFamilyBase,\n fontSize: theme.fontSizeHero900,\n fontWeight: theme.fontWeightSemibold as IFontWeight,\n },\n mega: {\n ...baseFonts.mega,\n fontFamily: theme.fontFamilyBase,\n fontSize: theme.fontSizeHero1000,\n fontWeight: theme.fontWeightSemibold as IFontWeight,\n },\n };\n};\n\n/**\n * Overlays v9 shadows and border radii on a base set of v8 effects.\n */\nconst mapEffects = (baseEffects: IEffects, theme: ThemeV9): IEffects => {\n return {\n ...baseEffects,\n elevation4: theme.shadow4,\n elevation8: theme.shadow8,\n elevation16: theme.shadow16,\n elevation64: theme.shadow64,\n roundedCorner2: theme.borderRadiusSmall,\n roundedCorner4: theme.borderRadiusMedium,\n roundedCorner6: theme.borderRadiusLarge,\n };\n};\n\n/**\n * Creates a v8 theme from v9 brand colors and theme.\n * You can optionally pass a v8 base theme.\n * Otherwise the default v8 theme is used.\n *\n * The v9 colors, fonts, and effects are applied on top of the v8 theme\n * to allow v8 components to look as much like v9 components as possible.\n */\nexport const createV8Theme = (\n brandColors: BrandVariants,\n themeV9: ThemeV9,\n isDarkTheme: boolean = false,\n themeV8?: ThemeV8,\n): ThemeV8 => {\n const baseTheme = themeV8 || createTheme({ isInverted: isDarkTheme });\n\n return {\n ...baseTheme,\n palette: mapPalette(brandColors, isDarkTheme),\n semanticColors: mapSemanticColors(baseTheme.semanticColors, themeV9),\n fonts: mapFonts(baseTheme.fonts, themeV9),\n effects: mapEffects(baseTheme.effects, themeV9),\n isInverted: isDarkTheme || themeV8?.isInverted === true,\n };\n};\n"]}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
define(["require", "exports", "@ctrl/tinycolor"], function (require, exports, tinycolor_1) {
|
|
2
|
+
"use strict";
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.createBrandVariants = void 0;
|
|
5
|
+
/**
|
|
6
|
+
* A helper to mix colors using tiny color by an amount and get back a hex string.
|
|
7
|
+
*/
|
|
8
|
+
var mixColors = function (colorA, colorB, amount) {
|
|
9
|
+
return new tinycolor_1.TinyColor(colorA).mix(new tinycolor_1.TinyColor(colorB), amount).toHexString();
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Creates a v9 brand ramp by pairwise mixing v8 palette colors.
|
|
13
|
+
*/
|
|
14
|
+
var mixByPairs = function (palette) {
|
|
15
|
+
return {
|
|
16
|
+
10: palette.themeDarker,
|
|
17
|
+
20: mixColors(palette.themeDarker, palette.themeDark),
|
|
18
|
+
30: palette.themeDark,
|
|
19
|
+
40: mixColors(palette.themeDark, palette.themeDarkAlt),
|
|
20
|
+
50: palette.themeDarkAlt,
|
|
21
|
+
60: mixColors(palette.themeDarkAlt, palette.themePrimary),
|
|
22
|
+
70: palette.themePrimary,
|
|
23
|
+
80: mixColors(palette.themePrimary, palette.themeSecondary),
|
|
24
|
+
90: palette.themeSecondary,
|
|
25
|
+
100: mixColors(palette.themeSecondary, palette.themeTertiary),
|
|
26
|
+
110: palette.themeTertiary,
|
|
27
|
+
120: mixColors(palette.themeTertiary, palette.themeLight),
|
|
28
|
+
130: palette.themeLight,
|
|
29
|
+
140: mixColors(palette.themeLight, palette.themeLighter),
|
|
30
|
+
150: palette.themeLighter,
|
|
31
|
+
160: mixColors(palette.themeLighter, palette.themeLighterAlt),
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Creates a v9 brand ramp by mixing v8 palette colors
|
|
36
|
+
* using steps between themeDarker and themePrimary and
|
|
37
|
+
* between themePrimary and themeLighterAlt.
|
|
38
|
+
*/
|
|
39
|
+
var mixPrimaryAndEnds = function (palette) {
|
|
40
|
+
return {
|
|
41
|
+
10: palette.themeDarker,
|
|
42
|
+
20: mixColors(palette.themeDarker, palette.themePrimary, 20),
|
|
43
|
+
30: mixColors(palette.themeDarker, palette.themePrimary, 30),
|
|
44
|
+
40: mixColors(palette.themeDarker, palette.themePrimary, 40),
|
|
45
|
+
50: mixColors(palette.themeDarker, palette.themePrimary, 50),
|
|
46
|
+
60: mixColors(palette.themeDarker, palette.themePrimary, 60),
|
|
47
|
+
70: mixColors(palette.themeDarker, palette.themePrimary, 70),
|
|
48
|
+
80: palette.themePrimary,
|
|
49
|
+
90: mixColors(palette.themePrimary, palette.themeLighterAlt, 10),
|
|
50
|
+
100: mixColors(palette.themePrimary, palette.themeLighterAlt, 20),
|
|
51
|
+
110: mixColors(palette.themePrimary, palette.themeLighterAlt, 30),
|
|
52
|
+
120: mixColors(palette.themePrimary, palette.themeLighterAlt, 40),
|
|
53
|
+
130: mixColors(palette.themePrimary, palette.themeLighterAlt, 50),
|
|
54
|
+
140: mixColors(palette.themePrimary, palette.themeLighterAlt, 60),
|
|
55
|
+
150: mixColors(palette.themePrimary, palette.themeLighterAlt, 70),
|
|
56
|
+
160: palette.themeLighterAlt,
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Creates v9 brand colors from a v8 palette using interpolation
|
|
61
|
+
* A v8 palette has nine colors and v9 has sixteen colors.
|
|
62
|
+
*/
|
|
63
|
+
var createBrandVariants = function (palette, interpolation) {
|
|
64
|
+
if (interpolation === void 0) { interpolation = 'pairs'; }
|
|
65
|
+
switch (interpolation) {
|
|
66
|
+
case 'primaryAndEnds':
|
|
67
|
+
return mixPrimaryAndEnds(palette);
|
|
68
|
+
case 'pairs':
|
|
69
|
+
default:
|
|
70
|
+
return mixByPairs(palette);
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
exports.createBrandVariants = createBrandVariants;
|
|
74
|
+
});
|
|
75
|
+
//# sourceMappingURL=v9BrandVariantsShim.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v9BrandVariantsShim.js","sourceRoot":"../src/","sources":["components/Theme/v9BrandVariantsShim.ts"],"names":[],"mappings":";;;;IAKA;;OAEG;IACH,IAAM,SAAS,GAAG,UAAC,MAAkB,EAAE,MAAkB,EAAE,MAAe;QACxE,OAAO,IAAI,qBAAS,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,IAAI,qBAAS,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,WAAW,EAAE,CAAC;IAChF,CAAC,CAAC;IAEF;;OAEG;IACH,IAAM,UAAU,GAAG,UAAC,OAAiB;QACnC,OAAO;YACL,EAAE,EAAE,OAAO,CAAC,WAAW;YACvB,EAAE,EAAE,SAAS,CAAC,OAAO,CAAC,WAAW,EAAE,OAAO,CAAC,SAAS,CAAC;YACrD,EAAE,EAAE,OAAO,CAAC,SAAS;YACrB,EAAE,EAAE,SAAS,CAAC,OAAO,CAAC,SAAS,EAAE,OAAO,CAAC,YAAY,CAAC;YACtD,EAAE,EAAE,OAAO,CAAC,YAAY;YACxB,EAAE,EAAE,SAAS,CAAC,OAAO,CAAC,YAAY,EAAE,OAAO,CAAC,YAAY,CAAC;YACzD,EAAE,EAAE,OAAO,CAAC,YAAY;YACxB,EAAE,EAAE,SAAS,CAAC,OAAO,CAAC,YAAY,EAAE,OAAO,CAAC,cAAc,CAAC;YAC3D,EAAE,EAAE,OAAO,CAAC,cAAc;YAC1B,GAAG,EAAE,SAAS,CAAC,OAAO,CAAC,cAAc,EAAE,OAAO,CAAC,aAAa,CAAC;YAC7D,GAAG,EAAE,OAAO,CAAC,aAAa;YAC1B,GAAG,EAAE,SAAS,CAAC,OAAO,CAAC,aAAa,EAAE,OAAO,CAAC,UAAU,CAAC;YACzD,GAAG,EAAE,OAAO,CAAC,UAAU;YACvB,GAA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CAAC,eAAe,EAAE,EAAE,CAAC;YACjE,GAAG,EAAE,SAAS,CAAC,OAAO,CAAC,YAAY,EAAE,OAAO,CAAC,eAAe,EAAE,EAAE,CAAC;YACjE,GAAG,EAAE,SAAS,CAAC,OAAO,CAAC,YAAY,EAAE,OAAO,CAAC,eAAe,EAAE,EAAE,CAAC;YACjE,GAAG,EAAE,SAAS,CAAC,OAAO,CAAC,YAAY,EAAE,OAAO,CAAC,eAAe,EAAE,EAAE,CAAC;YACjE,GAAG,EAAE,OAAO,CAAC,eAAe;SAC7B,CAAC;IACJ,CAAC,CAAC;IAIF;;;OAGG;IACI,IAAM,mBAAmB,GAAG,UAAC,OAAiB,EAAE,aAAsC;QAAtC,8BAAA,EAAA,uBAAsC;QAC3F,QAAQ,aAAa,EAAE;YACrB,KAAK,gBAAgB;gBACnB,OAAO,iBAAiB,CAAC,OAAO,CAAC,CAAC;YACpC,KAAK,OAAO,CAAC;YACb;gBACE,OAAO,UAAU,CAAC,OAAO,CAAC,CAAC;SAC9B;IACH,CAAC,CAAC;IARW,QAAA,mBAAmB,uBAQ9B","sourcesContent":["import type { IPalette } from '@fluentui/react';\nimport type { BrandVariants } from '@fluentui/react-components';\nimport { TinyColor } from '@ctrl/tinycolor';\nimport type { ColorInput } from '@ctrl/tinycolor';\n\n/**\n * A helper to mix colors using tiny color by an amount and get back a hex string.\n */\nconst mixColors = (colorA: ColorInput, colorB: ColorInput, amount?: number) => {\n return new TinyColor(colorA).mix(new TinyColor(colorB), amount).toHexString();\n};\n\n/**\n * Creates a v9 brand ramp by pairwise mixing v8 palette colors.\n */\nconst mixByPairs = (palette: IPalette): BrandVariants => {\n return {\n 10: palette.themeDarker,\n 20: mixColors(palette.themeDarker, palette.themeDark),\n 30: palette.themeDark,\n 40: mixColors(palette.themeDark, palette.themeDarkAlt),\n 50: palette.themeDarkAlt,\n 60: mixColors(palette.themeDarkAlt, palette.themePrimary),\n 70: palette.themePrimary,\n 80: mixColors(palette.themePrimary, palette.themeSecondary),\n 90: palette.themeSecondary,\n 100: mixColors(palette.themeSecondary, palette.themeTertiary),\n 110: palette.themeTertiary,\n 120: mixColors(palette.themeTertiary, palette.themeLight),\n 130: palette.themeLight,\n 140: mixColors(palette.themeLight, palette.themeLighter),\n 150: palette.themeLighter,\n 160: mixColors(palette.themeLighter, palette.themeLighterAlt),\n };\n};\n\n/**\n * Creates a v9 brand ramp by mixing v8 palette colors\n * using steps between themeDarker and themePrimary and\n * between themePrimary and themeLighterAlt.\n */\nconst mixPrimaryAndEnds = (palette: IPalette): BrandVariants => {\n return {\n 10: palette.themeDarker,\n 20: mixColors(palette.themeDarker, palette.themePrimary, 20),\n 30: mixColors(palette.themeDarker, palette.themePrimary, 30),\n 40: mixColors(palette.themeDarker, palette.themePrimary, 40),\n 50: mixColors(palette.themeDarker, palette.themePrimary, 50),\n 60: mixColors(palette.themeDarker, palette.themePrimary, 60),\n 70: mixColors(palette.themeDarker, palette.themePrimary, 70),\n 80: palette.themePrimary,\n 90: mixColors(palette.themePrimary, palette.themeLighterAlt, 10),\n 100: mixColors(palette.themePrimary, palette.themeLighterAlt, 20),\n 110: mixColors(palette.themePrimary, palette.themeLighterAlt, 30),\n 120: mixColors(palette.themePrimary, palette.themeLighterAlt, 40),\n 130: mixColors(palette.themePrimary, palette.themeLighterAlt, 50),\n 140: mixColors(palette.themePrimary, palette.themeLighterAlt, 60),\n 150: mixColors(palette.themePrimary, palette.themeLighterAlt, 70),\n 160: palette.themeLighterAlt,\n };\n};\n\ntype Interpolation = 'pairs' | 'primaryAndEnds';\n\n/**\n * Creates v9 brand colors from a v8 palette using interpolation\n * A v8 palette has nine colors and v9 has sixteen colors.\n */\nexport const createBrandVariants = (palette: IPalette, interpolation: Interpolation = 'pairs'): BrandVariants => {\n switch (interpolation) {\n case 'primaryAndEnds':\n return mixPrimaryAndEnds(palette);\n case 'pairs':\n default:\n return mixByPairs(palette);\n }\n};\n"]}
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
define(["require", "exports", "tslib", "@fluentui/react-components", "./themeDuplicates"], function (require, exports, tslib_1, react_components_1, themeDuplicates_1) {
|
|
2
|
+
"use strict";
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.createV9Theme = void 0;
|
|
5
|
+
/**
|
|
6
|
+
* Creates v9 color tokens from a v8 palette.
|
|
7
|
+
*/
|
|
8
|
+
var mapAliasColors = function (palette, inverted) {
|
|
9
|
+
return {
|
|
10
|
+
colorNeutralForeground1: palette.neutralPrimary,
|
|
11
|
+
colorNeutralForeground1Hover: palette.neutralPrimary,
|
|
12
|
+
colorNeutralForeground1Pressed: palette.neutralPrimary,
|
|
13
|
+
colorNeutralForeground1Selected: palette.neutralPrimary,
|
|
14
|
+
colorNeutralForeground2: palette.neutralSecondary,
|
|
15
|
+
colorNeutralForeground2Hover: palette.neutralPrimary,
|
|
16
|
+
colorNeutralForeground2Pressed: palette.neutralPrimary,
|
|
17
|
+
colorNeutralForeground2Selected: palette.neutralPrimary,
|
|
18
|
+
colorNeutralForeground2BrandHover: palette.themePrimary,
|
|
19
|
+
colorNeutralForeground2BrandPressed: palette.themeDarkAlt,
|
|
20
|
+
colorNeutralForeground2BrandSelected: palette.themePrimary,
|
|
21
|
+
colorNeutralForeground3: palette.neutralTertiary,
|
|
22
|
+
colorNeutralForeground3Hover: palette.neutralSecondary,
|
|
23
|
+
colorNeutralForeground3Pressed: palette.neutralSecondary,
|
|
24
|
+
colorNeutralForeground3Selected: palette.neutralSecondary,
|
|
25
|
+
colorNeutralForeground3BrandHover: palette.themePrimary,
|
|
26
|
+
colorNeutralForeground3BrandPressed: palette.themeDarkAlt,
|
|
27
|
+
colorNeutralForeground3BrandSelected: palette.themePrimary,
|
|
28
|
+
colorNeutralForeground4: palette.neutralQuaternary,
|
|
29
|
+
colorNeutralForegroundDisabled: palette.neutralTertiaryAlt,
|
|
30
|
+
colorNeutralForegroundInvertedDisabled: themeDuplicates_1.whiteAlpha[40],
|
|
31
|
+
colorBrandForegroundLink: palette.themeDarkAlt,
|
|
32
|
+
colorBrandForegroundLinkHover: palette.themeDark,
|
|
33
|
+
colorBrandForegroundLinkPressed: palette.themeDarker,
|
|
34
|
+
colorBrandForegroundLinkSelected: palette.themeDarkAlt,
|
|
35
|
+
colorNeutralForeground2Link: palette.neutralSecondary,
|
|
36
|
+
colorNeutralForeground2LinkHover: palette.neutralPrimary,
|
|
37
|
+
colorNeutralForeground2LinkPressed: palette.neutralPrimary,
|
|
38
|
+
colorNeutralForeground2LinkSelected: palette.neutralPrimary,
|
|
39
|
+
colorCompoundBrandForeground1: palette.themePrimary,
|
|
40
|
+
colorCompoundBrandForeground1Hover: palette.themeDarkAlt,
|
|
41
|
+
colorCompoundBrandForeground1Pressed: palette.themeDark,
|
|
42
|
+
colorBrandForeground1: palette.themePrimary,
|
|
43
|
+
colorBrandForeground2: palette.themeDarkAlt,
|
|
44
|
+
colorNeutralForeground1Static: palette.neutralPrimary,
|
|
45
|
+
colorNeutralForegroundInverted: palette.white,
|
|
46
|
+
colorNeutralForegroundInvertedHover: palette.white,
|
|
47
|
+
colorNeutralForegroundInvertedPressed: palette.white,
|
|
48
|
+
colorNeutralForegroundInvertedSelected: palette.white,
|
|
49
|
+
colorNeutralForegroundOnBrand: palette.white,
|
|
50
|
+
colorNeutralForegroundStaticInverted: palette.white,
|
|
51
|
+
colorNeutralForegroundInvertedLink: palette.white,
|
|
52
|
+
colorNeutralForegroundInvertedLinkHover: palette.white,
|
|
53
|
+
colorNeutralForegroundInvertedLinkPressed: palette.white,
|
|
54
|
+
colorNeutralForegroundInvertedLinkSelected: palette.white,
|
|
55
|
+
colorNeutralForegroundInverted2: palette.white,
|
|
56
|
+
colorBrandForegroundInverted: palette.themeSecondary,
|
|
57
|
+
colorBrandForegroundInvertedHover: palette.themeTertiary,
|
|
58
|
+
colorBrandForegroundInvertedPressed: palette.themeSecondary,
|
|
59
|
+
colorBrandForegroundOnLight: palette.themePrimary,
|
|
60
|
+
colorBrandForegroundOnLightHover: palette.themeDarkAlt,
|
|
61
|
+
colorBrandForegroundOnLightPressed: palette.themeDark,
|
|
62
|
+
colorBrandForegroundOnLightSelected: palette.themeDark,
|
|
63
|
+
colorNeutralBackground1: palette.white,
|
|
64
|
+
colorNeutralBackground1Hover: palette.neutralLighter,
|
|
65
|
+
colorNeutralBackground1Pressed: palette.neutralQuaternaryAlt,
|
|
66
|
+
colorNeutralBackground1Selected: palette.neutralLight,
|
|
67
|
+
colorNeutralBackground2: palette.neutralLighterAlt,
|
|
68
|
+
colorNeutralBackground2Hover: palette.neutralLighter,
|
|
69
|
+
colorNeutralBackground2Pressed: palette.neutralQuaternaryAlt,
|
|
70
|
+
colorNeutralBackground2Selected: palette.neutralLight,
|
|
71
|
+
colorNeutralBackground3: palette.neutralLighter,
|
|
72
|
+
colorNeutralBackground3Hover: palette.neutralLight,
|
|
73
|
+
colorNeutralBackground3Pressed: palette.neutralQuaternary,
|
|
74
|
+
colorNeutralBackground3Selected: palette.neutralQuaternaryAlt,
|
|
75
|
+
colorNeutralBackground4: palette.neutralLighter,
|
|
76
|
+
colorNeutralBackground4Hover: palette.neutralLighterAlt,
|
|
77
|
+
colorNeutralBackground4Pressed: palette.neutralLighter,
|
|
78
|
+
colorNeutralBackground4Selected: palette.white,
|
|
79
|
+
colorNeutralBackground5: palette.neutralLight,
|
|
80
|
+
colorNeutralBackground5Hover: palette.neutralLighter,
|
|
81
|
+
colorNeutralBackground5Pressed: palette.neutralLighter,
|
|
82
|
+
colorNeutralBackground5Selected: palette.neutralLighterAlt,
|
|
83
|
+
colorNeutralBackground6: palette.neutralLight,
|
|
84
|
+
colorNeutralBackgroundStatic: themeDuplicates_1.grey[20],
|
|
85
|
+
colorNeutralBackgroundInverted: palette.neutralSecondary,
|
|
86
|
+
colorSubtleBackground: 'transparent',
|
|
87
|
+
colorSubtleBackgroundHover: palette.neutralLighter,
|
|
88
|
+
colorSubtleBackgroundPressed: palette.neutralQuaternaryAlt,
|
|
89
|
+
colorSubtleBackgroundSelected: palette.neutralLight,
|
|
90
|
+
colorSubtleBackgroundLightAlphaHover: inverted ? themeDuplicates_1.whiteAlpha[10] : themeDuplicates_1.whiteAlpha[80],
|
|
91
|
+
colorSubtleBackgroundLightAlphaPressed: inverted ? themeDuplicates_1.whiteAlpha[5] : themeDuplicates_1.whiteAlpha[50],
|
|
92
|
+
colorSubtleBackgroundLightAlphaSelected: 'transparent',
|
|
93
|
+
colorSubtleBackgroundInverted: 'transparent',
|
|
94
|
+
colorSubtleBackgroundInvertedHover: themeDuplicates_1.blackAlpha[10],
|
|
95
|
+
colorSubtleBackgroundInvertedPressed: themeDuplicates_1.blackAlpha[30],
|
|
96
|
+
colorSubtleBackgroundInvertedSelected: themeDuplicates_1.blackAlpha[20],
|
|
97
|
+
colorTransparentBackground: 'transparent',
|
|
98
|
+
colorTransparentBackgroundHover: 'transparent',
|
|
99
|
+
colorTransparentBackgroundPressed: 'transparent',
|
|
100
|
+
colorTransparentBackgroundSelected: 'transparent',
|
|
101
|
+
colorNeutralBackgroundDisabled: palette.neutralLighter,
|
|
102
|
+
colorNeutralBackgroundInvertedDisabled: themeDuplicates_1.whiteAlpha[10],
|
|
103
|
+
colorNeutralStencil1: palette.neutralLight,
|
|
104
|
+
colorNeutralStencil2: palette.neutralLighterAlt,
|
|
105
|
+
colorBackgroundOverlay: themeDuplicates_1.blackAlpha[10],
|
|
106
|
+
colorScrollbarOverlay: themeDuplicates_1.blackAlpha[50],
|
|
107
|
+
colorBrandBackground: palette.themePrimary,
|
|
108
|
+
colorBrandBackgroundHover: palette.themeDarkAlt,
|
|
109
|
+
colorBrandBackgroundPressed: palette.themeDarker,
|
|
110
|
+
colorBrandBackgroundSelected: palette.themeDark,
|
|
111
|
+
colorCompoundBrandBackground: palette.themePrimary,
|
|
112
|
+
colorCompoundBrandBackgroundHover: palette.themeDarkAlt,
|
|
113
|
+
colorCompoundBrandBackgroundPressed: palette.themeDark,
|
|
114
|
+
colorBrandBackgroundStatic: palette.themePrimary,
|
|
115
|
+
colorBrandBackground2: palette.themeLighterAlt,
|
|
116
|
+
colorBrandBackgroundInverted: palette.white,
|
|
117
|
+
colorBrandBackgroundInvertedHover: palette.themeLighterAlt,
|
|
118
|
+
colorBrandBackgroundInvertedPressed: palette.themeLight,
|
|
119
|
+
colorBrandBackgroundInvertedSelected: palette.themeLighter,
|
|
120
|
+
colorNeutralStrokeAccessible: palette.neutralSecondary,
|
|
121
|
+
colorNeutralStrokeAccessibleHover: palette.neutralSecondary,
|
|
122
|
+
colorNeutralStrokeAccessiblePressed: palette.neutralSecondary,
|
|
123
|
+
colorNeutralStrokeAccessibleSelected: palette.themePrimary,
|
|
124
|
+
colorNeutralStroke1: palette.neutralQuaternary,
|
|
125
|
+
colorNeutralStroke1Hover: palette.neutralTertiaryAlt,
|
|
126
|
+
colorNeutralStroke1Pressed: palette.neutralTertiaryAlt,
|
|
127
|
+
colorNeutralStroke1Selected: palette.neutralTertiaryAlt,
|
|
128
|
+
colorNeutralStroke2: palette.neutralQuaternaryAlt,
|
|
129
|
+
colorNeutralStroke3: palette.neutralLighter,
|
|
130
|
+
colorNeutralStrokeOnBrand: palette.white,
|
|
131
|
+
colorNeutralStrokeOnBrand2: palette.white,
|
|
132
|
+
colorNeutralStrokeOnBrand2Hover: palette.white,
|
|
133
|
+
colorNeutralStrokeOnBrand2Pressed: palette.white,
|
|
134
|
+
colorNeutralStrokeOnBrand2Selected: palette.white,
|
|
135
|
+
colorBrandStroke1: palette.themePrimary,
|
|
136
|
+
colorBrandStroke2: palette.themeLight,
|
|
137
|
+
colorCompoundBrandStroke: palette.themePrimary,
|
|
138
|
+
colorCompoundBrandStrokeHover: palette.themeDarkAlt,
|
|
139
|
+
colorCompoundBrandStrokePressed: palette.themeDark,
|
|
140
|
+
colorNeutralStrokeDisabled: palette.neutralQuaternaryAlt,
|
|
141
|
+
colorNeutralStrokeInvertedDisabled: themeDuplicates_1.whiteAlpha[40],
|
|
142
|
+
colorTransparentStroke: 'transparent',
|
|
143
|
+
colorTransparentStrokeInteractive: 'transparent',
|
|
144
|
+
colorTransparentStrokeDisabled: 'transparent',
|
|
145
|
+
colorStrokeFocus1: palette.white,
|
|
146
|
+
colorStrokeFocus2: palette.black,
|
|
147
|
+
colorNeutralShadowAmbient: 'rgba(0,0,0,0.12)',
|
|
148
|
+
colorNeutralShadowKey: 'rgba(0,0,0,0.14)',
|
|
149
|
+
colorNeutralShadowAmbientLighter: 'rgba(0,0,0,0.06)',
|
|
150
|
+
colorNeutralShadowKeyLighter: 'rgba(0,0,0,0.07)',
|
|
151
|
+
colorNeutralShadowAmbientDarker: 'rgba(0,0,0,0.20)',
|
|
152
|
+
colorNeutralShadowKeyDarker: 'rgba(0,0,0,0.24)',
|
|
153
|
+
colorBrandShadowAmbient: 'rgba(0,0,0,0.30)',
|
|
154
|
+
colorBrandShadowKey: 'rgba(0,0,0,0.25)',
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* Creates v9 shadow tokens from v8 effects.
|
|
159
|
+
*/
|
|
160
|
+
var mapShadowTokens = function (effects) {
|
|
161
|
+
return {
|
|
162
|
+
shadow4: effects.elevation4,
|
|
163
|
+
shadow8: effects.elevation8,
|
|
164
|
+
shadow16: effects.elevation16,
|
|
165
|
+
shadow64: effects.elevation64,
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
/**
|
|
169
|
+
* Creates v9 border radius tokens from v8 effects
|
|
170
|
+
*/
|
|
171
|
+
var mapBorderRadiusTokens = function (effects) {
|
|
172
|
+
return {
|
|
173
|
+
borderRadiusSmall: effects.roundedCorner2,
|
|
174
|
+
borderRadiusMedium: effects.roundedCorner4,
|
|
175
|
+
borderRadiusLarge: effects.roundedCorner6,
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
/**
|
|
179
|
+
* Creates a v9 theme from a v8 theme.
|
|
180
|
+
* You can optional pass a base v9 theme; otherwise webLightTheme is used.
|
|
181
|
+
*/
|
|
182
|
+
var createV9Theme = function (themeV8, baseThemeV9) {
|
|
183
|
+
var baseTheme = baseThemeV9 !== null && baseThemeV9 !== void 0 ? baseThemeV9 : react_components_1.webLightTheme;
|
|
184
|
+
return tslib_1.__assign(tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, baseTheme), mapAliasColors(themeV8.palette, themeV8.isInverted)), mapShadowTokens(themeV8.effects)), mapBorderRadiusTokens(themeV8.effects));
|
|
185
|
+
};
|
|
186
|
+
exports.createV9Theme = createV9Theme;
|
|
187
|
+
});
|
|
188
|
+
//# sourceMappingURL=v9ThemeShim.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v9ThemeShim.js","sourceRoot":"../src/","sources":["components/Theme/v9ThemeShim.ts"],"names":[],"mappings":";;;;IAMA;;OAEG;IACH,IAAM,cAAc,GAAG,UAAC,OAAiB,EAAE,QAAiB;QAC1D,OAAO;YACL,uBAAuB,EAAE,OAAO,CAAC,cAAc;YAC/C,4BAA4B,EAAE,OAAO,CAAC,cAAc;YACpD,8BAA8B,EAAE,OAAO,CAAC,cAAc;YACtD,+BAA+B,EAAE,OAAO,CAAC,cAAc;YACvD,uBAAuB,EAAE,OAAO,CAAC,gBAAgB;YACjD,4BAA4B,EAAE,OAAO,CAAC,cAAc;YACpD,8BAA8B,EAAE,OAAO,CAAC,cAAc;YACtD,+BAA+B,EAAE,OAAO,CAAC,cAAc;YACvD,iCAAiC,EAAE,OAAO,CAAC,YAAY;YACvD,mCAAmC,EAAE,OAAO,CAAC,YAAY;YACzD,oCAAoC,EAAE,OAAO,CAAC,YAAY;YAC1D,uBAAuB,EAAE,OAAO,CAAC,eAAe;YAChD,4BAA4B,EAAE,OAAO,CAAC,gBAAgB;YACtD,8BAA8B,EAAE,OAAO,CAAC,gBAAgB;YACxD,+BAA+B,EAAE,OAAO,CAAC,gBAAgB;YACzD,iCAAiC,EAAE,OAAO,CAAC,YAAY;YACvD,mCAAmC,EAAE,OAAO,CAAC,YAAY;YAC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kB;YAChD,+BAA+B,EAAE,kBAAkB;YACnD,2BAA2B,EAAE,kBAAkB;YAC/C,uBAAuB,EAAE,kBAAkB;YAC3C,mBAAmB,EAAE,kBAAkB;SACxC,CAAC;IACJ,CAAC,CAAC;IAEF;;OAEG;IACH,IAAM,eAAe,GAAG,UAAC,OAAiB;QACxC,OAAO;YACL,OAAO,EAAE,OAAO,CAAC,UAAU;YAC3B,OAAO,EAAE,OAAO,CAAC,UAAU;YAC3B,QAAQ,EAAE,OAAO,CAAC,WAAW;YAC7B,QAAQ,EAAE,OAAO,CAAC,WAAW;SAC9B,CAAC;IACJ,CAAC,CAAC;IAEF;;OAEG;IACH,IAAM,qBAAqB,GAAG,UAAC,OAAiB;QAC9C,OAAO;YACL,iBAAiB,EAAE,OAAO,CAAC,cAAc;YACzC,kBAAkB,EAAE,OAAO,CAAC,cAAc;YAC1C,iBAAiB,EAAE,OAAO,CAAC,cAAc;SAC1C,CAAC;IACJ,CAAC,CAAC;IAEF;;;OAGG;IACI,IAAM,aAAa,GAAG,UAAC,OAAgB,EAAE,WAAqB;QACnE,IAAM,SAAS,GAAG,WAAW,aAAX,WAAW,cAAX,WAAW,GAAI,gCAAa,CAAC;QAE/C,+EACK,SAAS,GACT,cAAc,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC,UAAU,CAAC,GACnD,eAAe,CAAC,OAAO,CAAC,OAAO,CAAC,GAChC,qBAAqB,CAAC,OAAO,CAAC,OAAO,CAAC,EACzC;IACJ,CAAC,CAAC;IATW,QAAA,aAAa,iBASxB","sourcesContent":["import { Theme as ThemeV8 } from '@fluentui/react';\nimport type { IEffects, IPalette } from '@fluentui/react';\nimport { Theme as ThemeV9, webLightTheme } from '@fluentui/react-components';\nimport type { BorderRadiusTokens, ColorTokens, ShadowTokens } from '@fluentui/react-components';\nimport { blackAlpha, whiteAlpha, grey } from './themeDuplicates';\n\n/**\n * Creates v9 color tokens from a v8 palette.\n */\nconst mapAliasColors = (palette: IPalette, inverted: boolean): ColorTokens => {\n return {\n colorNeutralForeground1: palette.neutralPrimary,\n colorNeutralForeground1Hover: palette.neutralPrimary,\n colorNeutralForeground1Pressed: palette.neutralPrimary,\n colorNeutralForeground1Selected: palette.neutralPrimary,\n colorNeutralForeground2: palette.neutralSecondary,\n colorNeutralForeground2Hover: palette.neutralPrimary,\n colorNeutralForeground2Pressed: palette.neutralPrimary,\n colorNeutralForeground2Selected: palette.neutralPrimary,\n colorNeutralForeground2BrandHover: palette.themePrimary,\n colorNeutralForeground2BrandPressed: palette.themeDarkAlt,\n colorNeutralForeground2BrandSelected: palette.themePrimary,\n colorNeutralForeground3: palette.neutralTertiary,\n colorNeutralForeground3Hover: palette.neutralSecondary,\n colorNeutralForeground3Pressed: palette.neutralSecondary,\n colorNeutralForeground3Selected: palette.neutralSecondary,\n colorNeutralForeground3BrandHover: palette.themePrimary,\n colorNeutralForeground3BrandPressed: palette.themeDarkAlt,\n colorNeutralForeground3BrandSelected: palette.themePrimary,\n colorNeutralForeground4: palette.neutralQuaternary,\n colorNeutralForegroundDisabled: palette.neutralTertiaryAlt,\n colorNeutralForegroundInvertedDisabled: whiteAlpha[40],\n colorBrandForegroundLink: palette.themeDarkAlt,\n colorBrandForegroundLinkHover: palette.themeDark,\n colorBrandForegroundLinkPressed: palette.themeDarker,\n colorBrandForegroundLinkSelected: palette.themeDarkAlt,\n colorNeutralForeground2Link: palette.neutralSecondary,\n colorNeutralForeground2LinkHover: palette.neutralPrimary,\n colorNeutralForeground2LinkPressed: palette.neutralPrimary,\n colorNeutralForeground2LinkSelected: palette.neutralPrimary,\n colorCompoundBrandForeground1: palette.themePrimary,\n colorCompoundBrandForeground1Hover: palette.themeDarkAlt,\n colorCompoundBrandForeground1Pressed: palette.themeDark,\n colorBrandForeground1: palette.themePrimary,\n colorBrandForeground2: palette.themeDarkAlt,\n colorNeutralForeground1Static: palette.neutralPrimary,\n colorNeutralForegroundInverted: palette.white,\n colorNeutralForegroundInvertedHover: palette.white,\n colorNeutralForegroundInvertedPressed: palette.white,\n colorNeutralForegroundInvertedSelected: palette.white,\n colorNeutralForegroundOnBrand: palette.white,\n colorNeutralForegroundStaticInverted: palette.white,\n colorNeutralForegroundInvertedLink: palette.white,\n colorNeutralForegroundInvertedLinkHover: palette.white,\n colorNeutralForegroundInvertedLinkPressed: palette.white,\n colorNeutralForegroundInvertedLinkSelected: palette.white,\n colorNeutralForegroundInverted2: palette.white,\n colorBrandForegroundInverted: palette.themeSecondary,\n colorBrandForegroundInvertedHover: palette.themeTertiary,\n colorBrandForegroundInvertedPressed: palette.themeSecondary,\n colorBrandForegroundOnLight: palette.themePrimary,\n colorBrandForegroundOnLightHover: palette.themeDarkAlt,\n colorBrandForegroundOnLightPressed: palette.themeDark,\n colorBrandForegroundOnLightSelected: palette.themeDark,\n colorNeutralBackground1: palette.white,\n colorNeutralBackground1Hover: palette.neutralLighter,\n colorNeutralBackground1Pressed: palette.neutralQuaternaryAlt,\n colorNeutralBackground1Selected: palette.neutralLight,\n colorNeutralBackground2: palette.neutralLighterAlt,\n colorNeutralBackground2Hover: palette.neutralLighter,\n colorNeutralBackground2Pressed: palette.neutralQuaternaryAlt,\n colorNeutralBackground2Selected: palette.neutralLight,\n colorNeutralBackground3: palette.neutralLighter,\n colorNeutralBackground3Hover: palette.neutralLight,\n colorNeutralBackground3Pressed: palette.neutralQuaternary,\n colorNeutralBackground3Selected: palette.neutralQuaternaryAlt,\n colorNeutralBackground4: palette.neutralLighter,\n colorNeutralBackground4Hover: palette.neutralLighterAlt,\n colorNeutralBackground4Pressed: palette.neutralLighter,\n colorNeutralBackground4Selected: palette.white,\n colorNeutralBackground5: palette.neutralLight,\n colorNeutralBackground5Hover: palette.neutralLighter,\n colorNeutralBackground5Pressed: palette.neutralLighter,\n colorNeutralBackground5Selected: palette.neutralLighterAlt,\n colorNeutralBackground6: palette.neutralLight,\n colorNeutralBackgroundStatic: grey[20],\n colorNeutralBackgroundInverted: palette.neutralSecondary,\n colorSubtleBackground: 'transparent',\n colorSubtleBackgroundHover: palette.neutralLighter,\n colorSubtleBackgroundPressed: palette.neutralQuaternaryAlt,\n colorSubtleBackgroundSelected: palette.neutralLight,\n colorSubtleBackgroundLightAlphaHover: inverted ? whiteAlpha[10] : whiteAlpha[80],\n colorSubtleBackgroundLightAlphaPressed: inverted ? whiteAlpha[5] : whiteAlpha[50],\n colorSubtleBackgroundLightAlphaSelected: 'transparent',\n colorSubtleBackgroundInverted: 'transparent',\n colorSubtleBackgroundInvertedHover: blackAlpha[10],\n colorSubtleBackgroundInvertedPressed: blackAlpha[30],\n colorSubtleBackgroundInvertedSelected: blackAlpha[20],\n colorTransparentBackground: 'transparent',\n colorTransparentBackgroundHover: 'transparent',\n colorTransparentBackgroundPressed: 'transparent',\n colorTransparentBackgroundSelected: 'transparent',\n colorNeutralBackgroundDisabled: palette.neutralLighter,\n colorNeutralBackgroundInvertedDisabled: whiteAlpha[10],\n colorNeutralStencil1: palette.neutralLight,\n colorNeutralStencil2: palette.neutralLighterAlt,\n colorBackgroundOverlay: blackAlpha[10],\n colorScrollbarOverlay: blackAlpha[50],\n colorBrandBackground: palette.themePrimary,\n colorBrandBackgroundHover: palette.themeDarkAlt,\n colorBrandBackgroundPressed: palette.themeDarker,\n colorBrandBackgroundSelected: palette.themeDark,\n colorCompoundBrandBackground: palette.themePrimary,\n colorCompoundBrandBackgroundHover: palette.themeDarkAlt,\n colorCompoundBrandBackgroundPressed: palette.themeDark,\n colorBrandBackgroundStatic: palette.themePrimary,\n colorBrandBackground2: palette.themeLighterAlt,\n colorBrandBackgroundInverted: palette.white,\n colorBrandBackgroundInvertedHover: palette.themeLighterAlt,\n colorBrandBackgroundInvertedPressed: palette.themeLight,\n colorBrandBackgroundInvertedSelected: palette.themeLighter,\n colorNeutralStrokeAccessible: palette.neutralSecondary,\n colorNeutralStrokeAccessibleHover: palette.neutralSecondary,\n colorNeutralStrokeAccessiblePressed: palette.neutralSecondary,\n colorNeutralStrokeAccessibleSelected: palette.themePrimary,\n colorNeutralStroke1: palette.neutralQuaternary,\n colorNeutralStroke1Hover: palette.neutralTertiaryAlt,\n colorNeutralStroke1Pressed: palette.neutralTertiaryAlt,\n colorNeutralStroke1Selected: palette.neutralTertiaryAlt,\n colorNeutralStroke2: palette.neutralQuaternaryAlt,\n colorNeutralStroke3: palette.neutralLighter,\n colorNeutralStrokeOnBrand: palette.white,\n colorNeutralStrokeOnBrand2: palette.white,\n colorNeutralStrokeOnBrand2Hover: palette.white,\n colorNeutralStrokeOnBrand2Pressed: palette.white,\n colorNeutralStrokeOnBrand2Selected: palette.white,\n colorBrandStroke1: palette.themePrimary,\n colorBrandStroke2: palette.themeLight,\n colorCompoundBrandStroke: palette.themePrimary,\n colorCompoundBrandStrokeHover: palette.themeDarkAlt,\n colorCompoundBrandStrokePressed: palette.themeDark,\n colorNeutralStrokeDisabled: palette.neutralQuaternaryAlt,\n colorNeutralStrokeInvertedDisabled: whiteAlpha[40],\n colorTransparentStroke: 'transparent',\n colorTransparentStrokeInteractive: 'transparent',\n colorTransparentStrokeDisabled: 'transparent',\n colorStrokeFocus1: palette.white,\n colorStrokeFocus2: palette.black,\n colorNeutralShadowAmbient: 'rgba(0,0,0,0.12)',\n colorNeutralShadowKey: 'rgba(0,0,0,0.14)',\n colorNeutralShadowAmbientLighter: 'rgba(0,0,0,0.06)',\n colorNeutralShadowKeyLighter: 'rgba(0,0,0,0.07)',\n colorNeutralShadowAmbientDarker: 'rgba(0,0,0,0.20)',\n colorNeutralShadowKeyDarker: 'rgba(0,0,0,0.24)',\n colorBrandShadowAmbient: 'rgba(0,0,0,0.30)',\n colorBrandShadowKey: 'rgba(0,0,0,0.25)',\n };\n};\n\n/**\n * Creates v9 shadow tokens from v8 effects.\n */\nconst mapShadowTokens = (effects: IEffects): Partial<ShadowTokens> => {\n return {\n shadow4: effects.elevation4,\n shadow8: effects.elevation8,\n shadow16: effects.elevation16,\n shadow64: effects.elevation64,\n };\n};\n\n/**\n * Creates v9 border radius tokens from v8 effects\n */\nconst mapBorderRadiusTokens = (effects: IEffects): Partial<BorderRadiusTokens> => {\n return {\n borderRadiusSmall: effects.roundedCorner2,\n borderRadiusMedium: effects.roundedCorner4,\n borderRadiusLarge: effects.roundedCorner6,\n };\n};\n\n/**\n * Creates a v9 theme from a v8 theme.\n * You can optional pass a base v9 theme; otherwise webLightTheme is used.\n */\nexport const createV9Theme = (themeV8: ThemeV8, baseThemeV9?: ThemeV9): ThemeV9 => {\n const baseTheme = baseThemeV9 ?? webLightTheme;\n\n return {\n ...baseTheme,\n ...mapAliasColors(themeV8.palette, themeV8.isInverted),\n ...mapShadowTokens(themeV8.effects),\n ...mapBorderRadiusTokens(themeV8.effects),\n };\n};\n"]}
|