Skip to content

Commit 76ebdee

Browse files
authored
fix: update validationState tokens for Progress (#25664)
* fix:update validationState tokens for Progress * change files
1 parent e43b95f commit 76ebdee

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "prerelease",
3+
"comment": "fix: update validationState tokens to use background instead of foreground",
4+
"packageName": "@fluentui/react-progress",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}

packages/react-components/react-progress/src/components/Progress/useProgressStyles.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,13 @@ const useBarStyles = makeStyles({
109109
},
110110

111111
error: {
112-
backgroundColor: tokens.colorPaletteRedForeground1,
112+
backgroundColor: tokens.colorPaletteRedBackground3,
113113
},
114114
warning: {
115-
backgroundColor: tokens.colorPaletteDarkOrangeForeground1,
115+
backgroundColor: tokens.colorPaletteDarkOrangeBackground3,
116116
},
117117
success: {
118-
backgroundColor: tokens.colorPaletteGreenForeground1,
118+
backgroundColor: tokens.colorPaletteGreenBackground3,
119119
},
120120
});
121121

0 commit comments

Comments
 (0)