Skip to content

Commit

Permalink
[material] Fix checkbox hover bg with extendTheme
Browse files Browse the repository at this point in the history
Fixes mui#39230
  • Loading branch information
brijeshb42 committed Oct 5, 2023
1 parent ba4c559 commit 53d1c48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mui-material/src/Checkbox/Checkbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const CheckboxRoot = styled(SwitchBase, {
? `rgba(${
ownerState.color === 'default'
? theme.vars.palette.action.activeChannel
: theme.vars.palette.primary.mainChannel
: theme.vars.palette[ownerState.color].mainChannel
} / ${theme.vars.palette.action.hoverOpacity})`
: alpha(
ownerState.color === 'default'
Expand Down

0 comments on commit 53d1c48

Please sign in to comment.