Skip to content

Commit

Permalink
fix: ColorPicker preview color updated to ignore forced colors (micro…
Browse files Browse the repository at this point in the history
…soft#27394)

* Updated preview color to ignore forced colors

* Updated colorpicker snapshot
  • Loading branch information
GeoffCoxMSFT authored Mar 31, 2023
1 parent 34d6188 commit cbc6188
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "fix: ColorPicker preview box updated to ignore forced colors to display chosen color",
"packageName": "@fluentui/react",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export const getStyles = (props: IColorPickerStyleProps): IColorPickerStyles =>
height: 48,
margin: '0 0 0 8px',
border: '1px solid #c8c6c4',
forcedColorAdjust: 'none',
},
],
flexContainer: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1428,6 +1428,7 @@ exports[`ColorPicker renders correctly with preview 1`] = `
is-preview
{
border: 1px solid #c8c6c4;
forced-color-adjust: none;
height: 48px;
margin-bottom: 0;
margin-left: 8px;
Expand Down

0 comments on commit cbc6188

Please sign in to comment.