Skip to content

Commit

Permalink
[material-ui][Checkbox] Fix checkbox hover bg with extendTheme (#39319)
Browse files Browse the repository at this point in the history
  • Loading branch information
brijeshb42 committed Oct 6, 2023
1 parent 3bbcc6f commit c8e9806
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 c8e9806

Please sign in to comment.