Private
Public Access
1
0

feat: Fluent UI Outlook Lite + connections mockup

This commit is contained in:
2026-04-14 18:52:25 +00:00
parent 1199eff6c3
commit dfa4010406
34820 changed files with 1003813 additions and 205 deletions

745
node_modules/@fluentui/react-theme/CHANGELOG.md generated vendored Normal file
View File

@@ -0,0 +1,745 @@
# Change Log - @fluentui/react-theme
This log was last generated on Thu, 22 Jan 2026 17:01:28 GMT and should not be manually modified.
<!-- Start content -->
## [9.2.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.2.1)
Thu, 22 Jan 2026 17:01:28 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.2.0..@fluentui/react-theme_v9.2.1)
### Patches
- Bump @fluentui/tokens to v1.0.0-alpha.23 ([PR #35574](https://github.com/microsoft/fluentui/pull/35574) by beachball)
## [9.2.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.2.0)
Wed, 30 Jul 2025 13:10:56 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.1.24..@fluentui/react-theme_v9.2.0)
### Minor changes
- Add new brand ramp version ([PR #34900](https://github.com/microsoft/fluentui/pull/34900) by jukapsia@microsoft.com)
- Bump @fluentui/tokens to v1.0.0-alpha.22 ([PR #34881](https://github.com/microsoft/fluentui/pull/34881) by beachball)
## [9.1.24](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.1.24)
Mon, 16 Dec 2024 16:26:49 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.1.23..@fluentui/react-theme_v9.1.24)
### Patches
- Bump @fluentui/tokens to v1.0.0-alpha.21 ([PR #33468](https://github.com/microsoft/fluentui/pull/33468) by beachball)
## [9.1.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.1.23)
Fri, 06 Dec 2024 12:53:46 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.1.22..@fluentui/react-theme_v9.1.23)
### Patches
- Bump @fluentui/tokens to v1.0.0-alpha.20 ([PR #33372](https://github.com/microsoft/fluentui/pull/33372) by beachball)
## [9.1.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.1.22)
Mon, 11 Nov 2024 10:01:01 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.1.21..@fluentui/react-theme_v9.1.22)
### Patches
- chore: replace npm-scripts and just-scrtips with nx inferred tasks ([PR #33074](https://github.com/microsoft/fluentui/pull/33074) by martinhochel@microsoft.com)
- Bump @fluentui/tokens to v1.0.0-alpha.19 ([PR #33238](https://github.com/microsoft/fluentui/pull/33238) by beachball)
## [9.1.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.1.21)
Tue, 15 Oct 2024 17:17:53 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.1.20..@fluentui/react-theme_v9.1.21)
### Patches
- Bump @fluentui/tokens to v1.0.0-alpha.18 ([PR #32999](https://github.com/microsoft/fluentui/pull/32999) by beachball)
## [9.1.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.1.20)
Mon, 23 Sep 2024 12:40:17 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.1.19..@fluentui/react-theme_v9.1.20)
### Patches
- Bump @fluentui/tokens to v1.0.0-alpha.17 ([PR #32840](https://github.com/microsoft/fluentui/pull/32840) by beachball)
## [9.1.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.1.19)
Mon, 18 Mar 2024 19:50:46 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.1.18..@fluentui/react-theme_v9.1.19)
### Patches
- Bump @fluentui/tokens to v1.0.0-alpha.16 ([PR #30600](https://github.com/microsoft/fluentui/pull/30600) by beachball)
## [9.1.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.1.18)
Fri, 15 Mar 2024 21:43:49 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.1.17..@fluentui/react-theme_v9.1.18)
### Patches
- Bump @fluentui/tokens to v1.0.0-alpha.15 ([PR #30740](https://github.com/microsoft/fluentui/pull/30740) by beachball)
## [9.1.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.1.17)
Thu, 07 Mar 2024 19:33:27 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.1.16..@fluentui/react-theme_v9.1.17)
### Patches
- Bump @fluentui/tokens to v1.0.0-alpha.14 ([PR #30687](https://github.com/microsoft/fluentui/pull/30687) by beachball)
## [9.1.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.1.16)
Thu, 09 Nov 2023 17:29:45 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.1.15..@fluentui/react-theme_v9.1.16)
### Patches
- 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)
- Bump @fluentui/tokens to v1.0.0-alpha.13 ([PR #29800](https://github.com/microsoft/fluentui/pull/29800) by beachball)
## [9.1.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.1.15)
Wed, 01 Nov 2023 12:55:59 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.1.14..@fluentui/react-theme_v9.1.15)
### Patches
- Bump @fluentui/tokens to v1.0.0-alpha.12 ([PR #29663](https://github.com/microsoft/fluentui/pull/29663) by beachball)
## [9.1.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.1.14)
Tue, 26 Sep 2023 17:49:13 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.1.13..@fluentui/react-theme_v9.1.14)
### Patches
- chore: trigger manual version bump after broken release ([PR #29303](https://github.com/microsoft/fluentui/pull/29303) by yuanboxue@microsoft.com)
- Bump @fluentui/tokens to v1.0.0-alpha.11 ([PR #29303](https://github.com/microsoft/fluentui/pull/29303) by beachball)
## [9.1.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.1.13)
Tue, 26 Sep 2023 15:31:44 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.1.12..@fluentui/react-theme_v9.1.13)
### Patches
- fix: bump swc core to mitigate transpilation memory leaks ([PR #29253](https://github.com/microsoft/fluentui/pull/29253) by martinhochel@microsoft.com)
- Bump @fluentui/tokens to v1.0.0-alpha.10 ([PR #29300](https://github.com/microsoft/fluentui/pull/29300) by beachball)
## [9.1.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.1.12)
Tue, 05 Sep 2023 13:29:09 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.1.11..@fluentui/react-theme_v9.1.12)
### Patches
- bumps @swc/helpers version to 0.5.1 ([PR #28989](https://github.com/microsoft/fluentui/pull/28989) by bernardo.sunderhus@gmail.com)
- Bump @fluentui/tokens to v1.0.0-alpha.9 ([PR #29056](https://github.com/microsoft/fluentui/pull/29056) by beachball)
## [9.1.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.1.11)
Wed, 09 Aug 2023 13:17:11 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.1.10..@fluentui/react-theme_v9.1.11)
### Patches
- Bump @fluentui/tokens to v1.0.0-alpha.8 ([PR #28775](https://github.com/microsoft/fluentui/pull/28775) by beachball)
## [9.1.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.1.10)
Fri, 04 Aug 2023 08:52:58 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.1.9..@fluentui/react-theme_v9.1.10)
### Patches
- Bump @fluentui/tokens to v1.0.0-alpha.7 ([commit](https://github.com/microsoft/fluentui/commit/0bf7d9438c1d0ff90cd2b28bc4cceb4f807afbca) by beachball)
## [9.1.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.1.9)
Tue, 20 Jun 2023 12:39:07 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.1.8..@fluentui/react-theme_v9.1.9)
### Patches
- Bump @fluentui/tokens to v1.0.0-alpha.6 ([PR #28229](https://github.com/microsoft/fluentui/pull/28229) by beachball)
## [9.1.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.1.8)
Fri, 12 May 2023 20:27:56 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.1.7..@fluentui/react-theme_v9.1.8)
### Patches
- chore: exclude .swcrc from being published ([PR #27740](https://github.com/microsoft/fluentui/pull/27740) by olfedias@microsoft.com)
- Bump @fluentui/tokens to v1.0.0-alpha.5 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
## [9.1.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.1.7)
Tue, 21 Mar 2023 21:23:10 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.1.6..@fluentui/react-theme_v9.1.7)
### Patches
- fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
- chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
- Bump @fluentui/tokens to v1.0.0-alpha.4 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
## [9.1.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.1.6)
Wed, 15 Mar 2023 10:19:53 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.1.5..@fluentui/react-theme_v9.1.6)
### Patches
- Bump @fluentui/tokens to v1.0.0-alpha.3 ([PR #27213](https://github.com/microsoft/fluentui/pull/27213) by beachball)
## [9.1.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.1.5)
Wed, 21 Dec 2022 10:20:32 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.1.4..@fluentui/react-theme_v9.1.5)
### Patches
- chore: re-export theme from tokens package ([PR #25966](https://github.com/microsoft/fluentui/pull/25966) by miroslav.stastny@microsoft.com)
- Bump @fluentui/tokens to v1.0.0-alpha.2 ([commit](https://github.com/microsoft/fluentui/commit/66bf89f634cad4a275e957d7a2214c7e73ff8c2e) by beachball)
## [9.1.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.1.4)
Tue, 20 Dec 2022 14:59:31 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.1.3..@fluentui/react-theme_v9.1.4)
### Patches
- fix: update theme tokens ([PR #25903](https://github.com/microsoft/fluentui/pull/25903) by miroslav.stastny@microsoft.com)
## [9.1.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.1.3)
Mon, 05 Dec 2022 18:29:36 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.1.2..@fluentui/react-theme_v9.1.3)
### Patches
- refactor: Use Object.assign to reduce loop runtime ([PR #25433](https://github.com/microsoft/fluentui/pull/25433) by tigeroakes@microsoft.com)
- chore: Migrate to new package structure. ([PR #25812](https://github.com/microsoft/fluentui/pull/25812) by tristan.watanabe@gmail.com)
## [9.1.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.1.2)
Fri, 11 Nov 2022 14:57:46 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.1.1..@fluentui/react-theme_v9.1.2)
### Patches
- Fixed incorrect typography style ([PR #25577](https://github.com/microsoft/fluentui/pull/25577) by gcox@microsoft.com)
- fix: create valid export maps ([PR #25558](https://github.com/microsoft/fluentui/pull/25558) by martinhochel@microsoft.com)
## [9.1.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.1.1)
Thu, 20 Oct 2022 08:39:54 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.1.0..@fluentui/react-theme_v9.1.1)
### Patches
- chore: Bump peer deps to support React 18 ([PR #24972](https://github.com/microsoft/fluentui/pull/24972) by mgodbolt@microsoft.com)
## [9.1.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.1.0)
Thu, 15 Sep 2022 09:49:36 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0..@fluentui/react-theme_v9.1.0)
### Minor changes
- feat: Add fontWeightBold, add Body2, fix font weight for \*Stronger typography ([PR #24378](https://github.com/microsoft/fluentui/pull/24378) by miroslav.stastny@microsoft.com)
### Patches
- fix: update token values to fix failing color contrast ([PR #24027](https://github.com/microsoft/fluentui/pull/24027) by seanmonahan@microsoft.com)
- fix: update color neutral background inverted color in teams dark ([PR #24494](https://github.com/microsoft/fluentui/pull/24494) by seanmonahan@microsoft.com)
- fix: Update color tokens mapping ([PR #24608](https://github.com/microsoft/fluentui/pull/24608) by miroslav.stastny@microsoft.com)
- fix: Rename colorNeutralForegroundInvertedStatic token to colorNeutralForegroundStaticInverted ([PR #24611](https://github.com/microsoft/fluentui/pull/24611) by miroslav.stastny@microsoft.com)
- fix: Change colorBrandForeground2 mapping in teamsDark theme ([PR #24579](https://github.com/microsoft/fluentui/pull/24579) by miroslav.stastny@microsoft.com)
- fix: Swap Background1 and Foreground1 in HC color palette ([PR #24498](https://github.com/microsoft/fluentui/pull/24498) by miroslav.stastny@microsoft.com)
## [9.0.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0)
Tue, 28 Jun 2022 15:13:21 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-rc.10..@fluentui/react-theme_v9.0.0)
### Patches
- feat: Initial 9.0.0 release ([PR #23733](https://github.com/microsoft/fluentui/pull/23733) by lingfangao@hotmail.com)
## [9.0.0-rc.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-rc.10)
Thu, 23 Jun 2022 14:25:31 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-rc.9..@fluentui/react-theme_v9.0.0-rc.10)
### Changes
- BREAKING: reduce shared colors ([PR #23608](https://github.com/microsoft/fluentui/pull/23608) by miroslav.stastny@microsoft.com)
## [9.0.0-rc.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-rc.9)
Mon, 23 May 2022 18:56:50 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-rc.8..@fluentui/react-theme_v9.0.0-rc.9)
### Changes
- Remove webHighContrast theme ([PR #23092](https://github.com/microsoft/fluentui/pull/23092) by miroslav.stastny@microsoft.com)
## [9.0.0-rc.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-rc.8)
Mon, 23 May 2022 12:13:56 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-rc.7..@fluentui/react-theme_v9.0.0-rc.8)
### Changes
- feat: ship rolluped only dts ([PR #22828](https://github.com/microsoft/fluentui/pull/22828) by martinhochel@microsoft.com)
## [9.0.0-rc.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-rc.7)
Thu, 05 May 2022 18:26:27 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-rc.6..@fluentui/react-theme_v9.0.0-rc.7)
### Changes
- Export TypographyStyle type ([PR #22832](https://github.com/microsoft/fluentui/pull/22832) by miroslav.stastny@microsoft.com)
- Removing star exports. ([PR #22810](https://github.com/microsoft/fluentui/pull/22810) by humberto_makoto@hotmail.com)
- Added ms suffix to durations ([PR #22831](https://github.com/microsoft/fluentui/pull/22831) by gcox@microsoft.com)
## [9.0.0-rc.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-rc.6)
Wed, 04 May 2022 13:26:33 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-rc.5..@fluentui/react-theme_v9.0.0-rc.6)
### Changes
- Add px suffix to spacings ([PR #22722](https://github.com/microsoft/fluentui/pull/22722) by gcox@microsoft.com)
- Fixed typo in typography ([PR #22625](https://github.com/microsoft/fluentui/pull/22625) by gcox@microsoft.com)
- Fixed line-height in title2 ([PR #22716](https://github.com/microsoft/fluentui/pull/22716) by gcox@microsoft.com)
- Added global theme types and tokens ([PR #22607](https://github.com/microsoft/fluentui/pull/22607) by gcox@microsoft.com)
- fix(react-theme): Update CompoundBrandBackground and BrandStroke1 ([PR #22751](https://github.com/microsoft/fluentui/pull/22751) by miroslav.stastny@microsoft.com)
- Add base font family per figma ([PR #22627](https://github.com/microsoft/fluentui/pull/22627) by gcox@microsoft.com)
- Added typeography styles ([PR #22610](https://github.com/microsoft/fluentui/pull/22610) by gcox@microsoft.com)
- feat(react-theme): Add colorNeutralForeground2Link color tokens ([PR #22570](https://github.com/microsoft/fluentui/pull/22570) by miroslav.stastny@microsoft.com)
## [9.0.0-rc.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-rc.5)
Tue, 19 Apr 2022 19:17:02 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-rc.4..@fluentui/react-theme_v9.0.0-rc.5)
### Changes
- fix(react-theme): Update yellow shared color ([PR #22450](https://github.com/microsoft/fluentui/pull/22450) by miroslav.stastny@microsoft.com)
- feat(react-theme): update color tokens ([PR #22238](https://github.com/microsoft/fluentui/pull/22238) by miroslav.stastny@microsoft.com)
## [9.0.0-rc.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-rc.4)
Fri, 04 Mar 2022 05:17:31 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-rc.3..@fluentui/react-theme_v9.0.0-rc.4)
### Changes
- Adding explicit export maps on all consumer packages for FUIR 8 and 9. ([PR #21508](https://github.com/microsoft/fluentui/pull/21508) by dzearing@microsoft.com)
## [9.0.0-rc.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-rc.3)
Fri, 18 Feb 2022 13:35:36 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-rc.1..@fluentui/react-theme_v9.0.0-rc.3)
### Changes
- fix: Source maps contain original source code ([PR #21690](https://github.com/microsoft/fluentui/pull/21690) by lingfangao@hotmail.com)
## [9.0.0-rc.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-rc.1)
Thu, 10 Feb 2022 08:51:02 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-beta.4..@fluentui/react-theme_v9.0.0-rc.1)
### Changes
- feat(react-theme): Add colorNeutralForeground1Static token ([PR #21385](https://github.com/microsoft/fluentui/pull/21385) by miroslav.stastny@microsoft.com)
- updating brand colors ([PR #20140](https://github.com/microsoft/fluentui/pull/20140) by andmarti@microsoft.com)
- feat: Export tokens as mapping to CSS variables ([PR #21026](https://github.com/microsoft/fluentui/pull/21026) by Humberto.Morimoto@microsoft.com)
- Extend brand ramp from 13 to 16 tokens ([PR #20884](https://github.com/microsoft/fluentui/pull/20884) by miroslav.stastny@microsoft.com)
- remove mergeThemes API ([PR #21278](https://github.com/microsoft/fluentui/pull/21278) by martinhochel@microsoft.com)
- Theme: Adding function to programmatically generate tokens object based on a theme. ([PR #21548](https://github.com/microsoft/fluentui/pull/21548) by Humberto.Morimoto@microsoft.com)
- Remove `themeToCSSVariables` function ([PR #20828](https://github.com/microsoft/fluentui/pull/20828) by bsunderhus@microsoft.com)
- feat(react-theme) Add border1 color token for shared colors ([PR #20963](https://github.com/microsoft/fluentui/pull/20963) by miroslav.stastny@microsoft.com)
- Bump Fluent UI packages to 9.0.0-rc ([PR #21623](https://github.com/microsoft/fluentui/pull/21623) by lingfangao@hotmail.com)
## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-beta.4)
Thu, 25 Nov 2021 08:34:16 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-beta.3..@fluentui/react-theme_v9.0.0-beta.4)
### Changes
- feat(react-theme): update shadow design tokens ([PR #20604](https://github.com/microsoft/fluentui/pull/20604) by miroslav.stastny@microsoft.com)
## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-beta.3)
Fri, 12 Nov 2021 13:25:09 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-beta.2..@fluentui/react-theme_v9.0.0-beta.3)
### Changes
- Updated beta and RC components to ES2019 ([PR #20405](https://github.com/microsoft/fluentui/pull/20405) by gcox@microsoft.com)
- feat(react-theme): add/update design tokens ([PR #20569](https://github.com/microsoft/fluentui/pull/20569) by miroslav.stastny@microsoft.com)
## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-beta.2)
Wed, 27 Oct 2021 12:14:23 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-beta.1..@fluentui/react-theme_v9.0.0-beta.2)
### Changes
- fix(reat-theme): Remove template literal types for color palette ([PR #20251](https://github.com/microsoft/fluentui/pull/20251) by lingfangao@hotmail.com)
- added styling of documentation ([PR #20193](https://github.com/microsoft/fluentui/pull/20193) by peter@draxler.ml)
## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-beta.1)
Wed, 06 Oct 2021 10:37:22 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.26..@fluentui/react-theme_v9.0.0-beta.1)
### Changes
- Bump all v9 components to beta prerelease tag ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by lingfangao@hotmail.com)
## [9.0.0-alpha.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.26)
Fri, 01 Oct 2021 14:13:08 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.24..@fluentui/react-theme_v9.0.0-alpha.26)
### Changes
- Bump v9 prerelease versions to rerelease ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by lingfangao@hotmail.com)
## [9.0.0-alpha.24](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.24)
Wed, 29 Sep 2021 08:06:11 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.23..@fluentui/react-theme_v9.0.0-alpha.24)
### Changes
- Use direct values in alias tokens ([PR #19660](https://github.com/microsoft/fluentui/pull/19660) by miroslav.stastny@microsoft.com)
## [9.0.0-alpha.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.23)
Tue, 21 Sep 2021 07:42:34 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.22..@fluentui/react-theme_v9.0.0-alpha.23)
### Changes
- Theme: Updating value of borderRadius global token. ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by Humberto.Morimoto@microsoft.com)
## [9.0.0-alpha.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.22)
Tue, 24 Aug 2021 07:34:48 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.21..@fluentui/react-theme_v9.0.0-alpha.22)
### Changes
- Updating TypeScript type-only imports/exports to use import/export type syntax. ([PR #19471](https://github.com/microsoft/fluentui/pull/19471) by dzearing@hotmail.com)
## [9.0.0-alpha.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.21)
Fri, 20 Aug 2021 07:37:28 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.20..@fluentui/react-theme_v9.0.0-alpha.21)
### Changes
- Update .npmignore ([PR #19441](https://github.com/microsoft/fluentui/pull/19441) by elcraig@microsoft.com)
## [9.0.0-alpha.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.20)
Tue, 03 Aug 2021 07:39:30 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.19..@fluentui/react-theme_v9.0.0-alpha.20)
### Patches
- Bump @fluentui/eslint-plugin to v1.3.3 ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
- Bump @fluentui/scripts to v1.0.0 ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
### Changes
- Enable exhaustive-deps rule for useIsomorphicLayoutEffect ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
## [9.0.0-alpha.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.19)
Mon, 26 Jul 2021 07:37:30 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.18..@fluentui/react-theme_v9.0.0-alpha.19)
### Changes
- Add global alpha tokens ([PR #19060](https://github.com/microsoft/fluentui/pull/19060) by miroslav.stastny@microsoft.com)
## [9.0.0-alpha.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.18)
Fri, 23 Jul 2021 07:38:19 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.17..@fluentui/react-theme_v9.0.0-alpha.18)
### Changes
- Update tokens ([PR #19041](https://github.com/microsoft/fluentui/pull/19041) by miroslav.stastny@microsoft.com)
## [9.0.0-alpha.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.17)
Fri, 09 Jul 2021 07:39:31 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.16..@fluentui/react-theme_v9.0.0-alpha.17)
### Patches
- Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
- Bump @fluentui/scripts to v1.0.0 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
## [9.0.0-alpha.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.16)
Fri, 02 Jul 2021 07:37:06 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.15..@fluentui/react-theme_v9.0.0-alpha.16)
### Changes
- chore(react-theme): Migrate to new DX ([PR #18655](https://github.com/microsoft/fluentui/pull/18655) by miroslav.stastny@microsoft.com)
## [9.0.0-alpha.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.15)
Mon, 07 Jun 2021 07:38:15 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.14..@fluentui/react-theme_v9.0.0-alpha.15)
### Patches
- Bump @fluentui/eslint-plugin to v1.3.1 ([PR #18437](https://github.com/microsoft/fluentui/pull/18437) by martinhochel@microsoft.com)
- Bump @fluentui/scripts to v1.0.0 ([PR #18437](https://github.com/microsoft/fluentui/pull/18437) by martinhochel@microsoft.com)
## [9.0.0-alpha.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.14)
Thu, 03 Jun 2021 07:36:03 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.13..@fluentui/react-theme_v9.0.0-alpha.14)
### Changes
- Update theme tokens ([PR #18321](https://github.com/microsoft/fluentui/pull/18321) by miroslav.stastny@microsoft.com)
## [9.0.0-alpha.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.13)
Thu, 20 May 2021 07:41:54 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.12..@fluentui/react-theme_v9.0.0-alpha.13)
### Patches
- Bump @fluentui/eslint-plugin to v1.3.0 ([PR #18024](https://github.com/microsoft/fluentui/pull/18024) by elcraig@microsoft.com)
- Bump @fluentui/scripts to v1.0.0 ([PR #18024](https://github.com/microsoft/fluentui/pull/18024) by elcraig@microsoft.com)
## [9.0.0-alpha.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.12)
Wed, 19 May 2021 07:34:20 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.11..@fluentui/react-theme_v9.0.0-alpha.12)
### Changes
- chore: add more Babel plugins ([PR #18037](https://github.com/microsoft/fluentui/pull/18037) by olfedias@microsoft.com)
## [9.0.0-alpha.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.11)
Thu, 13 May 2021 07:36:55 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.10..@fluentui/react-theme_v9.0.0-alpha.11)
### Changes
- perf: avoid deep merge in mergeThemes() if possible ([PR #18156](https://github.com/microsoft/fluentui/pull/18156) by olfedias@microsoft.com)
## [9.0.0-alpha.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.10)
Fri, 30 Apr 2021 07:42:23 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.9..@fluentui/react-theme_v9.0.0-alpha.10)
### Patches
- Bump @fluentui/eslint-plugin to v1.2.0 ([PR #17932](https://github.com/microsoft/fluentui/pull/17932) by joschect@microsoft.com)
- Bump @fluentui/scripts to v1.0.0 ([PR #17932](https://github.com/microsoft/fluentui/pull/17932) by joschect@microsoft.com)
### Changes
- Upgrade to ts 4.0 ([PR #17932](https://github.com/microsoft/fluentui/pull/17932) by joschect@microsoft.com)
## [9.0.0-alpha.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.9)
Fri, 23 Apr 2021 07:37:10 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.8..@fluentui/react-theme_v9.0.0-alpha.9)
### Patches
- Bump @fluentui/eslint-plugin to v1.1.1 ([PR #17894](https://github.com/microsoft/fluentui/pull/17894) by olfedias@microsoft.com)
- Bump @fluentui/scripts to v1.0.0 ([PR #17894](https://github.com/microsoft/fluentui/pull/17894) by olfedias@microsoft.com)
## [9.0.0-alpha.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.8)
Thu, 08 Apr 2021 07:33:06 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.7..@fluentui/react-theme_v9.0.0-alpha.8)
### Changes
- Renaming all instances of ghost to subtle per the latest design guidelines. ([PR #17676](https://github.com/microsoft/fluentui/pull/17676) by Humberto.Morimoto@microsoft.com)
## [9.0.0-alpha.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.7)
Wed, 31 Mar 2021 00:53:43 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.6..@fluentui/react-theme_v9.0.0-alpha.7)
### Patches
- Bump @fluentui/eslint-plugin to v1.1.0 ([PR #17568](https://github.com/microsoft/fluentui/pull/17568) by elcraig@microsoft.com)
- Bump @fluentui/scripts to v1.0.0 ([PR #17568](https://github.com/microsoft/fluentui/pull/17568) by elcraig@microsoft.com)
## [9.0.0-alpha.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.6)
Mon, 15 Mar 2021 07:36:20 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.5..@fluentui/react-theme_v9.0.0-alpha.6)
### Changes
- Remove set-version references ([PR #17381](https://github.com/microsoft/fluentui/pull/17381) by elcraig@microsoft.com)
## [9.0.0-alpha.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.5)
Wed, 03 Mar 2021 00:10:09 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.4..@fluentui/react-theme_v9.0.0-alpha.5)
### Changes
- Remove set-version dependency from converged components ([PR #17211](https://github.com/microsoft/fluentui/pull/17211) by miroslav.stastny@microsoft.com)
## [9.0.0-alpha.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.4)
Tue, 02 Mar 2021 07:24:27 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.3..@fluentui/react-theme_v9.0.0-alpha.4)
### Changes
- Fix cranberry color alias ([PR #17131](https://github.com/microsoft/fluentui/pull/17131) by behowell@microsoft.com)
- remove dependency on @fluentui/utilities ([PR #17197](https://github.com/microsoft/fluentui/pull/17197) by olfedias@microsoft.com)
## [9.0.0-alpha.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.3)
Fri, 26 Feb 2021 01:16:27 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.2..@fluentui/react-theme_v9.0.0-alpha.3)
### Patches
- Bump @fluentui/eslint-plugin to v1.0.1 ([PR #17169](https://github.com/microsoft/fluentui/pull/17169) by elcraig@microsoft.com)
- Bump @fluentui/scripts to v1.0.0 ([PR #17169](https://github.com/microsoft/fluentui/pull/17169) by elcraig@microsoft.com)
- Bump @fluentui/set-version to v8.0.1 ([PR #17169](https://github.com/microsoft/fluentui/pull/17169) by elcraig@microsoft.com)
- Bump @fluentui/utilities to v8.0.1 ([PR #17169](https://github.com/microsoft/fluentui/pull/17169) by elcraig@microsoft.com)
### Changes
- Update references to major-bumped packages ([PR #17169](https://github.com/microsoft/fluentui/pull/17169) by elcraig@microsoft.com)
## [9.0.0-alpha.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.2)
Thu, 25 Feb 2021 20:16:39 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.1..@fluentui/react-theme_v9.0.0-alpha.2)
### Changes
- Changing incorrect value for brandForegroundPressed token from brand.shade30 to brand.shade40. ([PR #17085](https://github.com/microsoft/fluentui/pull/17085) by humbertomakotomorimoto@gmail.com)
## [9.0.0-alpha.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.1)
Wed, 24 Feb 2021 00:05:29 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v0.3.3..@fluentui/react-theme_v9.0.0-alpha.1)
### Changes
- bump version to v9 ([PR #17093](https://github.com/microsoft/fluentui/pull/17093) by olfedias@microsoft.com)
## [0.3.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v0.3.3)
Mon, 22 Feb 2021 12:26:22 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v0.3.2..@fluentui/react-theme_v0.3.3)
### Patches
- Add SizeValues type ([PR #16868](https://github.com/microsoft/fluentui/pull/16868) by junioassuncaocharles@gmail.com)
### Changes
- Bump @fluentui/utilities to v8.0.0-beta.15 ([PR #17061](https://github.com/microsoft/fluentui/pull/17061) by elcraig@microsoft.com)
## [0.3.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v0.3.2)
Thu, 18 Feb 2021 19:38:50 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v0.3.1..@fluentui/react-theme_v0.3.2)
### Patches
- Allow React 17 in peerDependencies. The library has not yet been fully validated with React 17, so please report any issues you find. ([PR #17048](https://github.com/microsoft/fluentui/pull/17048) by elcraig@microsoft.com)
### Changes
- Bump @fluentui/utilities to v8.0.0-beta.14 ([PR #17048](https://github.com/microsoft/fluentui/pull/17048) by elcraig@microsoft.com)
## [0.3.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v0.3.1)
Thu, 18 Feb 2021 12:27:34 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v0.3.1..@fluentui/react-theme_v0.3.1)
### Changes
- Bump @fluentui/eslint-plugin to v1.0.0-beta.2 ([PR #16975](https://github.com/microsoft/fluentui/pull/16975) by elcraig@microsoft.com)
- Bump @fluentui/utilities to v8.0.0-beta.13 ([PR #16975](https://github.com/microsoft/fluentui/pull/16975) by elcraig@microsoft.com)
- Bump @fluentui/set-version to v8.0.0-beta.2 ([PR #16975](https://github.com/microsoft/fluentui/pull/16975) by elcraig@microsoft.com)
- Bump @fluentui/scripts to v1.0.0 ([PR #16975](https://github.com/microsoft/fluentui/pull/16975) by elcraig@microsoft.com)
## [0.3.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v0.3.1)
Mon, 15 Feb 2021 12:22:00 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v0.3.1..@fluentui/react-theme_v0.3.1)
### Changes
- Bump @fluentui/utilities to v8.0.0-beta.12 ([PR #16880](https://github.com/microsoft/fluentui/pull/16880) by xgao@microsoft.com)
## [0.3.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v0.3.1)
Thu, 11 Feb 2021 00:58:10 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v0.3.1..@fluentui/react-theme_v0.3.1)
### Changes
- Bump @fluentui/utilities to v8.0.0-beta.11 ([PR #16911](https://github.com/microsoft/fluentui/pull/16911) by xgao@microsoft.com)
## [0.3.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v0.3.1)
Tue, 09 Feb 2021 00:56:52 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v0.3.0..@fluentui/react-theme_v0.3.1)
### Patches
- fix mergeThemes() to avoid object's mutation ([PR #16869](https://github.com/microsoft/fluentui/pull/16869) by olfedias@microsoft.com)
## [0.3.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v0.3.0)
Mon, 08 Feb 2021 12:23:08 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v0.2.0..@fluentui/react-theme_v0.3.0)
### Minor changes
- Update converged theme shape ([PR #16844](https://github.com/microsoft/fluentui/pull/16844) by miroslav.stastny@microsoft.com)
## [0.2.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v0.2.0)
Tue, 02 Feb 2021 12:21:54 GMT
### Minor changes
- feat: add basic theme utils ([PR #16762](https://github.com/microsoft/fluentui/pull/16762) by olfedias@microsoft.com)

15
node_modules/@fluentui/react-theme/LICENSE generated vendored Normal file
View File

@@ -0,0 +1,15 @@
@fluentui/react-theme
Copyright (c) Microsoft Corporation
All rights reserved.
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ""Software""), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license

63
node_modules/@fluentui/react-theme/README.md generated vendored Normal file
View File

@@ -0,0 +1,63 @@
# @fluentui/react-theme
**React Theme for [Fluent UI React](https://react.fluentui.dev)**
## Usage
Import a theme and tokens:
```jsx
import { webLightTheme, tokens } from '@fluentui/react-components';
```
Pass the theme to the `FluentProvider`:
```jsx
<FluentProvider theme={webLightTheme}>
<App />
</FluentProvider>
```
Use the `tokens` in your styles:
```jsx
const useStyles = makeStyles({
root: {
color: tokens.colorNeutralForeground1,
},
});
```
### Using a custom brand ramp
To use a theme based on a custom brand ramp, use the `createXXXTheme` function:
```jsx
import { createWebLightTheme } from '@fluentui/react-components';
const customBrandRamp: BrandVariants = {
10: `#2b2b40`,
// ...
160: `#e8ebfa`,
};
const customTheme = createWebLightTheme(customBrandRamp);
```
## Contributing
### Updating colors in the theme
The color tokens are generated by token pipeline. Do not edit colors directly. Instead, update the token pipeline first and once the changes are merged there, run:
```sh
yarn token-pipeline
```
### Adding new color tokens
To add a new color token, besides updating the token pipeline, you also need to update corresponding typings and the `tokens` object in `src/tokens.ts`.
### Updating other tokens
To update any tokens not related to colors, update the values directly in this package.

212
node_modules/@fluentui/react-theme/dist/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,212 @@
import { BorderRadiusTokens } from '@fluentui/tokens';
import { Brands } from '@fluentui/tokens';
import { BrandVariants } from '@fluentui/tokens';
import { ColorPaletteAnchor } from '@fluentui/tokens';
import { ColorPaletteBeige } from '@fluentui/tokens';
import { ColorPaletteBerry } from '@fluentui/tokens';
import { ColorPaletteBlue } from '@fluentui/tokens';
import { ColorPaletteBrass } from '@fluentui/tokens';
import { ColorPaletteBrown } from '@fluentui/tokens';
import { ColorPaletteCornflower } from '@fluentui/tokens';
import { ColorPaletteCranberry } from '@fluentui/tokens';
import { ColorPaletteDarkGreen } from '@fluentui/tokens';
import { ColorPaletteDarkOrange } from '@fluentui/tokens';
import { ColorPaletteDarkRed } from '@fluentui/tokens';
import { ColorPaletteForest } from '@fluentui/tokens';
import { ColorPaletteGold } from '@fluentui/tokens';
import { ColorPaletteGrape } from '@fluentui/tokens';
import { ColorPaletteGreen } from '@fluentui/tokens';
import { ColorPaletteLavender } from '@fluentui/tokens';
import { ColorPaletteLightGreen } from '@fluentui/tokens';
import { ColorPaletteLightTeal } from '@fluentui/tokens';
import { ColorPaletteLilac } from '@fluentui/tokens';
import { ColorPaletteMagenta } from '@fluentui/tokens';
import { ColorPaletteMarigold } from '@fluentui/tokens';
import { ColorPaletteMink } from '@fluentui/tokens';
import { ColorPaletteNavy } from '@fluentui/tokens';
import { ColorPalettePeach } from '@fluentui/tokens';
import { ColorPalettePink } from '@fluentui/tokens';
import { ColorPalettePlatinum } from '@fluentui/tokens';
import { ColorPalettePlum } from '@fluentui/tokens';
import { ColorPalettePumpkin } from '@fluentui/tokens';
import { ColorPalettePurple } from '@fluentui/tokens';
import { ColorPaletteRed } from '@fluentui/tokens';
import { ColorPaletteRoyalBlue } from '@fluentui/tokens';
import { ColorPaletteSeafoam } from '@fluentui/tokens';
import { ColorPaletteSteel } from '@fluentui/tokens';
import { ColorPaletteTeal } from '@fluentui/tokens';
import { ColorPaletteTokens } from '@fluentui/tokens';
import { ColorPaletteYellow } from '@fluentui/tokens';
import { ColorTokens } from '@fluentui/tokens';
import { createDarkTheme } from '@fluentui/tokens';
import { createHighContrastTheme } from '@fluentui/tokens';
import { createLightTheme } from '@fluentui/tokens';
import { createTeamsDarkTheme } from '@fluentui/tokens';
import { CurveTokens } from '@fluentui/tokens';
import { DurationTokens } from '@fluentui/tokens';
import { FontFamilyTokens } from '@fluentui/tokens';
import { FontSizeTokens } from '@fluentui/tokens';
import { FontWeightTokens } from '@fluentui/tokens';
import { HorizontalSpacingTokens } from '@fluentui/tokens';
import { LineHeightTokens } from '@fluentui/tokens';
import { PartialTheme } from '@fluentui/tokens';
import { ShadowBrandTokens } from '@fluentui/tokens';
import { ShadowTokens } from '@fluentui/tokens';
import { SpacingTokens } from '@fluentui/tokens';
import { StrokeWidthTokens } from '@fluentui/tokens';
import { teamsDarkTheme } from '@fluentui/tokens';
import { teamsDarkV21Theme } from '@fluentui/tokens';
import { teamsHighContrastTheme } from '@fluentui/tokens';
import { teamsLightTheme } from '@fluentui/tokens';
import { teamsLightV21Theme } from '@fluentui/tokens';
import { Theme } from '@fluentui/tokens';
import { themeToTokensObject } from '@fluentui/tokens';
import { tokens } from '@fluentui/tokens';
import { TypographyStyle } from '@fluentui/tokens';
import { TypographyStyles } from '@fluentui/tokens';
import { typographyStyles } from '@fluentui/tokens';
import { VerticalSpacingTokens } from '@fluentui/tokens';
import { webDarkTheme } from '@fluentui/tokens';
import { webLightTheme } from '@fluentui/tokens';
export { BorderRadiusTokens }
export { Brands }
export { BrandVariants }
export { ColorPaletteAnchor }
export { ColorPaletteBeige }
export { ColorPaletteBerry }
export { ColorPaletteBlue }
export { ColorPaletteBrass }
export { ColorPaletteBrown }
export { ColorPaletteCornflower }
export { ColorPaletteCranberry }
export { ColorPaletteDarkGreen }
export { ColorPaletteDarkOrange }
export { ColorPaletteDarkRed }
export { ColorPaletteForest }
export { ColorPaletteGold }
export { ColorPaletteGrape }
export { ColorPaletteGreen }
export { ColorPaletteLavender }
export { ColorPaletteLightGreen }
export { ColorPaletteLightTeal }
export { ColorPaletteLilac }
export { ColorPaletteMagenta }
export { ColorPaletteMarigold }
export { ColorPaletteMink }
export { ColorPaletteNavy }
export { ColorPalettePeach }
export { ColorPalettePink }
export { ColorPalettePlatinum }
export { ColorPalettePlum }
export { ColorPalettePumpkin }
export { ColorPalettePurple }
export { ColorPaletteRed }
export { ColorPaletteRoyalBlue }
export { ColorPaletteSeafoam }
export { ColorPaletteSteel }
export { ColorPaletteTeal }
export { ColorPaletteTokens }
export { ColorPaletteYellow }
export { ColorTokens }
export { createDarkTheme }
export { createHighContrastTheme }
export { createLightTheme }
export { createTeamsDarkTheme }
export { CurveTokens }
export { DurationTokens }
export { FontFamilyTokens }
export { FontSizeTokens }
export { FontWeightTokens }
export { HorizontalSpacingTokens }
export { LineHeightTokens }
export { PartialTheme }
export { ShadowBrandTokens }
export { ShadowTokens }
export { SpacingTokens }
export { StrokeWidthTokens }
export { teamsDarkTheme }
export { teamsDarkV21Theme }
export { teamsHighContrastTheme }
export { teamsLightTheme }
export { teamsLightV21Theme }
export { Theme }
export { themeToTokensObject }
export { tokens }
export { TypographyStyle }
export { TypographyStyles }
export { typographyStyles }
export { VerticalSpacingTokens }
export { webDarkTheme }
export { webLightTheme }
export { }

View File

@@ -0,0 +1,55 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
createDarkTheme: function() {
return _tokens.createDarkTheme;
},
createHighContrastTheme: function() {
return _tokens.createHighContrastTheme;
},
createLightTheme: function() {
return _tokens.createLightTheme;
},
createTeamsDarkTheme: function() {
return _tokens.createTeamsDarkTheme;
},
teamsDarkTheme: function() {
return _tokens.teamsDarkTheme;
},
teamsDarkV21Theme: function() {
return _tokens.teamsDarkV21Theme;
},
teamsHighContrastTheme: function() {
return _tokens.teamsHighContrastTheme;
},
teamsLightTheme: function() {
return _tokens.teamsLightTheme;
},
teamsLightV21Theme: function() {
return _tokens.teamsLightV21Theme;
},
themeToTokensObject: function() {
return _tokens.themeToTokensObject;
},
tokens: function() {
return _tokens.tokens;
},
typographyStyles: function() {
return _tokens.typographyStyles;
},
webDarkTheme: function() {
return _tokens.webDarkTheme;
},
webLightTheme: function() {
return _tokens.webLightTheme;
}
});
const _tokens = require("@fluentui/tokens");

View File

@@ -0,0 +1 @@
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export {\n teamsDarkTheme,\n teamsDarkV21Theme,\n teamsHighContrastTheme,\n teamsLightTheme,\n teamsLightV21Theme,\n webDarkTheme,\n webLightTheme,\n createDarkTheme,\n createHighContrastTheme,\n createLightTheme,\n createTeamsDarkTheme,\n themeToTokensObject,\n tokens,\n typographyStyles,\n} from '@fluentui/tokens';\n\nexport type {\n Brands,\n BrandVariants,\n FontSizeTokens,\n FontWeightTokens,\n LineHeightTokens,\n BorderRadiusTokens,\n StrokeWidthTokens,\n SpacingTokens,\n HorizontalSpacingTokens,\n VerticalSpacingTokens,\n DurationTokens,\n CurveTokens,\n ShadowTokens,\n ShadowBrandTokens,\n FontFamilyTokens,\n ColorPaletteTokens,\n ColorPaletteDarkRed,\n ColorPaletteCranberry,\n ColorPaletteRed,\n ColorPaletteDarkOrange,\n ColorPalettePumpkin,\n ColorPalettePeach,\n ColorPaletteMarigold,\n ColorPaletteYellow,\n ColorPaletteGold,\n ColorPaletteBrass,\n ColorPaletteBrown,\n ColorPaletteForest,\n ColorPaletteSeafoam,\n ColorPaletteGreen,\n ColorPaletteLightGreen,\n ColorPaletteDarkGreen,\n ColorPaletteLightTeal,\n ColorPaletteTeal,\n ColorPaletteSteel,\n ColorPaletteBlue,\n ColorPaletteRoyalBlue,\n ColorPaletteCornflower,\n ColorPaletteNavy,\n ColorPaletteLavender,\n ColorPalettePurple,\n ColorPaletteGrape,\n ColorPaletteBerry,\n ColorPaletteLilac,\n ColorPalettePink,\n ColorPaletteMagenta,\n ColorPalettePlum,\n ColorPaletteBeige,\n ColorPaletteMink,\n ColorPalettePlatinum,\n ColorPaletteAnchor,\n ColorTokens,\n PartialTheme,\n Theme,\n TypographyStyle,\n TypographyStyles,\n} from '@fluentui/tokens';\n"],"names":["createDarkTheme","createHighContrastTheme","createLightTheme","createTeamsDarkTheme","teamsDarkTheme","teamsDarkV21Theme","teamsHighContrastTheme","teamsLightTheme","teamsLightV21Theme","themeToTokensObject","tokens","typographyStyles","webDarkTheme","webLightTheme"],"mappings":";;;;;;;;;;;IAQEA,eAAe;eAAfA,uBAAe;;IACfC,uBAAuB;eAAvBA,+BAAuB;;IACvBC,gBAAgB;eAAhBA,wBAAgB;;IAChBC,oBAAoB;eAApBA,4BAAoB;;IAVpBC,cAAc;eAAdA,sBAAc;;IACdC,iBAAiB;eAAjBA,yBAAiB;;IACjBC,sBAAsB;eAAtBA,8BAAsB;;IACtBC,eAAe;eAAfA,uBAAe;;IACfC,kBAAkB;eAAlBA,0BAAkB;;IAOlBC,mBAAmB;eAAnBA,2BAAmB;;IACnBC,MAAM;eAANA,cAAM;;IACNC,gBAAgB;eAAhBA,wBAAgB;;IARhBC,YAAY;eAAZA,oBAAY;;IACZC,aAAa;eAAbA,qBAAa;;;wBAQR"}

1
node_modules/@fluentui/react-theme/lib/index.js generated vendored Normal file
View File

@@ -0,0 +1 @@
export { teamsDarkTheme, teamsDarkV21Theme, teamsHighContrastTheme, teamsLightTheme, teamsLightV21Theme, webDarkTheme, webLightTheme, createDarkTheme, createHighContrastTheme, createLightTheme, createTeamsDarkTheme, themeToTokensObject, tokens, typographyStyles } from '@fluentui/tokens';

1
node_modules/@fluentui/react-theme/lib/index.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export {\n teamsDarkTheme,\n teamsDarkV21Theme,\n teamsHighContrastTheme,\n teamsLightTheme,\n teamsLightV21Theme,\n webDarkTheme,\n webLightTheme,\n createDarkTheme,\n createHighContrastTheme,\n createLightTheme,\n createTeamsDarkTheme,\n themeToTokensObject,\n tokens,\n typographyStyles,\n} from '@fluentui/tokens';\n\nexport type {\n Brands,\n BrandVariants,\n FontSizeTokens,\n FontWeightTokens,\n LineHeightTokens,\n BorderRadiusTokens,\n StrokeWidthTokens,\n SpacingTokens,\n HorizontalSpacingTokens,\n VerticalSpacingTokens,\n DurationTokens,\n CurveTokens,\n ShadowTokens,\n ShadowBrandTokens,\n FontFamilyTokens,\n ColorPaletteTokens,\n ColorPaletteDarkRed,\n ColorPaletteCranberry,\n ColorPaletteRed,\n ColorPaletteDarkOrange,\n ColorPalettePumpkin,\n ColorPalettePeach,\n ColorPaletteMarigold,\n ColorPaletteYellow,\n ColorPaletteGold,\n ColorPaletteBrass,\n ColorPaletteBrown,\n ColorPaletteForest,\n ColorPaletteSeafoam,\n ColorPaletteGreen,\n ColorPaletteLightGreen,\n ColorPaletteDarkGreen,\n ColorPaletteLightTeal,\n ColorPaletteTeal,\n ColorPaletteSteel,\n ColorPaletteBlue,\n ColorPaletteRoyalBlue,\n ColorPaletteCornflower,\n ColorPaletteNavy,\n ColorPaletteLavender,\n ColorPalettePurple,\n ColorPaletteGrape,\n ColorPaletteBerry,\n ColorPaletteLilac,\n ColorPalettePink,\n ColorPaletteMagenta,\n ColorPalettePlum,\n ColorPaletteBeige,\n ColorPaletteMink,\n ColorPalettePlatinum,\n ColorPaletteAnchor,\n ColorTokens,\n PartialTheme,\n Theme,\n TypographyStyle,\n TypographyStyles,\n} from '@fluentui/tokens';\n"],"names":["teamsDarkTheme","teamsDarkV21Theme","teamsHighContrastTheme","teamsLightTheme","teamsLightV21Theme","webDarkTheme","webLightTheme","createDarkTheme","createHighContrastTheme","createLightTheme","createTeamsDarkTheme","themeToTokensObject","tokens","typographyStyles"],"mappings":"AAAA,SACEA,cAAc,EACdC,iBAAiB,EACjBC,sBAAsB,EACtBC,eAAe,EACfC,kBAAkB,EAClBC,YAAY,EACZC,aAAa,EACbC,eAAe,EACfC,uBAAuB,EACvBC,gBAAgB,EAChBC,oBAAoB,EACpBC,mBAAmB,EACnBC,MAAM,EACNC,gBAAgB,QACX,mBAAmB"}

39
node_modules/@fluentui/react-theme/package.json generated vendored Normal file
View File

@@ -0,0 +1,39 @@
{
"name": "@fluentui/react-theme",
"version": "9.2.1",
"description": "Fluent UI themes",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
"typings": "./dist/index.d.ts",
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/microsoft/fluentui"
},
"license": "MIT",
"dependencies": {
"@fluentui/tokens": "1.0.0-alpha.23",
"@swc/helpers": "^0.5.1"
},
"beachball": {
"disallowedChangeTypes": [
"major",
"prerelease"
]
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"node": "./lib-commonjs/index.js",
"import": "./lib/index.js",
"require": "./lib-commonjs/index.js"
},
"./package.json": "./package.json"
},
"files": [
"*.md",
"dist/*.d.ts",
"lib",
"lib-commonjs"
]
}