Skip to content

Commit

Permalink
fix: corrects the border-color for switch when in the checked state o…
Browse files Browse the repository at this point in the history
…n rest (#31628)
  • Loading branch information
chrisdholt authored Jun 7, 2024
1 parent 0ee053f commit eb13aea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "fixes the border-color for switch when in the checked state on rest",
"packageName": "@fluentui/web-components",
"email": "13071055+chrisdholt@users.noreply.github.com",
"dependentChangeType": "patch"
}
1 change: 1 addition & 0 deletions packages/web-components/src/switch/switch.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export const styles = css`
}
:host(${checkedState}) {
background: ${colorCompoundBrandBackground};
border-color: ${colorCompoundBrandBackground};
}
:host(${checkedState}:hover) {
background: ${colorCompoundBrandBackgroundHover};
Expand Down

0 comments on commit eb13aea

Please sign in to comment.