@fluentui/react-theme-sass 9.0.0-alpha.2 → 9.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 +163 -2
- package/README.md +4 -3
- package/lib/index.js +1 -2
- package/lib/index.js.map +1 -1
- package/lib-commonjs/index.js +1 -3
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +28 -8
- package/sass/Sass.test.ts +14 -0
- package/sass/colorPaletteTokens.scss +38 -0
- package/sass/colorTokens.scss +22 -1
- package/sass/durationTokens.scss +1 -0
- package/CHANGELOG.json +0 -79
package/CHANGELOG.md
CHANGED
@@ -1,12 +1,173 @@
|
|
1
1
|
# Change Log - @fluentui/react-theme-sass
|
2
2
|
|
3
|
-
This log was last generated on Thu,
|
3
|
+
This log was last generated on Thu, 07 Mar 2024 19:27:00 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
+
## [9.0.0-alpha.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme-sass_v9.0.0-alpha.21)
|
8
|
+
|
9
|
+
Thu, 07 Mar 2024 19:27:00 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme-sass_v9.0.0-alpha.20..@fluentui/react-theme-sass_v9.0.0-alpha.21)
|
11
|
+
|
12
|
+
### Changes
|
13
|
+
|
14
|
+
- feat: Add color tokens ([PR #30412](https://github.com/microsoft/fluentui/pull/30412) by miroslav.stastny@microsoft.com)
|
15
|
+
|
16
|
+
## [9.0.0-alpha.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme-sass_v9.0.0-alpha.20)
|
17
|
+
|
18
|
+
Thu, 09 Nov 2023 17:29:46 GMT
|
19
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme-sass_v9.0.0-alpha.18..@fluentui/react-theme-sass_v9.0.0-alpha.20)
|
20
|
+
|
21
|
+
### Changes
|
22
|
+
|
23
|
+
- 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)
|
24
|
+
|
25
|
+
## [9.0.0-alpha.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme-sass_v9.0.0-alpha.18)
|
26
|
+
|
27
|
+
Tue, 26 Sep 2023 17:49:13 GMT
|
28
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme-sass_v9.0.0-alpha.17..@fluentui/react-theme-sass_v9.0.0-alpha.18)
|
29
|
+
|
30
|
+
### Changes
|
31
|
+
|
32
|
+
- chore: trigger manual version bump after broken release ([PR #29303](https://github.com/microsoft/fluentui/pull/29303) by yuanboxue@microsoft.com)
|
33
|
+
|
34
|
+
## [9.0.0-alpha.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme-sass_v9.0.0-alpha.17)
|
35
|
+
|
36
|
+
Tue, 26 Sep 2023 15:31:43 GMT
|
37
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme-sass_v9.0.0-alpha.16..@fluentui/react-theme-sass_v9.0.0-alpha.17)
|
38
|
+
|
39
|
+
### Changes
|
40
|
+
|
41
|
+
- fix: bump swc core to mitigate transpilation memory leaks ([PR #29253](https://github.com/microsoft/fluentui/pull/29253) by martinhochel@microsoft.com)
|
42
|
+
|
43
|
+
## [9.0.0-alpha.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme-sass_v9.0.0-alpha.16)
|
44
|
+
|
45
|
+
Tue, 05 Sep 2023 13:29:09 GMT
|
46
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme-sass_v9.0.0-alpha.15..@fluentui/react-theme-sass_v9.0.0-alpha.16)
|
47
|
+
|
48
|
+
### Changes
|
49
|
+
|
50
|
+
- bumps @swc/helpers version to 0.5.1 ([PR #28989](https://github.com/microsoft/fluentui/pull/28989) by bernardo.sunderhus@gmail.com)
|
51
|
+
|
52
|
+
## [9.0.0-alpha.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme-sass_v9.0.0-alpha.15)
|
53
|
+
|
54
|
+
Wed, 09 Aug 2023 13:17:08 GMT
|
55
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme-sass_v9.0.0-alpha.14..@fluentui/react-theme-sass_v9.0.0-alpha.15)
|
56
|
+
|
57
|
+
### Changes
|
58
|
+
|
59
|
+
- feat(tokens): add durationGentle ([PR #28770](https://github.com/microsoft/fluentui/pull/28770) by miroslav.stastny@microsoft.com)
|
60
|
+
|
61
|
+
## [9.0.0-alpha.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme-sass_v9.0.0-alpha.14)
|
62
|
+
|
63
|
+
Fri, 04 Aug 2023 08:52:56 GMT
|
64
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme-sass_v9.0.0-alpha.13..@fluentui/react-theme-sass_v9.0.0-alpha.14)
|
65
|
+
|
66
|
+
### Changes
|
67
|
+
|
68
|
+
- feat(tokens): Add colorBrandStroke2Contrast and colorNeutralStrokeAlpha2 ([PR #28638](https://github.com/microsoft/fluentui/pull/28638) by miroslav.stastny@microsoft.com)
|
69
|
+
- feat(tokens): add status color tokens ([PR #28006](https://github.com/microsoft/fluentui/pull/28006) by miroslav.stastny@microsoft.com)
|
70
|
+
|
71
|
+
## [9.0.0-alpha.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme-sass_v9.0.0-alpha.13)
|
72
|
+
|
73
|
+
Tue, 20 Jun 2023 12:39:05 GMT
|
74
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme-sass_v9.0.0-alpha.12..@fluentui/react-theme-sass_v9.0.0-alpha.13)
|
75
|
+
|
76
|
+
### Changes
|
77
|
+
|
78
|
+
- Add theme tokens ([PR #27791](https://github.com/microsoft/fluentui/pull/27791) by miroslav.stastny@microsoft.com)
|
79
|
+
- Bump @fluentui/react-theme to v9.1.9 ([PR #28229](https://github.com/microsoft/fluentui/pull/28229) by beachball)
|
80
|
+
|
81
|
+
## [9.0.0-alpha.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme-sass_v9.0.0-alpha.12)
|
82
|
+
|
83
|
+
Fri, 12 May 2023 20:27:57 GMT
|
84
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme-sass_v9.0.0-alpha.11..@fluentui/react-theme-sass_v9.0.0-alpha.12)
|
85
|
+
|
86
|
+
### Changes
|
87
|
+
|
88
|
+
- chore: exclude .swcrc from being published ([PR #27740](https://github.com/microsoft/fluentui/pull/27740) by olfedias@microsoft.com)
|
89
|
+
- Bump @fluentui/react-theme to v9.1.8 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
|
90
|
+
|
91
|
+
## [9.0.0-alpha.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme-sass_v9.0.0-alpha.11)
|
92
|
+
|
93
|
+
Mon, 17 Apr 2023 17:54:00 GMT
|
94
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme-sass_v9.0.0-alpha.10..@fluentui/react-theme-sass_v9.0.0-alpha.11)
|
95
|
+
|
96
|
+
### Changes
|
97
|
+
|
98
|
+
- fix: add "style" to exports field ([PR #27274](https://github.com/microsoft/fluentui/pull/27274) by olfedias@microsoft.com)
|
99
|
+
|
100
|
+
## [9.0.0-alpha.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme-sass_v9.0.0-alpha.10)
|
101
|
+
|
102
|
+
Tue, 21 Mar 2023 21:23:11 GMT
|
103
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme-sass_v9.0.0-alpha.9..@fluentui/react-theme-sass_v9.0.0-alpha.10)
|
104
|
+
|
105
|
+
### Changes
|
106
|
+
|
107
|
+
- fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
|
108
|
+
- chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
|
109
|
+
- Bump @fluentui/react-theme to v9.1.7 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
|
110
|
+
|
111
|
+
## [9.0.0-alpha.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme-sass_v9.0.0-alpha.9)
|
112
|
+
|
113
|
+
Wed, 15 Mar 2023 10:19:53 GMT
|
114
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme-sass_v9.0.0-alpha.8..@fluentui/react-theme-sass_v9.0.0-alpha.9)
|
115
|
+
|
116
|
+
### Changes
|
117
|
+
|
118
|
+
- feat(tokens): Add colorNeutralBackgroundAlpha and colorNeutralStrokeAlpha tokens ([PR #27034](https://github.com/microsoft/fluentui/pull/27034) by miroslav.stastny@microsoft.com)
|
119
|
+
- Bump @fluentui/react-theme to v9.1.6 ([PR #27213](https://github.com/microsoft/fluentui/pull/27213) by beachball)
|
120
|
+
|
121
|
+
## [9.0.0-alpha.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme-sass_v9.0.0-alpha.7)
|
122
|
+
|
123
|
+
Wed, 21 Dec 2022 10:20:33 GMT
|
124
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme-sass_v9.0.0-alpha.6..@fluentui/react-theme-sass_v9.0.0-alpha.7)
|
125
|
+
|
126
|
+
### Changes
|
127
|
+
|
128
|
+
- Bump @fluentui/react-theme to v9.1.5 ([commit](https://github.com/microsoft/fluentui/commit/66bf89f634cad4a275e957d7a2214c7e73ff8c2e) by beachball)
|
129
|
+
|
130
|
+
## [9.0.0-alpha.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme-sass_v9.0.0-alpha.6)
|
131
|
+
|
132
|
+
Tue, 20 Dec 2022 14:59:31 GMT
|
133
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme-sass_v9.0.0-alpha.5..@fluentui/react-theme-sass_v9.0.0-alpha.6)
|
134
|
+
|
135
|
+
### Changes
|
136
|
+
|
137
|
+
- feat: add new tokens ([PR #25903](https://github.com/microsoft/fluentui/pull/25903) by miroslav.stastny@microsoft.com)
|
138
|
+
- Bump @fluentui/react-theme to v9.1.4 ([PR #26047](https://github.com/microsoft/fluentui/pull/26047) by beachball)
|
139
|
+
|
140
|
+
## [9.0.0-alpha.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme-sass_v9.0.0-alpha.5)
|
141
|
+
|
142
|
+
Mon, 05 Dec 2022 18:29:37 GMT
|
143
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme-sass_v9.0.0-alpha.4..@fluentui/react-theme-sass_v9.0.0-alpha.5)
|
144
|
+
|
145
|
+
### Changes
|
146
|
+
|
147
|
+
- Bump @fluentui/react-theme to v9.1.3 ([PR #25798](https://github.com/microsoft/fluentui/pull/25798) by beachball)
|
148
|
+
|
149
|
+
## [9.0.0-alpha.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme-sass_v9.0.0-alpha.4)
|
150
|
+
|
151
|
+
Fri, 11 Nov 2022 14:57:47 GMT
|
152
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme-sass_v9.0.0-alpha.3..@fluentui/react-theme-sass_v9.0.0-alpha.4)
|
153
|
+
|
154
|
+
### Changes
|
155
|
+
|
156
|
+
- fix: create valid export maps ([PR #25558](https://github.com/microsoft/fluentui/pull/25558) by martinhochel@microsoft.com)
|
157
|
+
- Bump @fluentui/react-theme to v9.1.2 ([PR #25615](https://github.com/microsoft/fluentui/pull/25615) by beachball)
|
158
|
+
|
159
|
+
## [9.0.0-alpha.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme-sass_v9.0.0-alpha.3)
|
160
|
+
|
161
|
+
Thu, 20 Oct 2022 08:39:59 GMT
|
162
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme-sass_v9.0.0-alpha.2..@fluentui/react-theme-sass_v9.0.0-alpha.3)
|
163
|
+
|
164
|
+
### Changes
|
165
|
+
|
166
|
+
- Bump @fluentui/react-theme to v9.1.1 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)
|
167
|
+
|
7
168
|
## [9.0.0-alpha.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme-sass_v9.0.0-alpha.2)
|
8
169
|
|
9
|
-
Thu, 15 Sep 2022 09:
|
170
|
+
Thu, 15 Sep 2022 09:49:39 GMT
|
10
171
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme-sass_v9.0.0-alpha.1..@fluentui/react-theme-sass_v9.0.0-alpha.2)
|
11
172
|
|
12
173
|
### Changes
|
package/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# @fluentui/react-theme-sass
|
2
2
|
|
3
|
-
**React Theme Sass for [Fluent UI React](https://
|
3
|
+
**React Theme Sass for [Fluent UI React](https://react.fluentui.dev)**
|
4
4
|
|
5
5
|
SASS variables referencing react-theme design tokens injected to DOM by react-provider.
|
6
6
|
|
@@ -24,7 +24,8 @@ ReactDOM.render(
|
|
24
24
|
2. In SCSS styles you can import SCSS variables from `@fluentui/react-theme-sass` and use them in the styles:
|
25
25
|
|
26
26
|
```scss
|
27
|
-
@import '
|
27
|
+
@import '@fluentui/react-theme-sass';
|
28
|
+
|
28
29
|
.brandedElement {
|
29
30
|
color: $colorBrandForeground1;
|
30
31
|
background: $colorBrandBackground;
|
@@ -32,4 +33,4 @@ ReactDOM.render(
|
|
32
33
|
}
|
33
34
|
```
|
34
35
|
|
35
|
-
⚠ This package does not export any Javascript code.️
|
36
|
+
> ⚠ Note: This package does not export any Javascript code.️
|
package/lib/index.js
CHANGED
package/lib/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["throw new Error(\n '@fluentui/react-theme-sass package only contains SASS exports. It should never be imported in Javascript.',\n);\n\nexport {};\n"],"names":["Error"],"mappings":"AAAA,MAAM,IAAIA,MACR;AADF,WAIU"}
|
package/lib-commonjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.
|
1
|
+
{"version":3,"sources":["index.js"],"sourcesContent":["throw new Error('@fluentui/react-theme-sass package only contains SASS exports. It should never be imported in Javascript.');\nexport { };\n"],"names":["Error"],"mappings":";;;;AAAA,MAAM,IAAIA,MAAM"}
|
package/package.json
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-theme-sass",
|
3
|
-
"version": "9.0.0-alpha.
|
3
|
+
"version": "9.0.0-alpha.21",
|
4
4
|
"description": "SASS variables referencing react-theme design tokens injected to DOM by react-provider.",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
7
|
-
"typings": "dist/index.d.ts",
|
7
|
+
"typings": "./dist/index.d.ts",
|
8
8
|
"style": "sass/tokens.scss",
|
9
9
|
"sideEffects": false,
|
10
10
|
"repository": {
|
@@ -19,14 +19,15 @@
|
|
19
19
|
"just": "just-scripts",
|
20
20
|
"lint": "just-scripts lint",
|
21
21
|
"test": "jest --passWithNoTests",
|
22
|
-
"
|
23
|
-
"
|
24
|
-
"
|
22
|
+
"type-check": "tsc -b tsconfig.json",
|
23
|
+
"generate-api": "just-scripts generate-api",
|
24
|
+
"test-ssr": "test-ssr \"./stories/**/*.stories.tsx\""
|
25
25
|
},
|
26
26
|
"devDependencies": {
|
27
27
|
"@fluentui/eslint-plugin": "*",
|
28
|
-
"@fluentui/
|
29
|
-
"@fluentui/
|
28
|
+
"@fluentui/react-theme": "*",
|
29
|
+
"@fluentui/scripts-api-extractor": "*",
|
30
|
+
"@fluentui/scripts-tasks": "*"
|
30
31
|
},
|
31
32
|
"beachball": {
|
32
33
|
"disallowedChangeTypes": [
|
@@ -35,5 +36,24 @@
|
|
35
36
|
"patch"
|
36
37
|
]
|
37
38
|
},
|
38
|
-
"dependencies": {
|
39
|
+
"dependencies": {
|
40
|
+
"@swc/helpers": "^0.5.1"
|
41
|
+
},
|
42
|
+
"exports": {
|
43
|
+
".": {
|
44
|
+
"style": "./sass/tokens.scss",
|
45
|
+
"types": "./dist/index.d.ts",
|
46
|
+
"node": "./lib-commonjs/index.js",
|
47
|
+
"import": "./lib/index.js",
|
48
|
+
"require": "./lib-commonjs/index.js"
|
49
|
+
},
|
50
|
+
"./package.json": "./package.json"
|
51
|
+
},
|
52
|
+
"files": [
|
53
|
+
"*.md",
|
54
|
+
"dist/*.d.ts",
|
55
|
+
"lib",
|
56
|
+
"lib-commonjs",
|
57
|
+
"sass"
|
58
|
+
]
|
39
59
|
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { compileString } from 'sass';
|
2
|
+
import { webLightTheme } from '@fluentui/react-theme';
|
3
|
+
|
4
|
+
describe('Sass tokens', () => {
|
5
|
+
// by referencing all react-theme tokens as SCSS variables, verifies that all the variables are exported
|
6
|
+
it('exist for all theme tokens', () => {
|
7
|
+
const data = [
|
8
|
+
'@import "sass/tokens.scss";',
|
9
|
+
...Object.keys(webLightTheme).map(tokenName => `$expected__${tokenName}: $${tokenName};`),
|
10
|
+
].join('\n');
|
11
|
+
|
12
|
+
compileString(data, { loadPaths: ['.'] });
|
13
|
+
});
|
14
|
+
});
|
@@ -4,6 +4,7 @@ $colorPaletteRedBackground3: var(--colorPaletteRedBackground3);
|
|
4
4
|
$colorPaletteRedForeground1: var(--colorPaletteRedForeground1);
|
5
5
|
$colorPaletteRedForeground2: var(--colorPaletteRedForeground2);
|
6
6
|
$colorPaletteRedForeground3: var(--colorPaletteRedForeground3);
|
7
|
+
$colorPaletteRedForegroundInverted: var(--colorPaletteRedForegroundInverted);
|
7
8
|
$colorPaletteRedBorderActive: var(--colorPaletteRedBorderActive);
|
8
9
|
$colorPaletteRedBorder1: var(--colorPaletteRedBorder1);
|
9
10
|
$colorPaletteRedBorder2: var(--colorPaletteRedBorder2);
|
@@ -14,6 +15,7 @@ $colorPaletteGreenBackground3: var(--colorPaletteGreenBackground3);
|
|
14
15
|
$colorPaletteGreenForeground1: var(--colorPaletteGreenForeground1);
|
15
16
|
$colorPaletteGreenForeground2: var(--colorPaletteGreenForeground2);
|
16
17
|
$colorPaletteGreenForeground3: var(--colorPaletteGreenForeground3);
|
18
|
+
$colorPaletteGreenForegroundInverted: var(--colorPaletteGreenForegroundInverted);
|
17
19
|
$colorPaletteGreenBorderActive: var(--colorPaletteGreenBorderActive);
|
18
20
|
$colorPaletteGreenBorder1: var(--colorPaletteGreenBorder1);
|
19
21
|
$colorPaletteGreenBorder2: var(--colorPaletteGreenBorder2);
|
@@ -34,6 +36,7 @@ $colorPaletteYellowBackground3: var(--colorPaletteYellowBackground3);
|
|
34
36
|
$colorPaletteYellowForeground1: var(--colorPaletteYellowForeground1);
|
35
37
|
$colorPaletteYellowForeground2: var(--colorPaletteYellowForeground2);
|
36
38
|
$colorPaletteYellowForeground3: var(--colorPaletteYellowForeground3);
|
39
|
+
$colorPaletteYellowForegroundInverted: var(--colorPaletteYellowForegroundInverted);
|
37
40
|
$colorPaletteYellowBorderActive: var(--colorPaletteYellowBorderActive);
|
38
41
|
$colorPaletteYellowBorder1: var(--colorPaletteYellowBorder1);
|
39
42
|
$colorPaletteYellowBorder2: var(--colorPaletteYellowBorder2);
|
@@ -179,3 +182,38 @@ $colorPalettePlatinumBorderActive: var(--colorPalettePlatinumBorderActive);
|
|
179
182
|
$colorPaletteAnchorBackground2: var(--colorPaletteAnchorBackground2);
|
180
183
|
$colorPaletteAnchorForeground2: var(--colorPaletteAnchorForeground2);
|
181
184
|
$colorPaletteAnchorBorderActive: var(--colorPaletteAnchorBorderActive);
|
185
|
+
|
186
|
+
$colorStatusSuccessBackground1: var(--colorStatusSuccessBackground1);
|
187
|
+
$colorStatusSuccessBackground2: var(--colorStatusSuccessBackground2);
|
188
|
+
$colorStatusSuccessBackground3: var(--colorStatusSuccessBackground3);
|
189
|
+
$colorStatusSuccessForeground1: var(--colorStatusSuccessForeground1);
|
190
|
+
$colorStatusSuccessForeground2: var(--colorStatusSuccessForeground2);
|
191
|
+
$colorStatusSuccessForeground3: var(--colorStatusSuccessForeground3);
|
192
|
+
$colorStatusSuccessForegroundInverted: var(--colorStatusSuccessForegroundInverted);
|
193
|
+
$colorStatusSuccessBorderActive: var(--colorStatusSuccessBorderActive);
|
194
|
+
$colorStatusSuccessBorder1: var(--colorStatusSuccessBorder1);
|
195
|
+
$colorStatusSuccessBorder2: var(--colorStatusSuccessBorder2);
|
196
|
+
|
197
|
+
$colorStatusWarningBackground1: var(--colorStatusWarningBackground1);
|
198
|
+
$colorStatusWarningBackground2: var(--colorStatusWarningBackground2);
|
199
|
+
$colorStatusWarningBackground3: var(--colorStatusWarningBackground3);
|
200
|
+
$colorStatusWarningForeground1: var(--colorStatusWarningForeground1);
|
201
|
+
$colorStatusWarningForeground2: var(--colorStatusWarningForeground2);
|
202
|
+
$colorStatusWarningForeground3: var(--colorStatusWarningForeground3);
|
203
|
+
$colorStatusWarningForegroundInverted: var(--colorStatusWarningForegroundInverted);
|
204
|
+
$colorStatusWarningBorderActive: var(--colorStatusWarningBorderActive);
|
205
|
+
$colorStatusWarningBorder1: var(--colorStatusWarningBorder1);
|
206
|
+
$colorStatusWarningBorder2: var(--colorStatusWarningBorder2);
|
207
|
+
|
208
|
+
$colorStatusDangerBackground1: var(--colorStatusDangerBackground1);
|
209
|
+
$colorStatusDangerBackground2: var(--colorStatusDangerBackground2);
|
210
|
+
$colorStatusDangerBackground3: var(--colorStatusDangerBackground3);
|
211
|
+
$colorStatusDangerBackground3Hover: var(--colorStatusDangerBackground3Hover);
|
212
|
+
$colorStatusDangerBackground3Pressed: var(--colorStatusDangerBackground3Pressed);
|
213
|
+
$colorStatusDangerForeground1: var(--colorStatusDangerForeground1);
|
214
|
+
$colorStatusDangerForeground2: var(--colorStatusDangerForeground2);
|
215
|
+
$colorStatusDangerForeground3: var(--colorStatusDangerForeground3);
|
216
|
+
$colorStatusDangerForegroundInverted: var(--colorStatusDangerForegroundInverted);
|
217
|
+
$colorStatusDangerBorderActive: var(--colorStatusDangerBorderActive);
|
218
|
+
$colorStatusDangerBorder1: var(--colorStatusDangerBorder1);
|
219
|
+
$colorStatusDangerBorder2: var(--colorStatusDangerBorder2);
|
package/sass/colorTokens.scss
CHANGED
@@ -32,6 +32,8 @@ $colorCompoundBrandForeground1Hover: var(--colorCompoundBrandForeground1Hover);
|
|
32
32
|
$colorCompoundBrandForeground1Pressed: var(--colorCompoundBrandForeground1Pressed);
|
33
33
|
$colorBrandForeground1: var(--colorBrandForeground1);
|
34
34
|
$colorBrandForeground2: var(--colorBrandForeground2);
|
35
|
+
$colorBrandForeground2Hover: var(--colorBrandForeground2Hover);
|
36
|
+
$colorBrandForeground2Pressed: var(--colorBrandForeground2Pressed);
|
35
37
|
$colorNeutralForeground1Static: var(--colorNeutralForeground1Static);
|
36
38
|
$colorNeutralForegroundInverted: var(--colorNeutralForegroundInverted);
|
37
39
|
$colorNeutralForegroundInvertedHover: var(--colorNeutralForegroundInvertedHover);
|
@@ -72,8 +74,10 @@ $colorNeutralBackground5Hover: var(--colorNeutralBackground5Hover);
|
|
72
74
|
$colorNeutralBackground5Pressed: var(--colorNeutralBackground5Pressed);
|
73
75
|
$colorNeutralBackground5Selected: var(--colorNeutralBackground5Selected);
|
74
76
|
$colorNeutralBackground6: var(--colorNeutralBackground6);
|
75
|
-
$colorNeutralBackgroundStatic: var(--colorNeutralBackgroundStatic);
|
76
77
|
$colorNeutralBackgroundInverted: var(--colorNeutralBackgroundInverted);
|
78
|
+
$colorNeutralBackgroundStatic: var(--colorNeutralBackgroundStatic);
|
79
|
+
$colorNeutralBackgroundAlpha: var(--colorNeutralBackgroundAlpha);
|
80
|
+
$colorNeutralBackgroundAlpha2: var(--colorNeutralBackgroundAlpha2);
|
77
81
|
$colorSubtleBackground: var(--colorSubtleBackground);
|
78
82
|
$colorSubtleBackgroundHover: var(--colorSubtleBackgroundHover);
|
79
83
|
$colorSubtleBackgroundPressed: var(--colorSubtleBackgroundPressed);
|
@@ -93,6 +97,8 @@ $colorNeutralBackgroundDisabled: var(--colorNeutralBackgroundDisabled);
|
|
93
97
|
$colorNeutralBackgroundInvertedDisabled: var(--colorNeutralBackgroundInvertedDisabled);
|
94
98
|
$colorNeutralStencil1: var(--colorNeutralStencil1);
|
95
99
|
$colorNeutralStencil2: var(--colorNeutralStencil2);
|
100
|
+
$colorNeutralStencil1Alpha: var(--colorNeutralStencil1Alpha);
|
101
|
+
$colorNeutralStencil2Alpha: var(--colorNeutralStencil2Alpha);
|
96
102
|
$colorBackgroundOverlay: var(--colorBackgroundOverlay);
|
97
103
|
$colorScrollbarOverlay: var(--colorScrollbarOverlay);
|
98
104
|
$colorBrandBackground: var(--colorBrandBackground);
|
@@ -104,10 +110,19 @@ $colorCompoundBrandBackgroundHover: var(--colorCompoundBrandBackgroundHover);
|
|
104
110
|
$colorCompoundBrandBackgroundPressed: var(--colorCompoundBrandBackgroundPressed);
|
105
111
|
$colorBrandBackgroundStatic: var(--colorBrandBackgroundStatic);
|
106
112
|
$colorBrandBackground2: var(--colorBrandBackground2);
|
113
|
+
$colorBrandBackground2Hover: var(--colorBrandBackground2Hover);
|
114
|
+
$colorBrandBackground2Pressed: var(--colorBrandBackground2Pressed);
|
115
|
+
$colorBrandBackground3Static: var(--colorBrandBackground3Static);
|
116
|
+
$colorBrandBackground4Static: var(--colorBrandBackground4Static);
|
107
117
|
$colorBrandBackgroundInverted: var(--colorBrandBackgroundInverted);
|
108
118
|
$colorBrandBackgroundInvertedHover: var(--colorBrandBackgroundInvertedHover);
|
109
119
|
$colorBrandBackgroundInvertedPressed: var(--colorBrandBackgroundInvertedPressed);
|
110
120
|
$colorBrandBackgroundInvertedSelected: var(--colorBrandBackgroundInvertedSelected);
|
121
|
+
$colorNeutralCardBackground: var(--colorNeutralCardBackground);
|
122
|
+
$colorNeutralCardBackgroundHover: var(--colorNeutralCardBackgroundHover);
|
123
|
+
$colorNeutralCardBackgroundPressed: var(--colorNeutralCardBackgroundPressed);
|
124
|
+
$colorNeutralCardBackgroundSelected: var(--colorNeutralCardBackgroundSelected);
|
125
|
+
$colorNeutralCardBackgroundDisabled: var(--colorNeutralCardBackgroundDisabled);
|
111
126
|
$colorNeutralStrokeAccessible: var(--colorNeutralStrokeAccessible);
|
112
127
|
$colorNeutralStrokeAccessibleHover: var(--colorNeutralStrokeAccessibleHover);
|
113
128
|
$colorNeutralStrokeAccessiblePressed: var(--colorNeutralStrokeAccessiblePressed);
|
@@ -118,6 +133,7 @@ $colorNeutralStroke1Pressed: var(--colorNeutralStroke1Pressed);
|
|
118
133
|
$colorNeutralStroke1Selected: var(--colorNeutralStroke1Selected);
|
119
134
|
$colorNeutralStroke2: var(--colorNeutralStroke2);
|
120
135
|
$colorNeutralStroke3: var(--colorNeutralStroke3);
|
136
|
+
$colorNeutralStrokeSubtle: var(--colorNeutralStrokeSubtle);
|
121
137
|
$colorNeutralStrokeOnBrand: var(--colorNeutralStrokeOnBrand);
|
122
138
|
$colorNeutralStrokeOnBrand2: var(--colorNeutralStrokeOnBrand2);
|
123
139
|
$colorNeutralStrokeOnBrand2Hover: var(--colorNeutralStrokeOnBrand2Hover);
|
@@ -125,6 +141,9 @@ $colorNeutralStrokeOnBrand2Pressed: var(--colorNeutralStrokeOnBrand2Pressed);
|
|
125
141
|
$colorNeutralStrokeOnBrand2Selected: var(--colorNeutralStrokeOnBrand2Selected);
|
126
142
|
$colorBrandStroke1: var(--colorBrandStroke1);
|
127
143
|
$colorBrandStroke2: var(--colorBrandStroke2);
|
144
|
+
$colorBrandStroke2Hover: var(--colorBrandStroke2Hover);
|
145
|
+
$colorBrandStroke2Pressed: var(--colorBrandStroke2Pressed);
|
146
|
+
$colorBrandStroke2Contrast: var(--colorBrandStroke2Contrast);
|
128
147
|
$colorCompoundBrandStroke: var(--colorCompoundBrandStroke);
|
129
148
|
$colorCompoundBrandStrokeHover: var(--colorCompoundBrandStrokeHover);
|
130
149
|
$colorCompoundBrandStrokePressed: var(--colorCompoundBrandStrokePressed);
|
@@ -133,6 +152,8 @@ $colorNeutralStrokeInvertedDisabled: var(--colorNeutralStrokeInvertedDisabled);
|
|
133
152
|
$colorTransparentStroke: var(--colorTransparentStroke);
|
134
153
|
$colorTransparentStrokeInteractive: var(--colorTransparentStrokeInteractive);
|
135
154
|
$colorTransparentStrokeDisabled: var(--colorTransparentStrokeDisabled);
|
155
|
+
$colorNeutralStrokeAlpha: var(--colorNeutralStrokeAlpha);
|
156
|
+
$colorNeutralStrokeAlpha2: var(--colorNeutralStrokeAlpha2);
|
136
157
|
$colorStrokeFocus1: var(--colorStrokeFocus1);
|
137
158
|
$colorStrokeFocus2: var(--colorStrokeFocus2);
|
138
159
|
$colorNeutralShadowAmbient: var(--colorNeutralShadowAmbient);
|
package/sass/durationTokens.scss
CHANGED
@@ -2,6 +2,7 @@ $durationUltraFast: var(--durationUltraFast);
|
|
2
2
|
$durationFaster: var(--durationFaster);
|
3
3
|
$durationFast: var(--durationFast);
|
4
4
|
$durationNormal: var(--durationNormal);
|
5
|
+
$durationGentle: var(--durationGentle);
|
5
6
|
$durationSlow: var(--durationSlow);
|
6
7
|
$durationSlower: var(--durationSlower);
|
7
8
|
$durationUltraSlow: var(--durationUltraSlow);
|
package/CHANGELOG.json
DELETED
@@ -1,79 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "@fluentui/react-theme-sass",
|
3
|
-
"entries": [
|
4
|
-
{
|
5
|
-
"date": "Thu, 15 Sep 2022 09:45:00 GMT",
|
6
|
-
"tag": "@fluentui/react-theme-sass_v9.0.0-alpha.2",
|
7
|
-
"version": "9.0.0-alpha.2",
|
8
|
-
"comments": {
|
9
|
-
"none": [
|
10
|
-
{
|
11
|
-
"author": "martinhochel@microsoft.com",
|
12
|
-
"package": "@fluentui/react-theme-sass",
|
13
|
-
"commit": "e6cf183695d6d67a24e038c49a876224e5ed35e5",
|
14
|
-
"comment": "chore: update package scaffold"
|
15
|
-
},
|
16
|
-
{
|
17
|
-
"author": "miroslav.stastny@microsoft.com",
|
18
|
-
"package": "@fluentui/react-theme-sass",
|
19
|
-
"commit": "9c97dc2efbfe7d22b3686cb765fd93916b303642",
|
20
|
-
"comment": "react-theme-sass dev-depends on react-theme"
|
21
|
-
}
|
22
|
-
],
|
23
|
-
"prerelease": [
|
24
|
-
{
|
25
|
-
"author": "seanmonahan@microsoft.com",
|
26
|
-
"package": "@fluentui/react-theme-sass",
|
27
|
-
"commit": "1d0a72865a151962362aa3e5054ac9bf8178f09c",
|
28
|
-
"comment": "feat: add new color tokens"
|
29
|
-
},
|
30
|
-
{
|
31
|
-
"author": "miroslav.stastny@microsoft.com",
|
32
|
-
"package": "@fluentui/react-theme-sass",
|
33
|
-
"commit": "61557d7e48a7380b2fbf2bcc5c8faa4a3ed7d89f",
|
34
|
-
"comment": "feat: Add fontWeightBold"
|
35
|
-
},
|
36
|
-
{
|
37
|
-
"author": "miroslav.stastny@microsoft.com",
|
38
|
-
"package": "@fluentui/react-theme-sass",
|
39
|
-
"commit": "0137f992b99b3b8ec927be8f7aef751d27cd5830",
|
40
|
-
"comment": "fix: Rename colorNeutralForegroundInvertedStatic token to colorNeutralForegroundStaticInverted"
|
41
|
-
},
|
42
|
-
{
|
43
|
-
"author": "seanmonahan@microsoft.com",
|
44
|
-
"package": "@fluentui/react-theme-sass",
|
45
|
-
"commit": "5c78472d96502d05a10016d9502eceada4edfd8a",
|
46
|
-
"comment": "feat: add color neutral foreground inverted 2 token"
|
47
|
-
},
|
48
|
-
{
|
49
|
-
"author": "beachball",
|
50
|
-
"package": "@fluentui/react-theme-sass",
|
51
|
-
"comment": "Bump @fluentui/react-theme to v9.1.0",
|
52
|
-
"commit": "a33448fe4a0f4117686c378f80b893d1406d95a8"
|
53
|
-
}
|
54
|
-
]
|
55
|
-
}
|
56
|
-
},
|
57
|
-
{
|
58
|
-
"date": "Tue, 28 Jun 2022 15:13:22 GMT",
|
59
|
-
"tag": "@fluentui/react-theme-sass_v9.0.0-alpha.1",
|
60
|
-
"version": "9.0.0-alpha.1",
|
61
|
-
"comments": {
|
62
|
-
"prerelease": [
|
63
|
-
{
|
64
|
-
"author": "miroslav.stastny@microsoft.com",
|
65
|
-
"package": "@fluentui/react-theme-sass",
|
66
|
-
"commit": "eeed967f604dc4f6a4b6b32b6347c0ed9360294c",
|
67
|
-
"comment": "Add SASS variables mapped to CSS variables provided by react-theme"
|
68
|
-
},
|
69
|
-
{
|
70
|
-
"author": "miroslav.stastny@microsoft.com",
|
71
|
-
"package": "@fluentui/react-theme-sass",
|
72
|
-
"commit": "03e380fac7237a246774aa83b3771bbbd67be8e6",
|
73
|
-
"comment": "fix(react-theme-sass): Remove color palette tokens which are no longer present in react-theme"
|
74
|
-
}
|
75
|
-
]
|
76
|
-
}
|
77
|
-
}
|
78
|
-
]
|
79
|
-
}
|