Skip to content

Commit

Permalink
fix: Embed play/pause indicator should render correctly in high contr…
Browse files Browse the repository at this point in the history
…ast mode (#27213)

* fix: Embed play/pause indicator should render correctly in high contrast mode

* add changelog

* use variables instead
  • Loading branch information
ling1726 authored Mar 15, 2023
1 parent 76e6598 commit 5da01b4
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/fluentui/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- `Datepicker`: indicators should be visible in high contrast mode. @ling1726 ([#27107](https://github.com/microsoft/fluentui/pull/27107))
- `Datepicker`: Disabled buttons should be green in HC theme. @jurokapsiar ([#27114](https://github.com/microsoft/fluentui/pull/27114))
- `SplitButton`: should display correctly in high contrast mode @ling1726 ([#27137](https://github.com/microsoft/fluentui/pull/27137))
- `Embed`: play/pause indicator should render correctly in high contrast mode @ling1726 ([#27213](https://github.com/microsoft/fluentui/pull/27213))

<!--------------------------------[ v0.66.3 ]------------------------------- -->
## [v0.66.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-northstar_v0.66.3) (2023-02-27)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { embedVariables as Embed } from './components/Embed/embedVariables';
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { EmbedVariables } from '../../../teams/components/Embed/embedVariables';

export const embedVariables = (): Partial<EmbedVariables> => {
return {
controlColor: 'ButtonText',
};
};
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import { createTheme, mergeThemes } from '@fluentui/styles';
import { teamsHighContrastTheme } from '../teams-high-contrast';
import * as componentStyles from './componentStyles';
import * as componentVariables from './componentVariables';

export const teamsForcedColorsTheme = mergeThemes(
teamsHighContrastTheme,
createTheme(
{
componentStyles,
componentVariables,
},
'teams-forced-colors',
),
Expand Down

0 comments on commit 5da01b4

Please sign in to comment.