Skip to content

Commit 4eeb493

Browse files
committed
fix(ExpansionPanelSummary): increase contrast for focus, disabled states
1 parent d48def3 commit 4eeb493

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/material-ui/src/ExpansionPanelSummary/ExpansionPanelSummary.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ export const styles = (theme) => {
2525
minHeight: 64,
2626
},
2727
'&$focused': {
28-
backgroundColor: theme.palette.grey[300],
28+
backgroundColor: theme.palette.action.focus,
2929
},
3030
'&$disabled': {
31-
opacity: 0.38,
31+
opacity: theme.palette.action.disabledOpacity,
3232
},
3333
},
3434
/* Pseudo-class applied to the root element, children wrapper element and `IconButton` component if `expanded={true}`. */

0 commit comments

Comments
 (0)