@fluentui/react-theme 9.0.0-alpha.9 → 9.0.0-beta.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 +486 -1
- package/CHANGELOG.md +197 -2
- package/dist/react-theme.d.ts +367 -0
- package/lib/alias/dark.d.ts +3 -0
- package/lib/alias/dark.js +155 -0
- package/lib/alias/dark.js.map +1 -0
- package/lib/alias/highContrast.d.ts +3 -0
- package/lib/alias/highContrast.js +155 -0
- package/lib/alias/highContrast.js.map +1 -0
- package/lib/alias/light.d.ts +3 -0
- package/lib/alias/light.js +155 -0
- package/lib/alias/light.js.map +1 -0
- package/lib/alias/teamsDark.d.ts +3 -0
- package/lib/alias/teamsDark.js +155 -0
- package/lib/alias/teamsDark.js.map +1 -0
- package/lib/global/borderRadius.d.ts +2 -2
- package/lib/global/borderRadius.js +7 -7
- package/lib/global/borderRadius.js.map +1 -1
- package/lib/global/brandColors.d.ts +3 -0
- package/lib/global/brandColors.js +33 -0
- package/lib/global/brandColors.js.map +1 -0
- package/lib/global/colors.d.ts +14 -60
- package/lib/global/colors.js +823 -835
- package/lib/global/colors.js.map +1 -1
- package/lib/global/fonts.d.ts +5 -6
- package/lib/global/fonts.js +32 -48
- package/lib/global/fonts.js.map +1 -1
- package/lib/global/index.d.ts +0 -1
- package/lib/global/index.js +0 -1
- package/lib/global/index.js.map +1 -1
- package/lib/global/strokeWidths.d.ts +2 -2
- package/lib/global/strokeWidths.js +5 -5
- package/lib/global/strokeWidths.js.map +1 -1
- package/lib/index.d.ts +2 -4
- package/lib/index.js +1 -3
- package/lib/index.js.map +1 -1
- package/lib/themes/index.js.map +1 -1
- package/lib/themes/teams/darkTheme.d.ts +1 -1
- package/lib/themes/teams/darkTheme.js +3 -30
- package/lib/themes/teams/darkTheme.js.map +1 -1
- package/lib/themes/teams/highContrastTheme.d.ts +1 -1
- package/lib/themes/teams/highContrastTheme.js +2 -13
- package/lib/themes/teams/highContrastTheme.js.map +1 -1
- package/lib/themes/teams/index.js.map +1 -1
- package/lib/themes/teams/lightTheme.d.ts +1 -1
- package/lib/themes/teams/lightTheme.js +3 -13
- package/lib/themes/teams/lightTheme.js.map +1 -1
- package/lib/themes/web/darkTheme.d.ts +1 -1
- package/lib/themes/web/darkTheme.js +3 -13
- package/lib/themes/web/darkTheme.js.map +1 -1
- package/lib/themes/web/highContrastTheme.d.ts +1 -1
- package/lib/themes/web/highContrastTheme.js +2 -13
- package/lib/themes/web/highContrastTheme.js.map +1 -1
- package/lib/themes/web/index.js.map +1 -1
- package/lib/themes/web/lightTheme.d.ts +1 -1
- package/lib/themes/web/lightTheme.js +3 -13
- package/lib/themes/web/lightTheme.js.map +1 -1
- package/lib/tsdoc-metadata.json +11 -0
- package/lib/types.d.ts +241 -164
- package/lib/types.js +1 -0
- package/lib/types.js.map +1 -1
- package/lib/utils/createDarkTheme.d.ts +2 -0
- package/lib/utils/createDarkTheme.js +18 -0
- package/lib/utils/createDarkTheme.js.map +1 -0
- package/lib/utils/createHighContrastTheme.d.ts +2 -0
- package/lib/utils/createHighContrastTheme.js +18 -0
- package/lib/utils/createHighContrastTheme.js.map +1 -0
- package/lib/utils/createLightTheme.d.ts +2 -0
- package/lib/utils/createLightTheme.js +18 -0
- package/lib/utils/createLightTheme.js.map +1 -0
- package/lib/utils/createTeamsDarkTheme.d.ts +2 -0
- package/lib/utils/createTeamsDarkTheme.js +18 -0
- package/lib/utils/createTeamsDarkTheme.js.map +1 -0
- package/lib/utils/index.d.ts +6 -0
- package/lib/utils/index.js +7 -0
- package/lib/utils/index.js.map +1 -0
- package/lib/utils/mergeThemes.d.ts +2 -8
- package/lib/utils/mergeThemes.js +12 -49
- package/lib/utils/mergeThemes.js.map +1 -1
- package/lib/utils/shadows.d.ts +3 -2
- package/lib/utils/shadows.js +9 -9
- package/lib/utils/shadows.js.map +1 -1
- package/lib/utils/themeToCSSVariables.d.ts +2 -2
- package/lib/utils/themeToCSSVariables.js +9 -19
- package/lib/utils/themeToCSSVariables.js.map +1 -1
- package/lib-commonjs/alias/dark.d.ts +3 -0
- package/lib-commonjs/alias/dark.js +165 -0
- package/lib-commonjs/alias/dark.js.map +1 -0
- package/lib-commonjs/alias/highContrast.d.ts +3 -0
- package/lib-commonjs/alias/highContrast.js +165 -0
- package/lib-commonjs/alias/highContrast.js.map +1 -0
- package/lib-commonjs/alias/light.d.ts +3 -0
- package/lib-commonjs/alias/light.js +165 -0
- package/lib-commonjs/alias/light.js.map +1 -0
- package/lib-commonjs/alias/teamsDark.d.ts +3 -0
- package/lib-commonjs/alias/teamsDark.js +165 -0
- package/lib-commonjs/alias/teamsDark.js.map +1 -0
- package/lib-commonjs/global/borderRadius.d.ts +2 -2
- package/lib-commonjs/global/borderRadius.js +11 -7
- package/lib-commonjs/global/borderRadius.js.map +1 -1
- package/lib-commonjs/global/brandColors.d.ts +3 -0
- package/lib-commonjs/global/brandColors.js +39 -0
- package/lib-commonjs/global/brandColors.js.map +1 -0
- package/lib-commonjs/global/colors.d.ts +14 -60
- package/lib-commonjs/global/colors.js +825 -833
- package/lib-commonjs/global/colors.js.map +1 -1
- package/lib-commonjs/global/fonts.d.ts +5 -6
- package/lib-commonjs/global/fonts.js +33 -45
- package/lib-commonjs/global/fonts.js.map +1 -1
- package/lib-commonjs/global/index.d.ts +0 -1
- package/lib-commonjs/global/index.js +10 -3
- package/lib-commonjs/global/index.js.map +1 -1
- package/lib-commonjs/global/strokeWidths.d.ts +2 -2
- package/lib-commonjs/global/strokeWidths.js +9 -5
- package/lib-commonjs/global/strokeWidths.js.map +1 -1
- package/lib-commonjs/index.d.ts +2 -4
- package/lib-commonjs/index.js +9 -6
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/themes/index.js +8 -2
- package/lib-commonjs/themes/index.js.map +1 -1
- package/lib-commonjs/themes/teams/darkTheme.d.ts +1 -1
- package/lib-commonjs/themes/teams/darkTheme.js +10 -30
- package/lib-commonjs/themes/teams/darkTheme.js.map +1 -1
- package/lib-commonjs/themes/teams/highContrastTheme.d.ts +1 -1
- package/lib-commonjs/themes/teams/highContrastTheme.js +9 -14
- package/lib-commonjs/themes/teams/highContrastTheme.js.map +1 -1
- package/lib-commonjs/themes/teams/index.js +9 -2
- package/lib-commonjs/themes/teams/index.js.map +1 -1
- package/lib-commonjs/themes/teams/lightTheme.d.ts +1 -1
- package/lib-commonjs/themes/teams/lightTheme.js +11 -14
- package/lib-commonjs/themes/teams/lightTheme.js.map +1 -1
- package/lib-commonjs/themes/web/darkTheme.d.ts +1 -1
- package/lib-commonjs/themes/web/darkTheme.js +11 -14
- package/lib-commonjs/themes/web/darkTheme.js.map +1 -1
- package/lib-commonjs/themes/web/highContrastTheme.d.ts +1 -1
- package/lib-commonjs/themes/web/highContrastTheme.js +9 -14
- package/lib-commonjs/themes/web/highContrastTheme.js.map +1 -1
- package/lib-commonjs/themes/web/index.js +9 -2
- package/lib-commonjs/themes/web/index.js.map +1 -1
- package/lib-commonjs/themes/web/lightTheme.d.ts +1 -1
- package/lib-commonjs/themes/web/lightTheme.js +11 -14
- package/lib-commonjs/themes/web/lightTheme.js.map +1 -1
- package/lib-commonjs/types.d.ts +241 -164
- package/lib-commonjs/types.js +4 -1
- package/lib-commonjs/types.js.map +1 -1
- package/lib-commonjs/utils/createDarkTheme.d.ts +2 -0
- package/lib-commonjs/utils/createDarkTheme.js +30 -0
- package/lib-commonjs/utils/createDarkTheme.js.map +1 -0
- package/lib-commonjs/utils/createHighContrastTheme.d.ts +2 -0
- package/lib-commonjs/utils/createHighContrastTheme.js +30 -0
- package/lib-commonjs/utils/createHighContrastTheme.js.map +1 -0
- package/lib-commonjs/utils/createLightTheme.d.ts +2 -0
- package/lib-commonjs/utils/createLightTheme.js +30 -0
- package/lib-commonjs/utils/createLightTheme.js.map +1 -0
- package/lib-commonjs/utils/createTeamsDarkTheme.d.ts +2 -0
- package/lib-commonjs/utils/createTeamsDarkTheme.js +30 -0
- package/lib-commonjs/utils/createTeamsDarkTheme.js.map +1 -0
- package/lib-commonjs/utils/index.d.ts +6 -0
- package/lib-commonjs/utils/index.js +28 -0
- package/lib-commonjs/utils/index.js.map +1 -0
- package/lib-commonjs/utils/mergeThemes.d.ts +2 -8
- package/lib-commonjs/utils/mergeThemes.js +19 -51
- package/lib-commonjs/utils/mergeThemes.js.map +1 -1
- package/lib-commonjs/utils/shadows.d.ts +3 -2
- package/lib-commonjs/utils/shadows.js +17 -11
- package/lib-commonjs/utils/shadows.js.map +1 -1
- package/lib-commonjs/utils/themeToCSSVariables.d.ts +2 -2
- package/lib-commonjs/utils/themeToCSSVariables.js +16 -20
- package/lib-commonjs/utils/themeToCSSVariables.js.map +1 -1
- package/package.json +11 -8
- package/just.config.ts +0 -3
- package/lib/global/utils.d.ts +0 -23
- package/lib/global/utils.js +0 -27
- package/lib/global/utils.js.map +0 -1
- package/lib/themes/teams/globalTheme.d.ts +0 -22
- package/lib/themes/teams/globalTheme.js +0 -3
- package/lib/themes/teams/globalTheme.js.map +0 -1
- package/lib/themes/web/globalTheme.d.ts +0 -22
- package/lib/themes/web/globalTheme.js +0 -3
- package/lib/themes/web/globalTheme.js.map +0 -1
- package/lib/utils/dark/colors.d.ts +0 -8
- package/lib/utils/dark/colors.js +0 -83
- package/lib/utils/dark/colors.js.map +0 -1
- package/lib/utils/dark/index.d.ts +0 -1
- package/lib/utils/dark/index.js +0 -2
- package/lib/utils/dark/index.js.map +0 -1
- package/lib/utils/highContrast/colors.d.ts +0 -6
- package/lib/utils/highContrast/colors.js +0 -83
- package/lib/utils/highContrast/colors.js.map +0 -1
- package/lib/utils/highContrast/index.d.ts +0 -1
- package/lib/utils/highContrast/index.js +0 -2
- package/lib/utils/highContrast/index.js.map +0 -1
- package/lib/utils/light/colors.d.ts +0 -8
- package/lib/utils/light/colors.js +0 -83
- package/lib/utils/light/colors.js.map +0 -1
- package/lib/utils/light/index.d.ts +0 -1
- package/lib/utils/light/index.js +0 -2
- package/lib/utils/light/index.js.map +0 -1
- package/lib-amd/global/borderRadius.d.ts +0 -2
- package/lib-amd/global/borderRadius.js +0 -13
- package/lib-amd/global/borderRadius.js.map +0 -1
- package/lib-amd/global/colors.d.ts +0 -61
- package/lib-amd/global/colors.js +0 -841
- package/lib-amd/global/colors.js.map +0 -1
- package/lib-amd/global/fonts.d.ts +0 -6
- package/lib-amd/global/fonts.js +0 -57
- package/lib-amd/global/fonts.js.map +0 -1
- package/lib-amd/global/index.d.ts +0 -5
- package/lib-amd/global/index.js +0 -10
- package/lib-amd/global/index.js.map +0 -1
- package/lib-amd/global/strokeWidths.d.ts +0 -2
- package/lib-amd/global/strokeWidths.js +0 -11
- package/lib-amd/global/strokeWidths.js.map +0 -1
- package/lib-amd/global/utils.d.ts +0 -23
- package/lib-amd/global/utils.js +0 -26
- package/lib-amd/global/utils.js.map +0 -1
- package/lib-amd/index.d.ts +0 -5
- package/lib-amd/index.js +0 -9
- package/lib-amd/index.js.map +0 -1
- package/lib-amd/themes/index.d.ts +0 -2
- package/lib-amd/themes/index.js +0 -7
- package/lib-amd/themes/index.js.map +0 -1
- package/lib-amd/themes/teams/darkTheme.d.ts +0 -2
- package/lib-amd/themes/teams/darkTheme.js +0 -30
- package/lib-amd/themes/teams/darkTheme.js.map +0 -1
- package/lib-amd/themes/teams/globalTheme.d.ts +0 -22
- package/lib-amd/themes/teams/globalTheme.js +0 -6
- package/lib-amd/themes/teams/globalTheme.js.map +0 -1
- package/lib-amd/themes/teams/highContrastTheme.d.ts +0 -2
- package/lib-amd/themes/teams/highContrastTheme.js +0 -13
- package/lib-amd/themes/teams/highContrastTheme.js.map +0 -1
- package/lib-amd/themes/teams/index.d.ts +0 -3
- package/lib-amd/themes/teams/index.js +0 -8
- package/lib-amd/themes/teams/index.js.map +0 -1
- package/lib-amd/themes/teams/lightTheme.d.ts +0 -2
- package/lib-amd/themes/teams/lightTheme.js +0 -13
- package/lib-amd/themes/teams/lightTheme.js.map +0 -1
- package/lib-amd/themes/web/darkTheme.d.ts +0 -2
- package/lib-amd/themes/web/darkTheme.js +0 -13
- package/lib-amd/themes/web/darkTheme.js.map +0 -1
- package/lib-amd/themes/web/globalTheme.d.ts +0 -22
- package/lib-amd/themes/web/globalTheme.js +0 -6
- package/lib-amd/themes/web/globalTheme.js.map +0 -1
- package/lib-amd/themes/web/highContrastTheme.d.ts +0 -2
- package/lib-amd/themes/web/highContrastTheme.js +0 -13
- package/lib-amd/themes/web/highContrastTheme.js.map +0 -1
- package/lib-amd/themes/web/index.d.ts +0 -3
- package/lib-amd/themes/web/index.js +0 -8
- package/lib-amd/themes/web/index.js.map +0 -1
- package/lib-amd/themes/web/lightTheme.d.ts +0 -2
- package/lib-amd/themes/web/lightTheme.js +0 -13
- package/lib-amd/themes/web/lightTheme.js.map +0 -1
- package/lib-amd/types.d.ts +0 -290
- package/lib-amd/types.js +0 -5
- package/lib-amd/types.js.map +0 -1
- package/lib-amd/utils/dark/colors.d.ts +0 -8
- package/lib-amd/utils/dark/colors.js +0 -87
- package/lib-amd/utils/dark/colors.js.map +0 -1
- package/lib-amd/utils/dark/index.d.ts +0 -1
- package/lib-amd/utils/dark/index.js +0 -6
- package/lib-amd/utils/dark/index.js.map +0 -1
- package/lib-amd/utils/highContrast/colors.d.ts +0 -6
- package/lib-amd/utils/highContrast/colors.js +0 -87
- package/lib-amd/utils/highContrast/colors.js.map +0 -1
- package/lib-amd/utils/highContrast/index.d.ts +0 -1
- package/lib-amd/utils/highContrast/index.js +0 -6
- package/lib-amd/utils/highContrast/index.js.map +0 -1
- package/lib-amd/utils/light/colors.d.ts +0 -8
- package/lib-amd/utils/light/colors.js +0 -87
- package/lib-amd/utils/light/colors.js.map +0 -1
- package/lib-amd/utils/light/index.d.ts +0 -1
- package/lib-amd/utils/light/index.js +0 -6
- package/lib-amd/utils/light/index.js.map +0 -1
- package/lib-amd/utils/mergeThemes.d.ts +0 -8
- package/lib-amd/utils/mergeThemes.js +0 -58
- package/lib-amd/utils/mergeThemes.js.map +0 -1
- package/lib-amd/utils/shadows.d.ts +0 -2
- package/lib-amd/utils/shadows.js +0 -16
- package/lib-amd/utils/shadows.js.map +0 -1
- package/lib-amd/utils/themeToCSSVariables.d.ts +0 -2
- package/lib-amd/utils/themeToCSSVariables.js +0 -27
- package/lib-amd/utils/themeToCSSVariables.js.map +0 -1
- package/lib-commonjs/global/utils.d.ts +0 -23
- package/lib-commonjs/global/utils.js +0 -29
- package/lib-commonjs/global/utils.js.map +0 -1
- package/lib-commonjs/themes/teams/globalTheme.d.ts +0 -22
- package/lib-commonjs/themes/teams/globalTheme.js +0 -5
- package/lib-commonjs/themes/teams/globalTheme.js.map +0 -1
- package/lib-commonjs/themes/web/globalTheme.d.ts +0 -22
- package/lib-commonjs/themes/web/globalTheme.js +0 -5
- package/lib-commonjs/themes/web/globalTheme.js.map +0 -1
- package/lib-commonjs/utils/dark/colors.d.ts +0 -8
- package/lib-commonjs/utils/dark/colors.js +0 -87
- package/lib-commonjs/utils/dark/colors.js.map +0 -1
- package/lib-commonjs/utils/dark/index.d.ts +0 -1
- package/lib-commonjs/utils/dark/index.js +0 -5
- package/lib-commonjs/utils/dark/index.js.map +0 -1
- package/lib-commonjs/utils/highContrast/colors.d.ts +0 -6
- package/lib-commonjs/utils/highContrast/colors.js +0 -87
- package/lib-commonjs/utils/highContrast/colors.js.map +0 -1
- package/lib-commonjs/utils/highContrast/index.d.ts +0 -1
- package/lib-commonjs/utils/highContrast/index.js +0 -5
- package/lib-commonjs/utils/highContrast/index.js.map +0 -1
- package/lib-commonjs/utils/light/colors.d.ts +0 -8
- package/lib-commonjs/utils/light/colors.js +0 -87
- package/lib-commonjs/utils/light/colors.js.map +0 -1
- package/lib-commonjs/utils/light/index.d.ts +0 -1
- package/lib-commonjs/utils/light/index.js +0 -5
- package/lib-commonjs/utils/light/index.js.map +0 -1
package/lib/types.d.ts
CHANGED
@@ -1,92 +1,193 @@
|
|
1
1
|
/**
|
2
|
-
*
|
2
|
+
* Design tokens for alias colors
|
3
3
|
*/
|
4
|
-
declare type
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
4
|
+
export declare type ColorTokens = {
|
5
|
+
colorNeutralForeground1: string;
|
6
|
+
colorNeutralForeground1Hover: string;
|
7
|
+
colorNeutralForeground1Pressed: string;
|
8
|
+
colorNeutralForeground1Selected: string;
|
9
|
+
colorNeutralForeground2: string;
|
10
|
+
colorNeutralForeground2Hover: string;
|
11
|
+
colorNeutralForeground2Pressed: string;
|
12
|
+
colorNeutralForeground2Selected: string;
|
13
|
+
colorNeutralForeground2BrandHover: string;
|
14
|
+
colorNeutralForeground2BrandPressed: string;
|
15
|
+
colorNeutralForeground2BrandSelected: string;
|
16
|
+
colorNeutralForeground3: string;
|
17
|
+
colorNeutralForeground3Hover: string;
|
18
|
+
colorNeutralForeground3Pressed: string;
|
19
|
+
colorNeutralForeground3Selected: string;
|
20
|
+
colorNeutralForeground3BrandHover: string;
|
21
|
+
colorNeutralForeground3BrandPressed: string;
|
22
|
+
colorNeutralForeground3BrandSelected: string;
|
23
|
+
colorNeutralForeground4: string;
|
24
|
+
colorNeutralForegroundDisabled: string;
|
25
|
+
colorNeutralForegroundInvertedDisabled: string;
|
26
|
+
colorBrandForegroundLink: string;
|
27
|
+
colorBrandForegroundLinkHover: string;
|
28
|
+
colorBrandForegroundLinkPressed: string;
|
29
|
+
colorBrandForegroundLinkSelected: string;
|
30
|
+
colorCompoundBrandForeground1: string;
|
31
|
+
colorCompoundBrandForeground1Hover: string;
|
32
|
+
colorCompoundBrandForeground1Pressed: string;
|
33
|
+
colorBrandForeground1: string;
|
34
|
+
colorBrandForeground2: string;
|
35
|
+
colorNeutralForegroundInverted: string;
|
36
|
+
colorNeutralForegroundInvertedHover: string;
|
37
|
+
colorNeutralForegroundInvertedPressed: string;
|
38
|
+
colorNeutralForegroundInvertedSelected: string;
|
39
|
+
colorNeutralForegroundOnBrand: string;
|
40
|
+
colorNeutralForegroundInvertedLink: string;
|
41
|
+
colorNeutralForegroundInvertedLinkHover: string;
|
42
|
+
colorNeutralForegroundInvertedLinkPressed: string;
|
43
|
+
colorNeutralForegroundInvertedLinkSelected: string;
|
44
|
+
colorBrandForegroundInverted: string;
|
45
|
+
colorBrandForegroundInvertedHover: string;
|
46
|
+
colorBrandForegroundInvertedPressed: string;
|
47
|
+
colorBrandForegroundOnLight: string;
|
48
|
+
colorBrandForegroundOnLightHover: string;
|
49
|
+
colorBrandForegroundOnLightPressed: string;
|
50
|
+
colorBrandForegroundOnLightSelected: string;
|
51
|
+
colorNeutralBackground1: string;
|
52
|
+
colorNeutralBackground1Hover: string;
|
53
|
+
colorNeutralBackground1Pressed: string;
|
54
|
+
colorNeutralBackground1Selected: string;
|
55
|
+
colorNeutralBackground2: string;
|
56
|
+
colorNeutralBackground2Hover: string;
|
57
|
+
colorNeutralBackground2Pressed: string;
|
58
|
+
colorNeutralBackground2Selected: string;
|
59
|
+
colorNeutralBackground3: string;
|
60
|
+
colorNeutralBackground3Hover: string;
|
61
|
+
colorNeutralBackground3Pressed: string;
|
62
|
+
colorNeutralBackground3Selected: string;
|
63
|
+
colorNeutralBackground4: string;
|
64
|
+
colorNeutralBackground4Hover: string;
|
65
|
+
colorNeutralBackground4Pressed: string;
|
66
|
+
colorNeutralBackground4Selected: string;
|
67
|
+
colorNeutralBackground5: string;
|
68
|
+
colorNeutralBackground5Hover: string;
|
69
|
+
colorNeutralBackground5Pressed: string;
|
70
|
+
colorNeutralBackground5Selected: string;
|
71
|
+
colorNeutralBackground6: string;
|
72
|
+
colorNeutralBackgroundInverted: string;
|
73
|
+
colorSubtleBackground: string;
|
74
|
+
colorSubtleBackgroundHover: string;
|
75
|
+
colorSubtleBackgroundPressed: string;
|
76
|
+
colorSubtleBackgroundSelected: string;
|
77
|
+
colorSubtleBackgroundLightAlphaHover: string;
|
78
|
+
colorSubtleBackgroundLightAlphaPressed: string;
|
79
|
+
colorSubtleBackgroundLightAlphaSelected: string;
|
80
|
+
colorSubtleBackgroundInverted: string;
|
81
|
+
colorSubtleBackgroundInvertedHover: string;
|
82
|
+
colorSubtleBackgroundInvertedPressed: string;
|
83
|
+
colorSubtleBackgroundInvertedSelected: string;
|
84
|
+
colorTransparentBackground: string;
|
85
|
+
colorTransparentBackgroundHover: string;
|
86
|
+
colorTransparentBackgroundPressed: string;
|
87
|
+
colorTransparentBackgroundSelected: string;
|
88
|
+
colorNeutralBackgroundDisabled: string;
|
89
|
+
colorNeutralBackgroundInvertedDisabled: string;
|
90
|
+
colorNeutralStencil1: string;
|
91
|
+
colorNeutralStencil2: string;
|
92
|
+
colorBrandBackground: string;
|
93
|
+
colorBrandBackgroundHover: string;
|
94
|
+
colorBrandBackgroundPressed: string;
|
95
|
+
colorBrandBackgroundSelected: string;
|
96
|
+
colorCompoundBrandBackground: string;
|
97
|
+
colorCompoundBrandBackgroundHover: string;
|
98
|
+
colorCompoundBrandBackgroundPressed: string;
|
99
|
+
colorBrandBackgroundStatic: string;
|
100
|
+
colorBrandBackground2: string;
|
101
|
+
colorBrandBackgroundInverted: string;
|
102
|
+
colorBrandBackgroundInvertedHover: string;
|
103
|
+
colorBrandBackgroundInvertedPressed: string;
|
104
|
+
colorBrandBackgroundInvertedSelected: string;
|
105
|
+
colorNeutralStrokeAccessible: string;
|
106
|
+
colorNeutralStrokeAccessibleHover: string;
|
107
|
+
colorNeutralStrokeAccessiblePressed: string;
|
108
|
+
colorNeutralStrokeAccessibleSelected: string;
|
109
|
+
colorNeutralStroke1: string;
|
110
|
+
colorNeutralStroke1Hover: string;
|
111
|
+
colorNeutralStroke1Pressed: string;
|
112
|
+
colorNeutralStroke1Selected: string;
|
113
|
+
colorNeutralStroke2: string;
|
114
|
+
colorNeutralStroke3: string;
|
115
|
+
colorNeutralStrokeOnBrand: string;
|
116
|
+
colorNeutralStrokeOnBrand2: string;
|
117
|
+
colorNeutralStrokeOnBrand2Hover: string;
|
118
|
+
colorNeutralStrokeOnBrand2Pressed: string;
|
119
|
+
colorNeutralStrokeOnBrand2Selected: string;
|
120
|
+
colorBrandStroke1: string;
|
121
|
+
colorBrandStroke2: string;
|
122
|
+
colorCompoundBrandStroke: string;
|
123
|
+
colorCompoundBrandStrokeHover: string;
|
124
|
+
colorCompoundBrandStrokePressed: string;
|
125
|
+
colorNeutralStrokeDisabled: string;
|
126
|
+
colorNeutralStrokeInvertedDisabled: string;
|
127
|
+
colorTransparentStroke: string;
|
128
|
+
colorTransparentStrokeInteractive: string;
|
129
|
+
colorTransparentStrokeDisabled: string;
|
130
|
+
colorStrokeFocus1: string;
|
131
|
+
colorStrokeFocus2: string;
|
132
|
+
colorNeutralShadowAmbient: string;
|
133
|
+
colorNeutralShadowKey: string;
|
134
|
+
colorNeutralShadowAmbientLighter: string;
|
135
|
+
colorNeutralShadowKeyLighter: string;
|
136
|
+
colorNeutralShadowAmbientDarker: string;
|
137
|
+
colorNeutralShadowKeyDarker: string;
|
138
|
+
colorBrandShadowAmbient: string;
|
139
|
+
colorBrandShadowKey: string;
|
89
140
|
};
|
141
|
+
export declare type ColorPaletteDarkRed = 'colorPaletteDarkRedBackground1' | 'colorPaletteDarkRedBackground2' | 'colorPaletteDarkRedBackground3' | 'colorPaletteDarkRedForeground1' | 'colorPaletteDarkRedForeground2' | 'colorPaletteDarkRedForeground3' | 'colorPaletteDarkRedBorderActive' | 'colorPaletteDarkRedBorder2';
|
142
|
+
export declare type ColorPaletteBurgundy = 'colorPaletteBurgundyBackground1' | 'colorPaletteBurgundyBackground2' | 'colorPaletteBurgundyBackground3' | 'colorPaletteBurgundyForeground1' | 'colorPaletteBurgundyForeground2' | 'colorPaletteBurgundyForeground3' | 'colorPaletteBurgundyBorderActive' | 'colorPaletteBurgundyBorder2';
|
143
|
+
export declare type ColorPaletteCranberry = 'colorPaletteCranberryBackground1' | 'colorPaletteCranberryBackground2' | 'colorPaletteCranberryBackground3' | 'colorPaletteCranberryForeground1' | 'colorPaletteCranberryForeground2' | 'colorPaletteCranberryForeground3' | 'colorPaletteCranberryBorderActive' | 'colorPaletteCranberryBorder2';
|
144
|
+
export declare type ColorPaletteRed = 'colorPaletteRedBackground1' | 'colorPaletteRedBackground2' | 'colorPaletteRedBackground3' | 'colorPaletteRedForeground1' | 'colorPaletteRedForeground2' | 'colorPaletteRedForeground3' | 'colorPaletteRedBorderActive' | 'colorPaletteRedBorder2';
|
145
|
+
export declare type ColorPaletteDarkOrange = 'colorPaletteDarkOrangeBackground1' | 'colorPaletteDarkOrangeBackground2' | 'colorPaletteDarkOrangeBackground3' | 'colorPaletteDarkOrangeForeground1' | 'colorPaletteDarkOrangeForeground2' | 'colorPaletteDarkOrangeForeground3' | 'colorPaletteDarkOrangeBorderActive' | 'colorPaletteDarkOrangeBorder2';
|
146
|
+
export declare type ColorPaletteBronze = 'colorPaletteBronzeBackground1' | 'colorPaletteBronzeBackground2' | 'colorPaletteBronzeBackground3' | 'colorPaletteBronzeForeground1' | 'colorPaletteBronzeForeground2' | 'colorPaletteBronzeForeground3' | 'colorPaletteBronzeBorderActive' | 'colorPaletteBronzeBorder2';
|
147
|
+
export declare type ColorPalettePumpkin = 'colorPalettePumpkinBackground1' | 'colorPalettePumpkinBackground2' | 'colorPalettePumpkinBackground3' | 'colorPalettePumpkinForeground1' | 'colorPalettePumpkinForeground2' | 'colorPalettePumpkinForeground3' | 'colorPalettePumpkinBorderActive' | 'colorPalettePumpkinBorder2';
|
148
|
+
export declare type ColorPaletteOrange = 'colorPaletteOrangeBackground1' | 'colorPaletteOrangeBackground2' | 'colorPaletteOrangeBackground3' | 'colorPaletteOrangeForeground1' | 'colorPaletteOrangeForeground2' | 'colorPaletteOrangeForeground3' | 'colorPaletteOrangeBorderActive' | 'colorPaletteOrangeBorder2';
|
149
|
+
export declare type ColorPalettePeach = 'colorPalettePeachBackground1' | 'colorPalettePeachBackground2' | 'colorPalettePeachBackground3' | 'colorPalettePeachForeground1' | 'colorPalettePeachForeground2' | 'colorPalettePeachForeground3' | 'colorPalettePeachBorderActive' | 'colorPalettePeachBorder2';
|
150
|
+
export declare type ColorPaletteMarigold = 'colorPaletteMarigoldBackground1' | 'colorPaletteMarigoldBackground2' | 'colorPaletteMarigoldBackground3' | 'colorPaletteMarigoldForeground1' | 'colorPaletteMarigoldForeground2' | 'colorPaletteMarigoldForeground3' | 'colorPaletteMarigoldBorderActive' | 'colorPaletteMarigoldBorder2';
|
151
|
+
export declare type ColorPaletteYellow = 'colorPaletteYellowBackground1' | 'colorPaletteYellowBackground2' | 'colorPaletteYellowBackground3' | 'colorPaletteYellowForeground1' | 'colorPaletteYellowForeground2' | 'colorPaletteYellowForeground3' | 'colorPaletteYellowBorderActive' | 'colorPaletteYellowBorder2';
|
152
|
+
export declare type ColorPaletteGold = 'colorPaletteGoldBackground1' | 'colorPaletteGoldBackground2' | 'colorPaletteGoldBackground3' | 'colorPaletteGoldForeground1' | 'colorPaletteGoldForeground2' | 'colorPaletteGoldForeground3' | 'colorPaletteGoldBorderActive' | 'colorPaletteGoldBorder2';
|
153
|
+
export declare type ColorPaletteBrass = 'colorPaletteBrassBackground1' | 'colorPaletteBrassBackground2' | 'colorPaletteBrassBackground3' | 'colorPaletteBrassForeground1' | 'colorPaletteBrassForeground2' | 'colorPaletteBrassForeground3' | 'colorPaletteBrassBorderActive' | 'colorPaletteBrassBorder2';
|
154
|
+
export declare type ColorPaletteBrown = 'colorPaletteBrownBackground1' | 'colorPaletteBrownBackground2' | 'colorPaletteBrownBackground3' | 'colorPaletteBrownForeground1' | 'colorPaletteBrownForeground2' | 'colorPaletteBrownForeground3' | 'colorPaletteBrownBorderActive' | 'colorPaletteBrownBorder2';
|
155
|
+
export declare type ColorPaletteDarkBrown = 'colorPaletteDarkBrownBackground1' | 'colorPaletteDarkBrownBackground2' | 'colorPaletteDarkBrownBackground3' | 'colorPaletteDarkBrownForeground1' | 'colorPaletteDarkBrownForeground2' | 'colorPaletteDarkBrownForeground3' | 'colorPaletteDarkBrownBorderActive' | 'colorPaletteDarkBrownBorder2';
|
156
|
+
export declare type ColorPaletteLime = 'colorPaletteLimeBackground1' | 'colorPaletteLimeBackground2' | 'colorPaletteLimeBackground3' | 'colorPaletteLimeForeground1' | 'colorPaletteLimeForeground2' | 'colorPaletteLimeForeground3' | 'colorPaletteLimeBorderActive' | 'colorPaletteLimeBorder2';
|
157
|
+
export declare type ColorPaletteForest = 'colorPaletteForestBackground1' | 'colorPaletteForestBackground2' | 'colorPaletteForestBackground3' | 'colorPaletteForestForeground1' | 'colorPaletteForestForeground2' | 'colorPaletteForestForeground3' | 'colorPaletteForestBorderActive' | 'colorPaletteForestBorder2';
|
158
|
+
export declare type ColorPaletteSeafoam = 'colorPaletteSeafoamBackground1' | 'colorPaletteSeafoamBackground2' | 'colorPaletteSeafoamBackground3' | 'colorPaletteSeafoamForeground1' | 'colorPaletteSeafoamForeground2' | 'colorPaletteSeafoamForeground3' | 'colorPaletteSeafoamBorderActive' | 'colorPaletteSeafoamBorder2';
|
159
|
+
export declare type ColorPaletteLightGreen = 'colorPaletteLightGreenBackground1' | 'colorPaletteLightGreenBackground2' | 'colorPaletteLightGreenBackground3' | 'colorPaletteLightGreenForeground1' | 'colorPaletteLightGreenForeground2' | 'colorPaletteLightGreenForeground3' | 'colorPaletteLightGreenBorderActive' | 'colorPaletteLightGreenBorder2';
|
160
|
+
export declare type ColorPaletteGreen = 'colorPaletteGreenBackground1' | 'colorPaletteGreenBackground2' | 'colorPaletteGreenBackground3' | 'colorPaletteGreenForeground1' | 'colorPaletteGreenForeground2' | 'colorPaletteGreenForeground3' | 'colorPaletteGreenBorderActive' | 'colorPaletteGreenBorder2';
|
161
|
+
export declare type ColorPaletteDarkGreen = 'colorPaletteDarkGreenBackground1' | 'colorPaletteDarkGreenBackground2' | 'colorPaletteDarkGreenBackground3' | 'colorPaletteDarkGreenForeground1' | 'colorPaletteDarkGreenForeground2' | 'colorPaletteDarkGreenForeground3' | 'colorPaletteDarkGreenBorderActive' | 'colorPaletteDarkGreenBorder2';
|
162
|
+
export declare type ColorPaletteLightTeal = 'colorPaletteLightTealBackground1' | 'colorPaletteLightTealBackground2' | 'colorPaletteLightTealBackground3' | 'colorPaletteLightTealForeground1' | 'colorPaletteLightTealForeground2' | 'colorPaletteLightTealForeground3' | 'colorPaletteLightTealBorderActive' | 'colorPaletteLightTealBorder2';
|
163
|
+
export declare type ColorPaletteTeal = 'colorPaletteTealBackground1' | 'colorPaletteTealBackground2' | 'colorPaletteTealBackground3' | 'colorPaletteTealForeground1' | 'colorPaletteTealForeground2' | 'colorPaletteTealForeground3' | 'colorPaletteTealBorderActive' | 'colorPaletteTealBorder2';
|
164
|
+
export declare type ColorPaletteDarkTeal = 'colorPaletteDarkTealBackground1' | 'colorPaletteDarkTealBackground2' | 'colorPaletteDarkTealBackground3' | 'colorPaletteDarkTealForeground1' | 'colorPaletteDarkTealForeground2' | 'colorPaletteDarkTealForeground3' | 'colorPaletteDarkTealBorderActive' | 'colorPaletteDarkTealBorder2';
|
165
|
+
export declare type ColorPaletteCyan = 'colorPaletteCyanBackground1' | 'colorPaletteCyanBackground2' | 'colorPaletteCyanBackground3' | 'colorPaletteCyanForeground1' | 'colorPaletteCyanForeground2' | 'colorPaletteCyanForeground3' | 'colorPaletteCyanBorderActive' | 'colorPaletteCyanBorder2';
|
166
|
+
export declare type ColorPaletteSteel = 'colorPaletteSteelBackground1' | 'colorPaletteSteelBackground2' | 'colorPaletteSteelBackground3' | 'colorPaletteSteelForeground1' | 'colorPaletteSteelForeground2' | 'colorPaletteSteelForeground3' | 'colorPaletteSteelBorderActive' | 'colorPaletteSteelBorder2';
|
167
|
+
export declare type ColorPaletteLightBlue = 'colorPaletteLightBlueBackground1' | 'colorPaletteLightBlueBackground2' | 'colorPaletteLightBlueBackground3' | 'colorPaletteLightBlueForeground1' | 'colorPaletteLightBlueForeground2' | 'colorPaletteLightBlueForeground3' | 'colorPaletteLightBlueBorderActive' | 'colorPaletteLightBlueBorder2';
|
168
|
+
export declare type ColorPaletteBlue = 'colorPaletteBlueBackground1' | 'colorPaletteBlueBackground2' | 'colorPaletteBlueBackground3' | 'colorPaletteBlueForeground1' | 'colorPaletteBlueForeground2' | 'colorPaletteBlueForeground3' | 'colorPaletteBlueBorderActive' | 'colorPaletteBlueBorder2';
|
169
|
+
export declare type ColorPaletteRoyalBlue = 'colorPaletteRoyalBlueBackground1' | 'colorPaletteRoyalBlueBackground2' | 'colorPaletteRoyalBlueBackground3' | 'colorPaletteRoyalBlueForeground1' | 'colorPaletteRoyalBlueForeground2' | 'colorPaletteRoyalBlueForeground3' | 'colorPaletteRoyalBlueBorderActive' | 'colorPaletteRoyalBlueBorder2';
|
170
|
+
export declare type ColorPaletteDarkBlue = 'colorPaletteDarkBlueBackground1' | 'colorPaletteDarkBlueBackground2' | 'colorPaletteDarkBlueBackground3' | 'colorPaletteDarkBlueForeground1' | 'colorPaletteDarkBlueForeground2' | 'colorPaletteDarkBlueForeground3' | 'colorPaletteDarkBlueBorderActive' | 'colorPaletteDarkBlueBorder2';
|
171
|
+
export declare type ColorPaletteCornflower = 'colorPaletteCornflowerBackground1' | 'colorPaletteCornflowerBackground2' | 'colorPaletteCornflowerBackground3' | 'colorPaletteCornflowerForeground1' | 'colorPaletteCornflowerForeground2' | 'colorPaletteCornflowerForeground3' | 'colorPaletteCornflowerBorderActive' | 'colorPaletteCornflowerBorder2';
|
172
|
+
export declare type ColorPaletteNavy = 'colorPaletteNavyBackground1' | 'colorPaletteNavyBackground2' | 'colorPaletteNavyBackground3' | 'colorPaletteNavyForeground1' | 'colorPaletteNavyForeground2' | 'colorPaletteNavyForeground3' | 'colorPaletteNavyBorderActive' | 'colorPaletteNavyBorder2';
|
173
|
+
export declare type ColorPaletteLavender = 'colorPaletteLavenderBackground1' | 'colorPaletteLavenderBackground2' | 'colorPaletteLavenderBackground3' | 'colorPaletteLavenderForeground1' | 'colorPaletteLavenderForeground2' | 'colorPaletteLavenderForeground3' | 'colorPaletteLavenderBorderActive' | 'colorPaletteLavenderBorder2';
|
174
|
+
export declare type ColorPalettePurple = 'colorPalettePurpleBackground1' | 'colorPalettePurpleBackground2' | 'colorPalettePurpleBackground3' | 'colorPalettePurpleForeground1' | 'colorPalettePurpleForeground2' | 'colorPalettePurpleForeground3' | 'colorPalettePurpleBorderActive' | 'colorPalettePurpleBorder2';
|
175
|
+
export declare type ColorPaletteDarkPurple = 'colorPaletteDarkPurpleBackground1' | 'colorPaletteDarkPurpleBackground2' | 'colorPaletteDarkPurpleBackground3' | 'colorPaletteDarkPurpleForeground1' | 'colorPaletteDarkPurpleForeground2' | 'colorPaletteDarkPurpleForeground3' | 'colorPaletteDarkPurpleBorderActive' | 'colorPaletteDarkPurpleBorder2';
|
176
|
+
export declare type ColorPaletteOrchid = 'colorPaletteOrchidBackground1' | 'colorPaletteOrchidBackground2' | 'colorPaletteOrchidBackground3' | 'colorPaletteOrchidForeground1' | 'colorPaletteOrchidForeground2' | 'colorPaletteOrchidForeground3' | 'colorPaletteOrchidBorderActive' | 'colorPaletteOrchidBorder2';
|
177
|
+
export declare type ColorPaletteGrape = 'colorPaletteGrapeBackground1' | 'colorPaletteGrapeBackground2' | 'colorPaletteGrapeBackground3' | 'colorPaletteGrapeForeground1' | 'colorPaletteGrapeForeground2' | 'colorPaletteGrapeForeground3' | 'colorPaletteGrapeBorderActive' | 'colorPaletteGrapeBorder2';
|
178
|
+
export declare type ColorPaletteBerry = 'colorPaletteBerryBackground1' | 'colorPaletteBerryBackground2' | 'colorPaletteBerryBackground3' | 'colorPaletteBerryForeground1' | 'colorPaletteBerryForeground2' | 'colorPaletteBerryForeground3' | 'colorPaletteBerryBorderActive' | 'colorPaletteBerryBorder2';
|
179
|
+
export declare type ColorPaletteLilac = 'colorPaletteLilacBackground1' | 'colorPaletteLilacBackground2' | 'colorPaletteLilacBackground3' | 'colorPaletteLilacForeground1' | 'colorPaletteLilacForeground2' | 'colorPaletteLilacForeground3' | 'colorPaletteLilacBorderActive' | 'colorPaletteLilacBorder2';
|
180
|
+
export declare type ColorPalettePink = 'colorPalettePinkBackground1' | 'colorPalettePinkBackground2' | 'colorPalettePinkBackground3' | 'colorPalettePinkForeground1' | 'colorPalettePinkForeground2' | 'colorPalettePinkForeground3' | 'colorPalettePinkBorderActive' | 'colorPalettePinkBorder2';
|
181
|
+
export declare type ColorPaletteHotPink = 'colorPaletteHotPinkBackground1' | 'colorPaletteHotPinkBackground2' | 'colorPaletteHotPinkBackground3' | 'colorPaletteHotPinkForeground1' | 'colorPaletteHotPinkForeground2' | 'colorPaletteHotPinkForeground3' | 'colorPaletteHotPinkBorderActive' | 'colorPaletteHotPinkBorder2';
|
182
|
+
export declare type ColorPaletteMagenta = 'colorPaletteMagentaBackground1' | 'colorPaletteMagentaBackground2' | 'colorPaletteMagentaBackground3' | 'colorPaletteMagentaForeground1' | 'colorPaletteMagentaForeground2' | 'colorPaletteMagentaForeground3' | 'colorPaletteMagentaBorderActive' | 'colorPaletteMagentaBorder2';
|
183
|
+
export declare type ColorPalettePlum = 'colorPalettePlumBackground1' | 'colorPalettePlumBackground2' | 'colorPalettePlumBackground3' | 'colorPalettePlumForeground1' | 'colorPalettePlumForeground2' | 'colorPalettePlumForeground3' | 'colorPalettePlumBorderActive' | 'colorPalettePlumBorder2';
|
184
|
+
export declare type ColorPaletteBeige = 'colorPaletteBeigeBackground1' | 'colorPaletteBeigeBackground2' | 'colorPaletteBeigeBackground3' | 'colorPaletteBeigeForeground1' | 'colorPaletteBeigeForeground2' | 'colorPaletteBeigeForeground3' | 'colorPaletteBeigeBorderActive' | 'colorPaletteBeigeBorder2';
|
185
|
+
export declare type ColorPaletteMink = 'colorPaletteMinkBackground1' | 'colorPaletteMinkBackground2' | 'colorPaletteMinkBackground3' | 'colorPaletteMinkForeground1' | 'colorPaletteMinkForeground2' | 'colorPaletteMinkForeground3' | 'colorPaletteMinkBorderActive' | 'colorPaletteMinkBorder2';
|
186
|
+
export declare type ColorPaletteSilver = 'colorPaletteSilverBackground1' | 'colorPaletteSilverBackground2' | 'colorPaletteSilverBackground3' | 'colorPaletteSilverForeground1' | 'colorPaletteSilverForeground2' | 'colorPaletteSilverForeground3' | 'colorPaletteSilverBorderActive' | 'colorPaletteSilverBorder2';
|
187
|
+
export declare type ColorPalettePlatinum = 'colorPalettePlatinumBackground1' | 'colorPalettePlatinumBackground2' | 'colorPalettePlatinumBackground3' | 'colorPalettePlatinumForeground1' | 'colorPalettePlatinumForeground2' | 'colorPalettePlatinumForeground3' | 'colorPalettePlatinumBorderActive' | 'colorPalettePlatinumBorder2';
|
188
|
+
export declare type ColorPaletteAnchor = 'colorPaletteAnchorBackground1' | 'colorPaletteAnchorBackground2' | 'colorPaletteAnchorBackground3' | 'colorPaletteAnchorForeground1' | 'colorPaletteAnchorForeground2' | 'colorPaletteAnchorForeground3' | 'colorPaletteAnchorBorderActive' | 'colorPaletteAnchorBorder2';
|
189
|
+
export declare type ColorPaletteCharcoal = 'colorPaletteCharcoalBackground1' | 'colorPaletteCharcoalBackground2' | 'colorPaletteCharcoalBackground3' | 'colorPaletteCharcoalForeground1' | 'colorPaletteCharcoalForeground2' | 'colorPaletteCharcoalForeground3' | 'colorPaletteCharcoalBorderActive' | 'colorPaletteCharcoalBorder2';
|
190
|
+
export declare type ColorPaletteTokens = Record<ColorPaletteDarkRed | ColorPaletteBurgundy | ColorPaletteCranberry | ColorPaletteRed | ColorPaletteDarkOrange | ColorPaletteBronze | ColorPalettePumpkin | ColorPaletteOrange | ColorPalettePeach | ColorPaletteMarigold | ColorPaletteYellow | ColorPaletteGold | ColorPaletteBrass | ColorPaletteBrown | ColorPaletteDarkBrown | ColorPaletteLime | ColorPaletteForest | ColorPaletteSeafoam | ColorPaletteLightGreen | ColorPaletteGreen | ColorPaletteDarkGreen | ColorPaletteLightTeal | ColorPaletteTeal | ColorPaletteDarkTeal | ColorPaletteCyan | ColorPaletteSteel | ColorPaletteLightBlue | ColorPaletteBlue | ColorPaletteRoyalBlue | ColorPaletteDarkBlue | ColorPaletteCornflower | ColorPaletteNavy | ColorPaletteLavender | ColorPalettePurple | ColorPaletteDarkPurple | ColorPaletteOrchid | ColorPaletteGrape | ColorPaletteBerry | ColorPaletteLilac | ColorPalettePink | ColorPaletteHotPink | ColorPaletteMagenta | ColorPalettePlum | ColorPaletteBeige | ColorPaletteMink | ColorPaletteSilver | ColorPalettePlatinum | ColorPaletteAnchor | ColorPaletteCharcoal, string>;
|
90
191
|
/**
|
91
192
|
* Possible color variant values
|
92
193
|
*/
|
@@ -161,39 +262,39 @@ export declare type GlobalSharedColors = {
|
|
161
262
|
anchor: ColorVariants;
|
162
263
|
charcoal: ColorVariants;
|
163
264
|
};
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
265
|
+
export declare type FontSizeTokens = {
|
266
|
+
fontSizeBase100: string;
|
267
|
+
fontSizeBase200: string;
|
268
|
+
fontSizeBase300: string;
|
269
|
+
fontSizeBase400: string;
|
270
|
+
fontSizeBase500: string;
|
271
|
+
fontSizeBase600: string;
|
272
|
+
fontSizeHero700: string;
|
273
|
+
fontSizeHero800: string;
|
274
|
+
fontSizeHero900: string;
|
275
|
+
fontSizeHero1000: string;
|
170
276
|
};
|
171
|
-
export declare type
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
800: string;
|
183
|
-
900: string;
|
184
|
-
1000: string;
|
185
|
-
};
|
277
|
+
export declare type LineHeightTokens = {
|
278
|
+
lineHeightBase100: string;
|
279
|
+
lineHeightBase200: string;
|
280
|
+
lineHeightBase300: string;
|
281
|
+
lineHeightBase400: string;
|
282
|
+
lineHeightBase500: string;
|
283
|
+
lineHeightBase600: string;
|
284
|
+
lineHeightHero700: string;
|
285
|
+
lineHeightHero800: string;
|
286
|
+
lineHeightHero900: string;
|
287
|
+
lineHeightHero1000: string;
|
186
288
|
};
|
187
|
-
export declare type
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
semibold: number;
|
289
|
+
export declare type FontWeightTokens = {
|
290
|
+
fontWeightRegular: number;
|
291
|
+
fontWeightMedium: number;
|
292
|
+
fontWeightSemibold: number;
|
192
293
|
};
|
193
|
-
export declare type
|
194
|
-
|
195
|
-
|
196
|
-
|
294
|
+
export declare type FontFamilyTokens = {
|
295
|
+
fontFamilyBase: string;
|
296
|
+
fontFamilyMonospace: string;
|
297
|
+
fontFamilyNumeric: string;
|
197
298
|
};
|
198
299
|
export declare type TextAlignment = 'inherit' | 'initial' | 'revert' | 'unset' | 'center' | 'end' | 'start' | 'justify' | 'left' | 'match-parent' | 'right';
|
199
300
|
export declare type TextAlignments = {
|
@@ -202,24 +303,24 @@ export declare type TextAlignments = {
|
|
202
303
|
end: TextAlignment;
|
203
304
|
justify: TextAlignment;
|
204
305
|
};
|
205
|
-
export declare type
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
306
|
+
export declare type BorderRadiusTokens = {
|
307
|
+
borderRadiusNone: string;
|
308
|
+
borderRadiusSmall: string;
|
309
|
+
borderRadiusMedium: string;
|
310
|
+
borderRadiusLarge: string;
|
311
|
+
borderRadiusXLarge: string;
|
312
|
+
borderRadiusCircular: string;
|
212
313
|
};
|
213
|
-
export declare type
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
314
|
+
export declare type StrokeWidthTokens = {
|
315
|
+
strokeWidthThin: string;
|
316
|
+
strokeWidthThick: string;
|
317
|
+
strokeWidthThicker: string;
|
318
|
+
strokeWidthThickest: string;
|
218
319
|
};
|
219
320
|
/**
|
220
321
|
* Design tokens for shadow levels
|
221
322
|
*/
|
222
|
-
export declare type
|
323
|
+
export declare type ShadowTokens = {
|
223
324
|
shadow2: string;
|
224
325
|
shadow4: string;
|
225
326
|
shadow8: string;
|
@@ -227,6 +328,14 @@ export declare type ShadowLevelTokens = {
|
|
227
328
|
shadow28: string;
|
228
329
|
shadow64: string;
|
229
330
|
};
|
331
|
+
export declare type ShadowBrandTokens = {
|
332
|
+
shadow2Brand: string;
|
333
|
+
shadow4Brand: string;
|
334
|
+
shadow8Brand: string;
|
335
|
+
shadow16Brand: string;
|
336
|
+
shadow28Brand: string;
|
337
|
+
shadow64Brand: string;
|
338
|
+
};
|
230
339
|
export declare type GhostColorTokens = {
|
231
340
|
ghostBackground: string;
|
232
341
|
ghostBackgroundHover: string;
|
@@ -253,38 +362,6 @@ export declare type BrandColorTokens = {
|
|
253
362
|
brandBackgroundStatic: string;
|
254
363
|
};
|
255
364
|
export declare type Greys = 0 | 2 | 4 | 6 | 8 | 10 | 12 | 14 | 16 | 18 | 20 | 22 | 24 | 26 | 28 | 30 | 32 | 34 | 36 | 38 | 40 | 42 | 44 | 46 | 48 | 50 | 52 | 54 | 56 | 58 | 60 | 62 | 64 | 66 | 68 | 70 | 72 | 74 | 76 | 78 | 80 | 82 | 84 | 86 | 88 | 90 | 92 | 94 | 96 | 98 | 100;
|
256
|
-
export declare type
|
257
|
-
|
258
|
-
|
259
|
-
black: string;
|
260
|
-
white: string;
|
261
|
-
hyperlink: string;
|
262
|
-
disabled: string;
|
263
|
-
selected: string;
|
264
|
-
};
|
265
|
-
palette: GlobalSharedColors & {
|
266
|
-
brand: BrandVariants;
|
267
|
-
grey: Record<Greys, string>;
|
268
|
-
};
|
269
|
-
type: {
|
270
|
-
fontSizes: FontSizes;
|
271
|
-
fontWeights: FontWeights;
|
272
|
-
fontFamilies: FontFamilies;
|
273
|
-
lineHeights: LineHeights;
|
274
|
-
alignment: TextAlignments;
|
275
|
-
};
|
276
|
-
borderRadius: BorderRadius;
|
277
|
-
strokeWidth: StrokeWidths;
|
278
|
-
};
|
279
|
-
alias: {
|
280
|
-
color: Record<keyof GlobalSharedColors, SharedColorTokens> & {
|
281
|
-
neutral: NeutralColorTokens;
|
282
|
-
subtle: BackgroundColorTokens;
|
283
|
-
transparent: BackgroundColorTokens;
|
284
|
-
brand: BrandColorTokens;
|
285
|
-
};
|
286
|
-
shadow: ShadowLevelTokens;
|
287
|
-
};
|
288
|
-
};
|
289
|
-
export declare type PartialTheme = RecursivePartial<Theme>;
|
290
|
-
export {};
|
365
|
+
export declare type AlphaColors = 5 | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90;
|
366
|
+
export declare type Theme = FontSizeTokens & LineHeightTokens & BorderRadiusTokens & StrokeWidthTokens & ShadowTokens & ShadowBrandTokens & FontFamilyTokens & FontWeightTokens & ColorPaletteTokens & ColorTokens;
|
367
|
+
export declare type PartialTheme = Partial<Theme>;
|
package/lib/types.js
CHANGED
package/lib/types.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { colorPaletteTokens, generateColorTokens } from '../alias/dark';
|
2
|
+
import { borderRadius, fontSizes, lineHeights, fontFamilies, strokeWidths, fontWeights } from '../global/index';
|
3
|
+
import { createShadowTokens } from './shadows';
|
4
|
+
export const createDarkTheme = brand => {
|
5
|
+
const colorTokens = generateColorTokens(brand);
|
6
|
+
return { ...borderRadius,
|
7
|
+
...fontSizes,
|
8
|
+
...lineHeights,
|
9
|
+
...fontFamilies,
|
10
|
+
...fontWeights,
|
11
|
+
...strokeWidths,
|
12
|
+
...colorTokens,
|
13
|
+
...colorPaletteTokens,
|
14
|
+
...createShadowTokens(colorTokens.colorNeutralShadowAmbient, colorTokens.colorNeutralShadowKey),
|
15
|
+
...createShadowTokens(colorTokens.colorBrandShadowAmbient, colorTokens.colorBrandShadowKey, 'Brand')
|
16
|
+
};
|
17
|
+
};
|
18
|
+
//# sourceMappingURL=createDarkTheme.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../src/utils/createDarkTheme.ts"],"names":[],"mappings":"AAAA,SAAS,kBAAT,EAA6B,mBAA7B,QAAwD,eAAxD;AACA,SAAS,YAAT,EAAuB,SAAvB,EAAkC,WAAlC,EAA+C,YAA/C,EAA6D,YAA7D,EAA2E,WAA3E,QAA8F,iBAA9F;AACA,SAAS,kBAAT,QAAmC,WAAnC;AAGA,OAAO,MAAM,eAAe,GAAoC,KAAK,IAAG;AACtE,QAAM,WAAW,GAAG,mBAAmB,CAAC,KAAD,CAAvC;AAEA,SAAO,EACL,GAAG,YADE;AAEL,OAAG,SAFE;AAGL,OAAG,WAHE;AAIL,OAAG,YAJE;AAKL,OAAG,WALE;AAML,OAAG,YANE;AAQL,OAAG,WARE;AASL,OAAG,kBATE;AAWL,OAAG,kBAAkB,CAAC,WAAW,CAAC,yBAAb,EAAwC,WAAW,CAAC,qBAApD,CAXhB;AAYL,OAAG,kBAAkB,CAAC,WAAW,CAAC,uBAAb,EAAsC,WAAW,CAAC,mBAAlD,EAAuE,OAAvE;AAZhB,GAAP;AAcD,CAjBM","sourceRoot":""}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { colorPaletteTokens, generateColorTokens } from '../alias/highContrast';
|
2
|
+
import { borderRadius, fontSizes, lineHeights, fontFamilies, strokeWidths, fontWeights } from '../global/index';
|
3
|
+
import { createShadowTokens } from './shadows';
|
4
|
+
export const createHighContrastTheme = () => {
|
5
|
+
const colorTokens = generateColorTokens();
|
6
|
+
return { ...borderRadius,
|
7
|
+
...fontSizes,
|
8
|
+
...lineHeights,
|
9
|
+
...fontFamilies,
|
10
|
+
...fontWeights,
|
11
|
+
...strokeWidths,
|
12
|
+
...colorTokens,
|
13
|
+
...colorPaletteTokens,
|
14
|
+
...createShadowTokens(colorTokens.colorNeutralShadowAmbient, colorTokens.colorNeutralShadowKey),
|
15
|
+
...createShadowTokens(colorTokens.colorBrandShadowAmbient, colorTokens.colorBrandShadowKey, 'Brand')
|
16
|
+
};
|
17
|
+
};
|
18
|
+
//# sourceMappingURL=createHighContrastTheme.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../src/utils/createHighContrastTheme.ts"],"names":[],"mappings":"AAAA,SAAS,kBAAT,EAA6B,mBAA7B,QAAwD,uBAAxD;AACA,SAAS,YAAT,EAAuB,SAAvB,EAAkC,WAAlC,EAA+C,YAA/C,EAA6D,YAA7D,EAA2E,WAA3E,QAA8F,iBAA9F;AACA,SAAS,kBAAT,QAAmC,WAAnC;AAGA,OAAO,MAAM,uBAAuB,GAAG,MAAY;AACjD,QAAM,WAAW,GAAG,mBAAmB,EAAvC;AAEA,SAAO,EACL,GAAG,YADE;AAEL,OAAG,SAFE;AAGL,OAAG,WAHE;AAIL,OAAG,YAJE;AAKL,OAAG,WALE;AAML,OAAG,YANE;AAQL,OAAG,WARE;AASL,OAAG,kBATE;AAWL,OAAG,kBAAkB,CAAC,WAAW,CAAC,yBAAb,EAAwC,WAAW,CAAC,qBAApD,CAXhB;AAYL,OAAG,kBAAkB,CAAC,WAAW,CAAC,uBAAb,EAAsC,WAAW,CAAC,mBAAlD,EAAuE,OAAvE;AAZhB,GAAP;AAcD,CAjBM","sourceRoot":""}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { colorPaletteTokens, generateColorTokens } from '../alias/light';
|
2
|
+
import { borderRadius, fontSizes, lineHeights, fontFamilies, strokeWidths, fontWeights } from '../global/index';
|
3
|
+
import { createShadowTokens } from './shadows';
|
4
|
+
export const createLightTheme = brand => {
|
5
|
+
const colorTokens = generateColorTokens(brand);
|
6
|
+
return { ...borderRadius,
|
7
|
+
...fontSizes,
|
8
|
+
...lineHeights,
|
9
|
+
...fontFamilies,
|
10
|
+
...fontWeights,
|
11
|
+
...strokeWidths,
|
12
|
+
...colorTokens,
|
13
|
+
...colorPaletteTokens,
|
14
|
+
...createShadowTokens(colorTokens.colorNeutralShadowAmbient, colorTokens.colorNeutralShadowKey),
|
15
|
+
...createShadowTokens(colorTokens.colorBrandShadowAmbient, colorTokens.colorBrandShadowKey, 'Brand')
|
16
|
+
};
|
17
|
+
};
|
18
|
+
//# sourceMappingURL=createLightTheme.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../src/utils/createLightTheme.ts"],"names":[],"mappings":"AAAA,SAAS,kBAAT,EAA6B,mBAA7B,QAAwD,gBAAxD;AACA,SAAS,YAAT,EAAuB,SAAvB,EAAkC,WAAlC,EAA+C,YAA/C,EAA6D,YAA7D,EAA2E,WAA3E,QAA8F,iBAA9F;AACA,SAAS,kBAAT,QAAmC,WAAnC;AAGA,OAAO,MAAM,gBAAgB,GAAoC,KAAK,IAAG;AACvE,QAAM,WAAW,GAAG,mBAAmB,CAAC,KAAD,CAAvC;AAEA,SAAO,EACL,GAAG,YADE;AAEL,OAAG,SAFE;AAGL,OAAG,WAHE;AAIL,OAAG,YAJE;AAKL,OAAG,WALE;AAML,OAAG,YANE;AAQL,OAAG,WARE;AASL,OAAG,kBATE;AAWL,OAAG,kBAAkB,CAAC,WAAW,CAAC,yBAAb,EAAwC,WAAW,CAAC,qBAApD,CAXhB;AAYL,OAAG,kBAAkB,CAAC,WAAW,CAAC,uBAAb,EAAsC,WAAW,CAAC,mBAAlD,EAAuE,OAAvE;AAZhB,GAAP;AAcD,CAjBM","sourceRoot":""}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { colorPaletteTokens, generateColorTokens } from '../alias/teamsDark';
|
2
|
+
import { borderRadius, fontSizes, lineHeights, fontFamilies, strokeWidths, fontWeights } from '../global/index';
|
3
|
+
import { createShadowTokens } from './shadows';
|
4
|
+
export const createTeamsDarkTheme = brand => {
|
5
|
+
const colorTokens = generateColorTokens(brand);
|
6
|
+
return { ...borderRadius,
|
7
|
+
...fontSizes,
|
8
|
+
...lineHeights,
|
9
|
+
...fontFamilies,
|
10
|
+
...fontWeights,
|
11
|
+
...strokeWidths,
|
12
|
+
...colorTokens,
|
13
|
+
...colorPaletteTokens,
|
14
|
+
...createShadowTokens(colorTokens.colorNeutralShadowAmbient, colorTokens.colorNeutralShadowKey),
|
15
|
+
...createShadowTokens(colorTokens.colorBrandShadowAmbient, colorTokens.colorBrandShadowKey, 'Brand')
|
16
|
+
};
|
17
|
+
};
|
18
|
+
//# sourceMappingURL=createTeamsDarkTheme.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../src/utils/createTeamsDarkTheme.ts"],"names":[],"mappings":"AAAA,SAAS,kBAAT,EAA6B,mBAA7B,QAAwD,oBAAxD;AACA,SAAS,YAAT,EAAuB,SAAvB,EAAkC,WAAlC,EAA+C,YAA/C,EAA6D,YAA7D,EAA2E,WAA3E,QAA8F,iBAA9F;AACA,SAAS,kBAAT,QAAmC,WAAnC;AAGA,OAAO,MAAM,oBAAoB,GAAoC,KAAK,IAAG;AAC3E,QAAM,WAAW,GAAG,mBAAmB,CAAC,KAAD,CAAvC;AAEA,SAAO,EACL,GAAG,YADE;AAEL,OAAG,SAFE;AAGL,OAAG,WAHE;AAIL,OAAG,YAJE;AAKL,OAAG,WALE;AAML,OAAG,YANE;AAQL,OAAG,WARE;AASL,OAAG,kBATE;AAWL,OAAG,kBAAkB,CAAC,WAAW,CAAC,yBAAb,EAAwC,WAAW,CAAC,qBAApD,CAXhB;AAYL,OAAG,kBAAkB,CAAC,WAAW,CAAC,uBAAb,EAAsC,WAAW,CAAC,mBAAlD,EAAuE,OAAvE;AAZhB,GAAP;AAcD,CAjBM","sourceRoot":""}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export * from './createLightTheme';
|
2
|
+
export * from './createDarkTheme';
|
3
|
+
export * from './createTeamsDarkTheme';
|
4
|
+
export * from './createHighContrastTheme';
|
5
|
+
export { mergeThemes } from './mergeThemes';
|
6
|
+
export * from './themeToCSSVariables';
|
7
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAE1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,cAAc,uBAAuB,CAAC"}
|