Skip to content

Commit

Permalink
fix(Dialog): fix contrast ratio for Dialog in dark v2 (#19434)
Browse files Browse the repository at this point in the history
* fix(Dialog): fix contrast ratio for Dialog in dark v2

* fix(Dialog): add changelog
  • Loading branch information
chpalac authored Aug 18, 2021
1 parent e6d5658 commit 6e53bbf
Show file tree
Hide file tree
Showing 3 changed files with 7 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 @@ -46,6 +46,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- Fix `Datepicker` input @yuanboxue-amber ([#19261](https://github.com/microsoft/fluentui/pull/19261))
- Fix `Dialog` styles border radius changed @bcalvery ([#19328](https://github.com/microsoft/fluentui/pull/19328))
- Fix `Card` HC styles on hover @chassunc ([#19382](https://github.com/microsoft/fluentui/pull/19382))
- Fix `Dialog` background in teams dark v2 @chassunc ([#19434](https://github.com/microsoft/fluentui/pull/19434))

### Features
- Add Onyx 600, Silver 100 to color palette and some color tokens @codepretty ([#18827](https://github.com/microsoft/fluentui/pull/18827))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ export { chatMessageVariables as ChatMessage } from './components/Chat/chatMessa
export { chatMessageDetailsVariables as ChatMessageDetails } from './components/Chat/chatMessageDetailsVariables';
export { datepickerCalendarCellButtonVariables as DatepickerCalendarCellButton } from './components/Datepicker/datepickerCalendarCellButtonVariables';
export { textVariables as Text } from './components/Text/textVariables';
export { dialogVariables as Dialog } from './components/Dialog/dialogVariables';
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { DialogVariables } from './../../../teams/components/Dialog/dialogVariables';

export const dialogVariables = (siteVars): Partial<DialogVariables> => ({
rootBackground: siteVars.colorScheme.default.background,
});

0 comments on commit 6e53bbf

Please sign in to comment.