@fluentui/tokens 1.0.0-alpha.2 → 1.0.0-alpha.21
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.md +176 -2
- package/dist/index.d.ts +44 -2
- package/lib/alias/darkColor.js +169 -155
- package/lib/alias/darkColor.js.map +1 -1
- package/lib/alias/darkColorPalette.js +57 -32
- package/lib/alias/darkColorPalette.js.map +1 -1
- package/lib/alias/highContrastColor.js +169 -155
- package/lib/alias/highContrastColor.js.map +1 -1
- package/lib/alias/highContrastColorPalette.js +50 -29
- package/lib/alias/highContrastColorPalette.js.map +1 -1
- package/lib/alias/lightColor.js +169 -155
- package/lib/alias/lightColor.js.map +1 -1
- package/lib/alias/lightColorPalette.js +53 -29
- package/lib/alias/lightColorPalette.js.map +1 -1
- package/lib/alias/teamsDarkColor.js +169 -155
- package/lib/alias/teamsDarkColor.js.map +1 -1
- package/lib/alias/teamsFontFamilies.js +5 -0
- package/lib/alias/teamsFontFamilies.js.map +1 -0
- package/lib/global/borderRadius.js +6 -7
- package/lib/global/borderRadius.js.map +1 -1
- package/lib/global/brandColors.js +48 -49
- package/lib/global/brandColors.js.map +1 -1
- package/lib/global/colorPalette.js +41 -37
- package/lib/global/colorPalette.js.map +1 -1
- package/lib/global/colors.js +693 -675
- package/lib/global/colors.js.map +1 -1
- package/lib/global/curves.js +9 -10
- package/lib/global/curves.js.map +1 -1
- package/lib/global/durations.js +8 -8
- package/lib/global/durations.js.map +1 -1
- package/lib/global/fonts.js +27 -30
- package/lib/global/fonts.js.map +1 -1
- package/lib/global/index.js +8 -10
- package/lib/global/index.js.map +1 -1
- package/lib/global/spacings.js +33 -34
- package/lib/global/spacings.js.map +1 -1
- package/lib/global/strokeWidths.js +4 -5
- package/lib/global/strokeWidths.js.map +1 -1
- package/lib/global/typographyStyles.js +104 -107
- package/lib/global/typographyStyles.js.map +1 -1
- package/lib/index.js +5 -6
- package/lib/index.js.map +1 -1
- package/lib/sharedColorNames.js +60 -9
- package/lib/sharedColorNames.js.map +1 -1
- package/lib/statusColorMapping.js +5 -0
- package/lib/statusColorMapping.js.map +1 -0
- package/lib/themeToTokensObject.js +7 -11
- package/lib/themeToTokensObject.js.map +1 -1
- package/lib/themes/index.js +2 -3
- package/lib/themes/index.js.map +1 -1
- package/lib/themes/teams/darkTheme.js +7 -4
- package/lib/themes/teams/darkTheme.js.map +1 -1
- package/lib/themes/teams/highContrastTheme.js +6 -3
- package/lib/themes/teams/highContrastTheme.js.map +1 -1
- package/lib/themes/teams/index.js +3 -4
- package/lib/themes/teams/index.js.map +1 -1
- package/lib/themes/teams/lightTheme.js +7 -4
- package/lib/themes/teams/lightTheme.js.map +1 -1
- package/lib/themes/web/darkTheme.js +3 -4
- package/lib/themes/web/darkTheme.js.map +1 -1
- package/lib/themes/web/index.js +2 -3
- package/lib/themes/web/index.js.map +1 -1
- package/lib/themes/web/lightTheme.js +3 -4
- package/lib/themes/web/lightTheme.js.map +1 -1
- package/lib/tokens.js +523 -433
- package/lib/tokens.js.map +1 -1
- package/lib/types.js +1 -2
- package/lib/types.js.map +1 -1
- package/lib/utils/createDarkTheme.js +26 -25
- package/lib/utils/createDarkTheme.js.map +1 -1
- package/lib/utils/createHighContrastTheme.js +26 -25
- package/lib/utils/createHighContrastTheme.js.map +1 -1
- package/lib/utils/createLightTheme.js +26 -25
- package/lib/utils/createLightTheme.js.map +1 -1
- package/lib/utils/createTeamsDarkTheme.js +26 -25
- package/lib/utils/createTeamsDarkTheme.js.map +1 -1
- package/lib/utils/index.js +4 -5
- package/lib/utils/index.js.map +1 -1
- package/lib/utils/shadows.js +8 -9
- package/lib/utils/shadows.js.map +1 -1
- package/lib-commonjs/alias/darkColor.js +176 -162
- package/lib-commonjs/alias/darkColor.js.map +1 -1
- package/lib-commonjs/alias/darkColorPalette.js +84 -50
- package/lib-commonjs/alias/darkColorPalette.js.map +1 -1
- package/lib-commonjs/alias/highContrastColor.js +176 -162
- package/lib-commonjs/alias/highContrastColor.js.map +1 -1
- package/lib-commonjs/alias/highContrastColorPalette.js +68 -38
- package/lib-commonjs/alias/highContrastColorPalette.js.map +1 -1
- package/lib-commonjs/alias/lightColor.js +176 -162
- package/lib-commonjs/alias/lightColor.js.map +1 -1
- package/lib-commonjs/alias/lightColorPalette.js +72 -39
- package/lib-commonjs/alias/lightColorPalette.js.map +1 -1
- package/lib-commonjs/alias/teamsDarkColor.js +176 -162
- package/lib-commonjs/alias/teamsDarkColor.js.map +1 -1
- package/lib-commonjs/alias/teamsFontFamilies.js +15 -0
- package/lib-commonjs/alias/teamsFontFamilies.js.map +1 -0
- package/lib-commonjs/global/borderRadius.js +14 -11
- package/lib-commonjs/global/borderRadius.js.map +1 -1
- package/lib-commonjs/global/brandColors.js +69 -55
- package/lib-commonjs/global/brandColors.js.map +1 -1
- package/lib-commonjs/global/colorPalette.js +61 -44
- package/lib-commonjs/global/colorPalette.js.map +1 -1
- package/lib-commonjs/global/colors.js +1012 -794
- package/lib-commonjs/global/colors.js.map +1 -1
- package/lib-commonjs/global/curves.js +17 -14
- package/lib-commonjs/global/curves.js.map +1 -1
- package/lib-commonjs/global/durations.js +16 -12
- package/lib-commonjs/global/durations.js.map +1 -1
- package/lib-commonjs/global/fonts.js +52 -37
- package/lib-commonjs/global/fonts.js.map +1 -1
- package/lib-commonjs/global/index.js +245 -23
- package/lib-commonjs/global/index.js.map +1 -1
- package/lib-commonjs/global/spacings.js +51 -40
- package/lib-commonjs/global/spacings.js.map +1 -1
- package/lib-commonjs/global/strokeWidths.js +12 -9
- package/lib-commonjs/global/strokeWidths.js.map +1 -1
- package/lib-commonjs/global/typographyStyles.js +111 -114
- package/lib-commonjs/global/typographyStyles.js.map +1 -1
- package/lib-commonjs/index.js +51 -92
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/sharedColorNames.js +82 -14
- package/lib-commonjs/sharedColorNames.js.map +1 -1
- package/lib-commonjs/statusColorMapping.js +15 -0
- package/lib-commonjs/statusColorMapping.js.map +1 -0
- package/lib-commonjs/themeToTokensObject.js +13 -23
- package/lib-commonjs/themeToTokensObject.js.map +1 -1
- package/lib-commonjs/themes/index.js +26 -9
- package/lib-commonjs/themes/index.js.map +1 -1
- package/lib-commonjs/themes/teams/darkTheme.js +14 -10
- package/lib-commonjs/themes/teams/darkTheme.js.map +1 -1
- package/lib-commonjs/themes/teams/highContrastTheme.js +13 -8
- package/lib-commonjs/themes/teams/highContrastTheme.js.map +1 -1
- package/lib-commonjs/themes/teams/index.js +21 -11
- package/lib-commonjs/themes/teams/index.js.map +1 -1
- package/lib-commonjs/themes/teams/lightTheme.js +14 -10
- package/lib-commonjs/themes/teams/lightTheme.js.map +1 -1
- package/lib-commonjs/themes/web/darkTheme.js +10 -10
- package/lib-commonjs/themes/web/darkTheme.js.map +1 -1
- package/lib-commonjs/themes/web/index.js +17 -9
- package/lib-commonjs/themes/web/index.js.map +1 -1
- package/lib-commonjs/themes/web/lightTheme.js +10 -10
- package/lib-commonjs/themes/web/lightTheme.js.map +1 -1
- package/lib-commonjs/tokens.js +531 -437
- package/lib-commonjs/tokens.js.map +1 -1
- package/lib-commonjs/types.js +1 -3
- package/lib-commonjs/types.js.map +1 -1
- package/lib-commonjs/utils/createDarkTheme.js +33 -38
- package/lib-commonjs/utils/createDarkTheme.js.map +1 -1
- package/lib-commonjs/utils/createHighContrastTheme.js +33 -38
- package/lib-commonjs/utils/createHighContrastTheme.js.map +1 -1
- package/lib-commonjs/utils/createLightTheme.js +33 -38
- package/lib-commonjs/utils/createLightTheme.js.map +1 -1
- package/lib-commonjs/utils/createTeamsDarkTheme.js +33 -38
- package/lib-commonjs/utils/createTeamsDarkTheme.js.map +1 -1
- package/lib-commonjs/utils/index.js +25 -13
- package/lib-commonjs/utils/index.js.map +1 -1
- package/lib-commonjs/utils/shadows.js +15 -15
- package/lib-commonjs/utils/shadows.js.map +1 -1
- package/package.json +11 -15
- package/CHANGELOG.json +0 -35
- package/lib-amd/alias/darkColor.js +0 -158
- package/lib-amd/alias/darkColor.js.map +0 -1
- package/lib-amd/alias/darkColorPalette.js +0 -47
- package/lib-amd/alias/darkColorPalette.js.map +0 -1
- package/lib-amd/alias/highContrastColor.js +0 -158
- package/lib-amd/alias/highContrastColor.js.map +0 -1
- package/lib-amd/alias/highContrastColorPalette.js +0 -37
- package/lib-amd/alias/highContrastColorPalette.js.map +0 -1
- package/lib-amd/alias/lightColor.js +0 -158
- package/lib-amd/alias/lightColor.js.map +0 -1
- package/lib-amd/alias/lightColorPalette.js +0 -38
- package/lib-amd/alias/lightColorPalette.js.map +0 -1
- package/lib-amd/alias/teamsDarkColor.js +0 -158
- package/lib-amd/alias/teamsDarkColor.js.map +0 -1
- package/lib-amd/global/borderRadius.js +0 -14
- package/lib-amd/global/borderRadius.js.map +0 -1
- package/lib-amd/global/brandColors.js +0 -60
- package/lib-amd/global/brandColors.js.map +0 -1
- package/lib-amd/global/colorPalette.js +0 -45
- package/lib-amd/global/colorPalette.js.map +0 -1
- package/lib-amd/global/colors.js +0 -793
- package/lib-amd/global/colors.js.map +0 -1
- package/lib-amd/global/curves.js +0 -17
- package/lib-amd/global/curves.js.map +0 -1
- package/lib-amd/global/durations.js +0 -15
- package/lib-amd/global/durations.js.map +0 -1
- package/lib-amd/global/fonts.js +0 -45
- package/lib-amd/global/fonts.js.map +0 -1
- package/lib-amd/global/index.js +0 -14
- package/lib-amd/global/index.js.map +0 -1
- package/lib-amd/global/spacings.js +0 -46
- package/lib-amd/global/spacings.js.map +0 -1
- package/lib-amd/global/strokeWidths.js +0 -12
- package/lib-amd/global/strokeWidths.js.map +0 -1
- package/lib-amd/global/typographyStyles.js +0 -113
- package/lib-amd/global/typographyStyles.js.map +0 -1
- package/lib-amd/index.js +0 -18
- package/lib-amd/index.js.map +0 -1
- package/lib-amd/sharedColorNames.js +0 -64
- package/lib-amd/sharedColorNames.js.map +0 -1
- package/lib-amd/themeToTokensObject.js +0 -24
- package/lib-amd/themeToTokensObject.js.map +0 -1
- package/lib-amd/themes/index.js +0 -7
- package/lib-amd/themes/index.js.map +0 -1
- package/lib-amd/themes/teams/darkTheme.js +0 -7
- package/lib-amd/themes/teams/darkTheme.js.map +0 -1
- package/lib-amd/themes/teams/highContrastTheme.js +0 -7
- package/lib-amd/themes/teams/highContrastTheme.js.map +0 -1
- 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.js +0 -7
- package/lib-amd/themes/teams/lightTheme.js.map +0 -1
- package/lib-amd/themes/web/darkTheme.js +0 -7
- package/lib-amd/themes/web/darkTheme.js.map +0 -1
- package/lib-amd/themes/web/index.js +0 -7
- package/lib-amd/themes/web/index.js.map +0 -1
- package/lib-amd/themes/web/lightTheme.js +0 -7
- package/lib-amd/themes/web/lightTheme.js.map +0 -1
- package/lib-amd/tokens.js +0 -440
- package/lib-amd/tokens.js.map +0 -1
- package/lib-amd/types.js +0 -5
- package/lib-amd/types.js.map +0 -1
- package/lib-amd/utils/createDarkTheme.js +0 -11
- package/lib-amd/utils/createDarkTheme.js.map +0 -1
- package/lib-amd/utils/createHighContrastTheme.js +0 -11
- package/lib-amd/utils/createHighContrastTheme.js.map +0 -1
- package/lib-amd/utils/createLightTheme.js +0 -11
- package/lib-amd/utils/createLightTheme.js.map +0 -1
- package/lib-amd/utils/createTeamsDarkTheme.js +0 -11
- package/lib-amd/utils/createTeamsDarkTheme.js.map +0 -1
- package/lib-amd/utils/index.js +0 -9
- package/lib-amd/utils/index.js.map +0 -1
- package/lib-amd/utils/shadows.js +0 -19
- package/lib-amd/utils/shadows.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,186 @@
|
|
|
1
1
|
# Change Log - @fluentui/tokens
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Mon, 16 Dec 2024 16:22:05 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [1.0.0-alpha.21](https://github.com/microsoft/fluentui/tree/@fluentui/tokens_v1.0.0-alpha.21)
|
|
8
|
+
|
|
9
|
+
Mon, 16 Dec 2024 16:22:05 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/tokens_v1.0.0-alpha.20..@fluentui/tokens_v1.0.0-alpha.21)
|
|
11
|
+
|
|
12
|
+
### Changes
|
|
13
|
+
|
|
14
|
+
- bugfix: ensure teams tokens follow teams overrides for fonts ([PR #33393](https://github.com/microsoft/fluentui/pull/33393) by bernardo.sunderhus@gmail.com)
|
|
15
|
+
|
|
16
|
+
## [1.0.0-alpha.20](https://github.com/microsoft/fluentui/tree/@fluentui/tokens_v1.0.0-alpha.20)
|
|
17
|
+
|
|
18
|
+
Fri, 06 Dec 2024 12:53:46 GMT
|
|
19
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/tokens_v1.0.0-alpha.19..@fluentui/tokens_v1.0.0-alpha.20)
|
|
20
|
+
|
|
21
|
+
### Changes
|
|
22
|
+
|
|
23
|
+
- chore: remove usage of "export *" ([PR #33380](https://github.com/microsoft/fluentui/pull/33380) by olfedias@microsoft.com)
|
|
24
|
+
|
|
25
|
+
## [1.0.0-alpha.19](https://github.com/microsoft/fluentui/tree/@fluentui/tokens_v1.0.0-alpha.19)
|
|
26
|
+
|
|
27
|
+
Mon, 11 Nov 2024 10:00:39 GMT
|
|
28
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/tokens_v1.0.0-alpha.18..@fluentui/tokens_v1.0.0-alpha.19)
|
|
29
|
+
|
|
30
|
+
### Changes
|
|
31
|
+
|
|
32
|
+
- chore: replace npm-scripts and just-scrtips with nx inferred tasks ([PR #33074](https://github.com/microsoft/fluentui/pull/33074) by martinhochel@microsoft.com)
|
|
33
|
+
|
|
34
|
+
## [1.0.0-alpha.18](https://github.com/microsoft/fluentui/tree/@fluentui/tokens_v1.0.0-alpha.18)
|
|
35
|
+
|
|
36
|
+
Tue, 15 Oct 2024 17:17:52 GMT
|
|
37
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/tokens_v1.0.0-alpha.17..@fluentui/tokens_v1.0.0-alpha.18)
|
|
38
|
+
|
|
39
|
+
### Changes
|
|
40
|
+
|
|
41
|
+
- feat: add explicit .js file extensions to all relative import/export statement within built output to support native ESM within browser ([PR #30770](https://github.com/microsoft/fluentui/pull/30770) by martinhochel@microsoft.com)
|
|
42
|
+
|
|
43
|
+
## [1.0.0-alpha.17](https://github.com/microsoft/fluentui/tree/@fluentui/tokens_v1.0.0-alpha.17)
|
|
44
|
+
|
|
45
|
+
Mon, 23 Sep 2024 12:40:16 GMT
|
|
46
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/tokens_v1.0.0-alpha.16..@fluentui/tokens_v1.0.0-alpha.17)
|
|
47
|
+
|
|
48
|
+
### Changes
|
|
49
|
+
|
|
50
|
+
- feat: add z-index tokens ([PR #32356](https://github.com/microsoft/fluentui/pull/32356) by marcosvmmoura@gmail.com)
|
|
51
|
+
|
|
52
|
+
## [1.0.0-alpha.16](https://github.com/microsoft/fluentui/tree/@fluentui/tokens_v1.0.0-alpha.16)
|
|
53
|
+
|
|
54
|
+
Mon, 18 Mar 2024 19:50:46 GMT
|
|
55
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/tokens_v1.0.0-alpha.15..@fluentui/tokens_v1.0.0-alpha.16)
|
|
56
|
+
|
|
57
|
+
### Changes
|
|
58
|
+
|
|
59
|
+
- reverting #30770 which caused compilation issues ([PR #30803](https://github.com/microsoft/fluentui/pull/30803) by mgodbolt@microsoft.com)
|
|
60
|
+
|
|
61
|
+
## [1.0.0-alpha.15](https://github.com/microsoft/fluentui/tree/@fluentui/tokens_v1.0.0-alpha.15)
|
|
62
|
+
|
|
63
|
+
Fri, 15 Mar 2024 21:43:49 GMT
|
|
64
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/tokens_v1.0.0-alpha.14..@fluentui/tokens_v1.0.0-alpha.15)
|
|
65
|
+
|
|
66
|
+
### Changes
|
|
67
|
+
|
|
68
|
+
- feat: enable .js extension addition and directory import/export unwrapping in build output ([PR #30770](https://github.com/microsoft/fluentui/pull/30770) by martinhochel@microsoft.com)
|
|
69
|
+
|
|
70
|
+
## [1.0.0-alpha.14](https://github.com/microsoft/fluentui/tree/@fluentui/tokens_v1.0.0-alpha.14)
|
|
71
|
+
|
|
72
|
+
Thu, 07 Mar 2024 19:33:27 GMT
|
|
73
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/tokens_v1.0.0-alpha.13..@fluentui/tokens_v1.0.0-alpha.14)
|
|
74
|
+
|
|
75
|
+
### Changes
|
|
76
|
+
|
|
77
|
+
- feat: Add/update color tokens ([PR #30412](https://github.com/microsoft/fluentui/pull/30412) by miroslav.stastny@microsoft.com)
|
|
78
|
+
|
|
79
|
+
## [1.0.0-alpha.13](https://github.com/microsoft/fluentui/tree/@fluentui/tokens_v1.0.0-alpha.13)
|
|
80
|
+
|
|
81
|
+
Thu, 09 Nov 2023 17:29:48 GMT
|
|
82
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/tokens_v1.0.0-alpha.12..@fluentui/tokens_v1.0.0-alpha.13)
|
|
83
|
+
|
|
84
|
+
### Changes
|
|
85
|
+
|
|
86
|
+
- chore: use package.json#files setup instead of npmignore for all v9 libraries ([PR #29734](https://github.com/microsoft/fluentui/pull/29734) by martinhochel@microsoft.com)
|
|
87
|
+
|
|
88
|
+
## [1.0.0-alpha.12](https://github.com/microsoft/fluentui/tree/@fluentui/tokens_v1.0.0-alpha.12)
|
|
89
|
+
|
|
90
|
+
Wed, 01 Nov 2023 12:55:59 GMT
|
|
91
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/tokens_v1.0.0-alpha.11..@fluentui/tokens_v1.0.0-alpha.12)
|
|
92
|
+
|
|
93
|
+
### Changes
|
|
94
|
+
|
|
95
|
+
- fix(tokens): Fix motion curves to match design ([PR #29546](https://github.com/microsoft/fluentui/pull/29546) by robertpenner@microsoft.com)
|
|
96
|
+
|
|
97
|
+
## [1.0.0-alpha.11](https://github.com/microsoft/fluentui/tree/@fluentui/tokens_v1.0.0-alpha.11)
|
|
98
|
+
|
|
99
|
+
Tue, 26 Sep 2023 17:49:15 GMT
|
|
100
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/tokens_v1.0.0-alpha.10..@fluentui/tokens_v1.0.0-alpha.11)
|
|
101
|
+
|
|
102
|
+
### Changes
|
|
103
|
+
|
|
104
|
+
- chore: trigger manual version bump after broken release ([PR #29303](https://github.com/microsoft/fluentui/pull/29303) by yuanboxue@microsoft.com)
|
|
105
|
+
|
|
106
|
+
## [1.0.0-alpha.10](https://github.com/microsoft/fluentui/tree/@fluentui/tokens_v1.0.0-alpha.10)
|
|
107
|
+
|
|
108
|
+
Tue, 26 Sep 2023 15:31:40 GMT
|
|
109
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/tokens_v1.0.0-alpha.9..@fluentui/tokens_v1.0.0-alpha.10)
|
|
110
|
+
|
|
111
|
+
### Changes
|
|
112
|
+
|
|
113
|
+
- fix: bump swc core to mitigate transpilation memory leaks ([PR #29253](https://github.com/microsoft/fluentui/pull/29253) by martinhochel@microsoft.com)
|
|
114
|
+
|
|
115
|
+
## [1.0.0-alpha.9](https://github.com/microsoft/fluentui/tree/@fluentui/tokens_v1.0.0-alpha.9)
|
|
116
|
+
|
|
117
|
+
Tue, 05 Sep 2023 13:29:13 GMT
|
|
118
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/tokens_v1.0.0-alpha.8..@fluentui/tokens_v1.0.0-alpha.9)
|
|
119
|
+
|
|
120
|
+
### Changes
|
|
121
|
+
|
|
122
|
+
- bumps @swc/helpers version to 0.5.1 ([PR #28989](https://github.com/microsoft/fluentui/pull/28989) by bernardo.sunderhus@gmail.com)
|
|
123
|
+
|
|
124
|
+
## [1.0.0-alpha.8](https://github.com/microsoft/fluentui/tree/@fluentui/tokens_v1.0.0-alpha.8)
|
|
125
|
+
|
|
126
|
+
Wed, 09 Aug 2023 13:17:11 GMT
|
|
127
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/tokens_v1.0.0-alpha.7..@fluentui/tokens_v1.0.0-alpha.8)
|
|
128
|
+
|
|
129
|
+
### Changes
|
|
130
|
+
|
|
131
|
+
- feat: add durationGentle ([PR #28770](https://github.com/microsoft/fluentui/pull/28770) by miroslav.stastny@microsoft.com)
|
|
132
|
+
|
|
133
|
+
## [1.0.0-alpha.7](https://github.com/microsoft/fluentui/tree/@fluentui/tokens_v1.0.0-alpha.7)
|
|
134
|
+
|
|
135
|
+
Fri, 04 Aug 2023 08:52:58 GMT
|
|
136
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/tokens_v1.0.0-alpha.6..@fluentui/tokens_v1.0.0-alpha.7)
|
|
137
|
+
|
|
138
|
+
### Changes
|
|
139
|
+
|
|
140
|
+
- feat: add status color tokens ([PR #28006](https://github.com/microsoft/fluentui/pull/28006) by miroslav.stastny@microsoft.com)
|
|
141
|
+
- Add colorBrandStroke2Contrast and colorNeutralStrokeAlpha2 ([PR #28638](https://github.com/microsoft/fluentui/pull/28638) by miroslav.stastny@microsoft.com)
|
|
142
|
+
|
|
143
|
+
## [1.0.0-alpha.6](https://github.com/microsoft/fluentui/tree/@fluentui/tokens_v1.0.0-alpha.6)
|
|
144
|
+
|
|
145
|
+
Tue, 20 Jun 2023 12:39:07 GMT
|
|
146
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/tokens_v1.0.0-alpha.5..@fluentui/tokens_v1.0.0-alpha.6)
|
|
147
|
+
|
|
148
|
+
### Changes
|
|
149
|
+
|
|
150
|
+
- Add/update theme tokens ([PR #27791](https://github.com/microsoft/fluentui/pull/27791) by miroslav.stastny@microsoft.com)
|
|
151
|
+
- fix: cast to String keys interpolated within string literals ([PR #28067](https://github.com/microsoft/fluentui/pull/28067) by martinhochel@microsoft.com)
|
|
152
|
+
|
|
153
|
+
## [1.0.0-alpha.5](https://github.com/microsoft/fluentui/tree/@fluentui/tokens_v1.0.0-alpha.5)
|
|
154
|
+
|
|
155
|
+
Fri, 12 May 2023 20:28:07 GMT
|
|
156
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/tokens_v1.0.0-alpha.4..@fluentui/tokens_v1.0.0-alpha.5)
|
|
157
|
+
|
|
158
|
+
### Changes
|
|
159
|
+
|
|
160
|
+
- chore: exclude .swcrc from being published ([PR #27740](https://github.com/microsoft/fluentui/pull/27740) by olfedias@microsoft.com)
|
|
161
|
+
|
|
162
|
+
## [1.0.0-alpha.4](https://github.com/microsoft/fluentui/tree/@fluentui/tokens_v1.0.0-alpha.4)
|
|
163
|
+
|
|
164
|
+
Tue, 21 Mar 2023 21:23:17 GMT
|
|
165
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/tokens_v1.0.0-alpha.3..@fluentui/tokens_v1.0.0-alpha.4)
|
|
166
|
+
|
|
167
|
+
### Changes
|
|
168
|
+
|
|
169
|
+
- chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
|
|
170
|
+
- fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
|
|
171
|
+
|
|
172
|
+
## [1.0.0-alpha.3](https://github.com/microsoft/fluentui/tree/@fluentui/tokens_v1.0.0-alpha.3)
|
|
173
|
+
|
|
174
|
+
Wed, 15 Mar 2023 10:19:53 GMT
|
|
175
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/tokens_v1.0.0-alpha.2..@fluentui/tokens_v1.0.0-alpha.3)
|
|
176
|
+
|
|
177
|
+
### Changes
|
|
178
|
+
|
|
179
|
+
- feat(tokens): Add colorNeutralBackgroundAlpha and colorNeutralStrokeAlpha tokens ([PR #27034](https://github.com/microsoft/fluentui/pull/27034) by miroslav.stastny@microsoft.com)
|
|
180
|
+
|
|
7
181
|
## [1.0.0-alpha.2](https://github.com/microsoft/fluentui/tree/@fluentui/tokens_v1.0.0-alpha.2)
|
|
8
182
|
|
|
9
|
-
Wed, 21 Dec 2022 10:
|
|
183
|
+
Wed, 21 Dec 2022 10:20:33 GMT
|
|
10
184
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/tokens_v1.0.0-alpha.1..@fluentui/tokens_v1.0.0-alpha.2)
|
|
11
185
|
|
|
12
186
|
### Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -83,6 +83,14 @@ export declare type ColorPaletteTokens = StatusColorPaletteTokens & PersonaColor
|
|
|
83
83
|
|
|
84
84
|
export declare type ColorPaletteYellow = 'colorPaletteYellowBackground1' | 'colorPaletteYellowBackground2' | 'colorPaletteYellowBackground3' | 'colorPaletteYellowForeground1' | 'colorPaletteYellowForeground2' | 'colorPaletteYellowForeground3' | 'colorPaletteYellowForegroundInverted' | 'colorPaletteYellowBorderActive' | 'colorPaletteYellowBorder1' | 'colorPaletteYellowBorder2';
|
|
85
85
|
|
|
86
|
+
declare type ColorStatusDanger = 'colorStatusDangerBackground1' | 'colorStatusDangerBackground2' | 'colorStatusDangerBackground3' | 'colorStatusDangerBackground3Hover' | 'colorStatusDangerBackground3Pressed' | 'colorStatusDangerForeground1' | 'colorStatusDangerForeground2' | 'colorStatusDangerForeground3' | 'colorStatusDangerForegroundInverted' | 'colorStatusDangerBorderActive' | 'colorStatusDangerBorder1' | 'colorStatusDangerBorder2';
|
|
87
|
+
|
|
88
|
+
declare type ColorStatusSuccess = 'colorStatusSuccessBackground1' | 'colorStatusSuccessBackground2' | 'colorStatusSuccessBackground3' | 'colorStatusSuccessForeground1' | 'colorStatusSuccessForeground2' | 'colorStatusSuccessForeground3' | 'colorStatusSuccessForegroundInverted' | 'colorStatusSuccessBorderActive' | 'colorStatusSuccessBorder1' | 'colorStatusSuccessBorder2';
|
|
89
|
+
|
|
90
|
+
declare type ColorStatusTokens = Record<ColorStatusSuccess | ColorStatusWarning | ColorStatusDanger, string>;
|
|
91
|
+
|
|
92
|
+
declare type ColorStatusWarning = 'colorStatusWarningBackground1' | 'colorStatusWarningBackground2' | 'colorStatusWarningBackground3' | 'colorStatusWarningForeground1' | 'colorStatusWarningForeground2' | 'colorStatusWarningForeground3' | 'colorStatusWarningForegroundInverted' | 'colorStatusWarningBorderActive' | 'colorStatusWarningBorder1' | 'colorStatusWarningBorder2';
|
|
93
|
+
|
|
86
94
|
/**
|
|
87
95
|
* Design tokens for alias colors
|
|
88
96
|
*/
|
|
@@ -121,6 +129,8 @@ export declare type ColorTokens = {
|
|
|
121
129
|
colorCompoundBrandForeground1Pressed: string;
|
|
122
130
|
colorBrandForeground1: string;
|
|
123
131
|
colorBrandForeground2: string;
|
|
132
|
+
colorBrandForeground2Hover: string;
|
|
133
|
+
colorBrandForeground2Pressed: string;
|
|
124
134
|
colorNeutralForeground1Static: string;
|
|
125
135
|
colorNeutralForegroundInverted: string;
|
|
126
136
|
colorNeutralForegroundInvertedHover: string;
|
|
@@ -161,8 +171,10 @@ export declare type ColorTokens = {
|
|
|
161
171
|
colorNeutralBackground5Pressed: string;
|
|
162
172
|
colorNeutralBackground5Selected: string;
|
|
163
173
|
colorNeutralBackground6: string;
|
|
164
|
-
colorNeutralBackgroundStatic: string;
|
|
165
174
|
colorNeutralBackgroundInverted: string;
|
|
175
|
+
colorNeutralBackgroundStatic: string;
|
|
176
|
+
colorNeutralBackgroundAlpha: string;
|
|
177
|
+
colorNeutralBackgroundAlpha2: string;
|
|
166
178
|
colorSubtleBackground: string;
|
|
167
179
|
colorSubtleBackgroundHover: string;
|
|
168
180
|
colorSubtleBackgroundPressed: string;
|
|
@@ -195,10 +207,19 @@ export declare type ColorTokens = {
|
|
|
195
207
|
colorCompoundBrandBackgroundPressed: string;
|
|
196
208
|
colorBrandBackgroundStatic: string;
|
|
197
209
|
colorBrandBackground2: string;
|
|
210
|
+
colorBrandBackground2Hover: string;
|
|
211
|
+
colorBrandBackground2Pressed: string;
|
|
212
|
+
colorBrandBackground3Static: string;
|
|
213
|
+
colorBrandBackground4Static: string;
|
|
198
214
|
colorBrandBackgroundInverted: string;
|
|
199
215
|
colorBrandBackgroundInvertedHover: string;
|
|
200
216
|
colorBrandBackgroundInvertedPressed: string;
|
|
201
217
|
colorBrandBackgroundInvertedSelected: string;
|
|
218
|
+
colorNeutralCardBackground: string;
|
|
219
|
+
colorNeutralCardBackgroundHover: string;
|
|
220
|
+
colorNeutralCardBackgroundPressed: string;
|
|
221
|
+
colorNeutralCardBackgroundSelected: string;
|
|
222
|
+
colorNeutralCardBackgroundDisabled: string;
|
|
202
223
|
colorNeutralStrokeAccessible: string;
|
|
203
224
|
colorNeutralStrokeAccessibleHover: string;
|
|
204
225
|
colorNeutralStrokeAccessiblePressed: string;
|
|
@@ -209,6 +230,7 @@ export declare type ColorTokens = {
|
|
|
209
230
|
colorNeutralStroke1Selected: string;
|
|
210
231
|
colorNeutralStroke2: string;
|
|
211
232
|
colorNeutralStroke3: string;
|
|
233
|
+
colorNeutralStrokeSubtle: string;
|
|
212
234
|
colorNeutralStrokeOnBrand: string;
|
|
213
235
|
colorNeutralStrokeOnBrand2: string;
|
|
214
236
|
colorNeutralStrokeOnBrand2Hover: string;
|
|
@@ -216,6 +238,9 @@ export declare type ColorTokens = {
|
|
|
216
238
|
colorNeutralStrokeOnBrand2Selected: string;
|
|
217
239
|
colorBrandStroke1: string;
|
|
218
240
|
colorBrandStroke2: string;
|
|
241
|
+
colorBrandStroke2Hover: string;
|
|
242
|
+
colorBrandStroke2Pressed: string;
|
|
243
|
+
colorBrandStroke2Contrast: string;
|
|
219
244
|
colorCompoundBrandStroke: string;
|
|
220
245
|
colorCompoundBrandStrokeHover: string;
|
|
221
246
|
colorCompoundBrandStrokePressed: string;
|
|
@@ -224,6 +249,8 @@ export declare type ColorTokens = {
|
|
|
224
249
|
colorTransparentStroke: string;
|
|
225
250
|
colorTransparentStrokeInteractive: string;
|
|
226
251
|
colorTransparentStrokeDisabled: string;
|
|
252
|
+
colorNeutralStrokeAlpha: string;
|
|
253
|
+
colorNeutralStrokeAlpha2: string;
|
|
227
254
|
colorStrokeFocus1: string;
|
|
228
255
|
colorStrokeFocus2: string;
|
|
229
256
|
colorNeutralShadowAmbient: string;
|
|
@@ -261,6 +288,7 @@ export declare type DurationTokens = {
|
|
|
261
288
|
durationFaster: string;
|
|
262
289
|
durationFast: string;
|
|
263
290
|
durationNormal: string;
|
|
291
|
+
durationGentle: string;
|
|
264
292
|
durationSlow: string;
|
|
265
293
|
durationSlower: string;
|
|
266
294
|
durationUltraSlow: string;
|
|
@@ -373,7 +401,7 @@ export declare const teamsHighContrastTheme: Theme;
|
|
|
373
401
|
|
|
374
402
|
export declare const teamsLightTheme: Theme;
|
|
375
403
|
|
|
376
|
-
export declare type Theme = FontSizeTokens & LineHeightTokens & BorderRadiusTokens & StrokeWidthTokens & HorizontalSpacingTokens & VerticalSpacingTokens & DurationTokens & CurveTokens & ShadowTokens & ShadowBrandTokens & FontFamilyTokens & FontWeightTokens & ColorPaletteTokens & ColorTokens;
|
|
404
|
+
export declare type Theme = FontSizeTokens & LineHeightTokens & BorderRadiusTokens & StrokeWidthTokens & HorizontalSpacingTokens & VerticalSpacingTokens & DurationTokens & CurveTokens & ShadowTokens & ShadowBrandTokens & FontFamilyTokens & FontWeightTokens & ColorPaletteTokens & ColorStatusTokens & ColorTokens & ZIndexTokens;
|
|
377
405
|
|
|
378
406
|
/**
|
|
379
407
|
* Programmatically generates a tokens to css variables mapping object from the keys in a theme.
|
|
@@ -437,4 +465,18 @@ export declare const webDarkTheme: Theme;
|
|
|
437
465
|
|
|
438
466
|
export declare const webLightTheme: Theme;
|
|
439
467
|
|
|
468
|
+
/**
|
|
469
|
+
* Design tokens for z-index groups and levels
|
|
470
|
+
*/
|
|
471
|
+
export declare type ZIndexTokens = {
|
|
472
|
+
zIndexBackground?: string;
|
|
473
|
+
zIndexContent?: string;
|
|
474
|
+
zIndexOverlay?: string;
|
|
475
|
+
zIndexPopup?: string;
|
|
476
|
+
zIndexMessages?: string;
|
|
477
|
+
zIndexFloating?: string;
|
|
478
|
+
zIndexPriority?: string;
|
|
479
|
+
zIndexDebug?: string;
|
|
480
|
+
};
|
|
481
|
+
|
|
440
482
|
export { }
|
package/lib/alias/darkColor.js
CHANGED
|
@@ -1,155 +1,169 @@
|
|
|
1
|
-
/* !!! DO NOT EDIT !!! */
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
1
|
+
/* !!! DO NOT EDIT !!! */ /* This file has been generated by the token pipeline */ import { black, blackAlpha, grey, grey10Alpha, grey12Alpha, grey14Alpha, white, whiteAlpha } from "../global/colors.js";
|
|
2
|
+
export const generateColorTokens = (brand)=>({
|
|
3
|
+
colorNeutralForeground1: white,
|
|
4
|
+
colorNeutralForeground1Hover: white,
|
|
5
|
+
colorNeutralForeground1Pressed: white,
|
|
6
|
+
colorNeutralForeground1Selected: white,
|
|
7
|
+
colorNeutralForeground2: grey[84],
|
|
8
|
+
colorNeutralForeground2Hover: white,
|
|
9
|
+
colorNeutralForeground2Pressed: white,
|
|
10
|
+
colorNeutralForeground2Selected: white,
|
|
11
|
+
colorNeutralForeground2BrandHover: brand[100],
|
|
12
|
+
colorNeutralForeground2BrandPressed: brand[90],
|
|
13
|
+
colorNeutralForeground2BrandSelected: brand[100],
|
|
14
|
+
colorNeutralForeground3: grey[68],
|
|
15
|
+
colorNeutralForeground3Hover: grey[84],
|
|
16
|
+
colorNeutralForeground3Pressed: grey[84],
|
|
17
|
+
colorNeutralForeground3Selected: grey[84],
|
|
18
|
+
colorNeutralForeground3BrandHover: brand[100],
|
|
19
|
+
colorNeutralForeground3BrandPressed: brand[90],
|
|
20
|
+
colorNeutralForeground3BrandSelected: brand[100],
|
|
21
|
+
colorNeutralForeground4: grey[60],
|
|
22
|
+
colorNeutralForegroundDisabled: grey[36],
|
|
23
|
+
colorNeutralForegroundInvertedDisabled: whiteAlpha[40],
|
|
24
|
+
colorBrandForegroundLink: brand[100],
|
|
25
|
+
colorBrandForegroundLinkHover: brand[110],
|
|
26
|
+
colorBrandForegroundLinkPressed: brand[90],
|
|
27
|
+
colorBrandForegroundLinkSelected: brand[100],
|
|
28
|
+
colorNeutralForeground2Link: grey[84],
|
|
29
|
+
colorNeutralForeground2LinkHover: white,
|
|
30
|
+
colorNeutralForeground2LinkPressed: white,
|
|
31
|
+
colorNeutralForeground2LinkSelected: white,
|
|
32
|
+
colorCompoundBrandForeground1: brand[100],
|
|
33
|
+
colorCompoundBrandForeground1Hover: brand[110],
|
|
34
|
+
colorCompoundBrandForeground1Pressed: brand[90],
|
|
35
|
+
colorBrandForeground1: brand[100],
|
|
36
|
+
colorBrandForeground2: brand[110],
|
|
37
|
+
colorBrandForeground2Hover: brand[130],
|
|
38
|
+
colorBrandForeground2Pressed: brand[160],
|
|
39
|
+
colorNeutralForeground1Static: grey[14],
|
|
40
|
+
colorNeutralForegroundStaticInverted: white,
|
|
41
|
+
colorNeutralForegroundInverted: grey[14],
|
|
42
|
+
colorNeutralForegroundInvertedHover: grey[14],
|
|
43
|
+
colorNeutralForegroundInvertedPressed: grey[14],
|
|
44
|
+
colorNeutralForegroundInvertedSelected: grey[14],
|
|
45
|
+
colorNeutralForegroundInverted2: grey[14],
|
|
46
|
+
colorNeutralForegroundOnBrand: white,
|
|
47
|
+
colorNeutralForegroundInvertedLink: white,
|
|
48
|
+
colorNeutralForegroundInvertedLinkHover: white,
|
|
49
|
+
colorNeutralForegroundInvertedLinkPressed: white,
|
|
50
|
+
colorNeutralForegroundInvertedLinkSelected: white,
|
|
51
|
+
colorBrandForegroundInverted: brand[80],
|
|
52
|
+
colorBrandForegroundInvertedHover: brand[70],
|
|
53
|
+
colorBrandForegroundInvertedPressed: brand[60],
|
|
54
|
+
colorBrandForegroundOnLight: brand[80],
|
|
55
|
+
colorBrandForegroundOnLightHover: brand[70],
|
|
56
|
+
colorBrandForegroundOnLightPressed: brand[50],
|
|
57
|
+
colorBrandForegroundOnLightSelected: brand[60],
|
|
58
|
+
colorNeutralBackground1: grey[16],
|
|
59
|
+
colorNeutralBackground1Hover: grey[24],
|
|
60
|
+
colorNeutralBackground1Pressed: grey[12],
|
|
61
|
+
colorNeutralBackground1Selected: grey[22],
|
|
62
|
+
colorNeutralBackground2: grey[12],
|
|
63
|
+
colorNeutralBackground2Hover: grey[20],
|
|
64
|
+
colorNeutralBackground2Pressed: grey[8],
|
|
65
|
+
colorNeutralBackground2Selected: grey[18],
|
|
66
|
+
colorNeutralBackground3: grey[8],
|
|
67
|
+
colorNeutralBackground3Hover: grey[16],
|
|
68
|
+
colorNeutralBackground3Pressed: grey[4],
|
|
69
|
+
colorNeutralBackground3Selected: grey[14],
|
|
70
|
+
colorNeutralBackground4: grey[4],
|
|
71
|
+
colorNeutralBackground4Hover: grey[12],
|
|
72
|
+
colorNeutralBackground4Pressed: black,
|
|
73
|
+
colorNeutralBackground4Selected: grey[10],
|
|
74
|
+
colorNeutralBackground5: black,
|
|
75
|
+
colorNeutralBackground5Hover: grey[8],
|
|
76
|
+
colorNeutralBackground5Pressed: grey[2],
|
|
77
|
+
colorNeutralBackground5Selected: grey[6],
|
|
78
|
+
colorNeutralBackground6: grey[20],
|
|
79
|
+
colorNeutralBackgroundInverted: white,
|
|
80
|
+
colorNeutralBackgroundStatic: grey[24],
|
|
81
|
+
colorNeutralBackgroundAlpha: grey10Alpha[50],
|
|
82
|
+
colorNeutralBackgroundAlpha2: grey12Alpha[70],
|
|
83
|
+
colorSubtleBackground: 'transparent',
|
|
84
|
+
colorSubtleBackgroundHover: grey[22],
|
|
85
|
+
colorSubtleBackgroundPressed: grey[18],
|
|
86
|
+
colorSubtleBackgroundSelected: grey[20],
|
|
87
|
+
colorSubtleBackgroundLightAlphaHover: grey14Alpha[80],
|
|
88
|
+
colorSubtleBackgroundLightAlphaPressed: grey14Alpha[50],
|
|
89
|
+
colorSubtleBackgroundLightAlphaSelected: 'transparent',
|
|
90
|
+
colorSubtleBackgroundInverted: 'transparent',
|
|
91
|
+
colorSubtleBackgroundInvertedHover: blackAlpha[10],
|
|
92
|
+
colorSubtleBackgroundInvertedPressed: blackAlpha[30],
|
|
93
|
+
colorSubtleBackgroundInvertedSelected: blackAlpha[20],
|
|
94
|
+
colorTransparentBackground: 'transparent',
|
|
95
|
+
colorTransparentBackgroundHover: 'transparent',
|
|
96
|
+
colorTransparentBackgroundPressed: 'transparent',
|
|
97
|
+
colorTransparentBackgroundSelected: 'transparent',
|
|
98
|
+
colorNeutralBackgroundDisabled: grey[8],
|
|
99
|
+
colorNeutralBackgroundInvertedDisabled: whiteAlpha[10],
|
|
100
|
+
colorNeutralStencil1: grey[34],
|
|
101
|
+
colorNeutralStencil2: grey[20],
|
|
102
|
+
colorNeutralStencil1Alpha: whiteAlpha[10],
|
|
103
|
+
colorNeutralStencil2Alpha: whiteAlpha[5],
|
|
104
|
+
colorBackgroundOverlay: blackAlpha[50],
|
|
105
|
+
colorScrollbarOverlay: whiteAlpha[60],
|
|
106
|
+
colorBrandBackground: brand[70],
|
|
107
|
+
colorBrandBackgroundHover: brand[80],
|
|
108
|
+
colorBrandBackgroundPressed: brand[40],
|
|
109
|
+
colorBrandBackgroundSelected: brand[60],
|
|
110
|
+
colorCompoundBrandBackground: brand[100],
|
|
111
|
+
colorCompoundBrandBackgroundHover: brand[110],
|
|
112
|
+
colorCompoundBrandBackgroundPressed: brand[90],
|
|
113
|
+
colorBrandBackgroundStatic: brand[80],
|
|
114
|
+
colorBrandBackground2: brand[20],
|
|
115
|
+
colorBrandBackground2Hover: brand[40],
|
|
116
|
+
colorBrandBackground2Pressed: brand[10],
|
|
117
|
+
colorBrandBackground3Static: brand[60],
|
|
118
|
+
colorBrandBackground4Static: brand[40],
|
|
119
|
+
colorBrandBackgroundInverted: white,
|
|
120
|
+
colorBrandBackgroundInvertedHover: brand[160],
|
|
121
|
+
colorBrandBackgroundInvertedPressed: brand[140],
|
|
122
|
+
colorBrandBackgroundInvertedSelected: brand[150],
|
|
123
|
+
colorNeutralCardBackground: grey[20],
|
|
124
|
+
colorNeutralCardBackgroundHover: grey[24],
|
|
125
|
+
colorNeutralCardBackgroundPressed: grey[18],
|
|
126
|
+
colorNeutralCardBackgroundSelected: grey[22],
|
|
127
|
+
colorNeutralCardBackgroundDisabled: grey[8],
|
|
128
|
+
colorNeutralStrokeAccessible: grey[68],
|
|
129
|
+
colorNeutralStrokeAccessibleHover: grey[74],
|
|
130
|
+
colorNeutralStrokeAccessiblePressed: grey[70],
|
|
131
|
+
colorNeutralStrokeAccessibleSelected: brand[100],
|
|
132
|
+
colorNeutralStroke1: grey[40],
|
|
133
|
+
colorNeutralStroke1Hover: grey[46],
|
|
134
|
+
colorNeutralStroke1Pressed: grey[42],
|
|
135
|
+
colorNeutralStroke1Selected: grey[44],
|
|
136
|
+
colorNeutralStroke2: grey[32],
|
|
137
|
+
colorNeutralStroke3: grey[24],
|
|
138
|
+
colorNeutralStrokeSubtle: grey[4],
|
|
139
|
+
colorNeutralStrokeOnBrand: grey[16],
|
|
140
|
+
colorNeutralStrokeOnBrand2: white,
|
|
141
|
+
colorNeutralStrokeOnBrand2Hover: white,
|
|
142
|
+
colorNeutralStrokeOnBrand2Pressed: white,
|
|
143
|
+
colorNeutralStrokeOnBrand2Selected: white,
|
|
144
|
+
colorBrandStroke1: brand[100],
|
|
145
|
+
colorBrandStroke2: brand[50],
|
|
146
|
+
colorBrandStroke2Hover: brand[50],
|
|
147
|
+
colorBrandStroke2Pressed: brand[30],
|
|
148
|
+
colorBrandStroke2Contrast: brand[50],
|
|
149
|
+
colorCompoundBrandStroke: brand[100],
|
|
150
|
+
colorCompoundBrandStrokeHover: brand[110],
|
|
151
|
+
colorCompoundBrandStrokePressed: brand[90],
|
|
152
|
+
colorNeutralStrokeDisabled: grey[26],
|
|
153
|
+
colorNeutralStrokeInvertedDisabled: whiteAlpha[40],
|
|
154
|
+
colorTransparentStroke: 'transparent',
|
|
155
|
+
colorTransparentStrokeInteractive: 'transparent',
|
|
156
|
+
colorTransparentStrokeDisabled: 'transparent',
|
|
157
|
+
colorNeutralStrokeAlpha: whiteAlpha[10],
|
|
158
|
+
colorNeutralStrokeAlpha2: whiteAlpha[20],
|
|
159
|
+
colorStrokeFocus1: black,
|
|
160
|
+
colorStrokeFocus2: white,
|
|
161
|
+
colorNeutralShadowAmbient: 'rgba(0,0,0,0.24)',
|
|
162
|
+
colorNeutralShadowKey: 'rgba(0,0,0,0.28)',
|
|
163
|
+
colorNeutralShadowAmbientLighter: 'rgba(0,0,0,0.12)',
|
|
164
|
+
colorNeutralShadowKeyLighter: 'rgba(0,0,0,0.14)',
|
|
165
|
+
colorNeutralShadowAmbientDarker: 'rgba(0,0,0,0.40)',
|
|
166
|
+
colorNeutralShadowKeyDarker: 'rgba(0,0,0,0.48)',
|
|
167
|
+
colorBrandShadowAmbient: 'rgba(0,0,0,0.30)',
|
|
168
|
+
colorBrandShadowKey: 'rgba(0,0,0,0.25)'
|
|
169
|
+
});
|