From c8e980645cf50fe67a2d6018470f71dce7ce7613 Mon Sep 17 00:00:00 2001 From: Brijesh Bittu Date: Fri, 6 Oct 2023 18:10:41 +0530 Subject: [PATCH] [material-ui][Checkbox] Fix checkbox hover bg with extendTheme (#39319) --- packages/mui-material/src/Checkbox/Checkbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mui-material/src/Checkbox/Checkbox.js b/packages/mui-material/src/Checkbox/Checkbox.js index 993b5ecc3e9904..00924d277efffe 100644 --- a/packages/mui-material/src/Checkbox/Checkbox.js +++ b/packages/mui-material/src/Checkbox/Checkbox.js @@ -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'