Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Commit ddf6298

Browse files
authored
feat(Colors): Add new color scheme design token for Teams theme (#2297)
* adding new red background hover 1 color scheme design token for Teams title bar close button * add entry to changelog
1 parent 99934c3 commit ddf6298

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
4444
- Add `useStyles()` hook to use theming capabilities in custom components @layershifter, @mnajdova ([#2217](https://github.com/microsoft/fluent-ui-react/pull/2217))
4545
- Add optional wrapper function to `List` which can be used to inject custom scrollbars to `Dropdown` @jurokapsiar ([#2092](https://github.com/microsoft/fluent-ui-react/pull/2092))
4646
- Add `useTelemetry()` hook for adding telemetry information for the Fluent components and improve return types for the `useStyles` and `useStateManager` hooks @mnajdova ([#2257](https://github.com/microsoft/fluent-ui-react/pull/2257))
47+
- Add new `backgroundHover1` Red design tokens in Teams theme @codepretty ([#2297](https://github.com/microsoft/fluent-ui-react/pull/2297))
4748
- Add `target` prop to `EventListener` component and `useEventListener()` hook @layershifter ([#2287](https://github.com/microsoft/fluent-ui-react/pull/2287))
4849
- Add `disabled` prop accordion title @jurokapsiar ([#2290](https://github.com/microsoft/fluent-ui-react/pull/2290))
4950
- Allow custom values for `size` in `FlexItem` @silviuavram ([#2313](https://github.com/microsoft/fluent-ui-react/pull/2313))

packages/react/src/themes/teams-dark/colors.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ export const colorScheme: ColorSchemeMapping = {
235235

236236
foregroundHover: colors.white,
237237
backgroundHover: colors.ruby[600],
238+
backgroundHover1: colors.red[400],
238239

239240
foregroundPressed: colors.white,
240241
backgroundPressed: colors.ruby[700],

packages/react/src/themes/teams-high-contrast/colors.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ export const colorScheme: ColorSchemeMapping = {
237237

238238
foregroundHover: colors.black,
239239
backgroundHover: accessibleYellow,
240+
backgroundHover1: accessibleYellow,
240241

241242
foregroundPressed: colors.black,
242243
backgroundPressed: accessibleYellow,

packages/react/src/themes/teams/colors.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,8 +441,11 @@ export const colorScheme: ColorSchemeMapping<ColorScheme, TeamsColorNames> = {
441441
background2: colors.ruby[500],
442442
background3: colors.red[400],
443443
border: colors.red[100],
444+
444445
foregroundHover: colors.white,
445446
backgroundHover: colors.ruby[600],
447+
backgroundHover1: colors.red[400],
448+
446449
foregroundPressed: colors.white,
447450
backgroundPressed: colors.ruby[700],
448451
}),

0 commit comments

Comments
 (0)