From 4eeb493b103a38ed47fe3520810522a093f9ecaa Mon Sep 17 00:00:00 2001 From: Peter Mikitsh Date: Thu, 23 Apr 2020 07:58:25 -0700 Subject: [PATCH] fix(ExpansionPanelSummary): increase contrast for focus, disabled states --- .../src/ExpansionPanelSummary/ExpansionPanelSummary.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/material-ui/src/ExpansionPanelSummary/ExpansionPanelSummary.js b/packages/material-ui/src/ExpansionPanelSummary/ExpansionPanelSummary.js index b612814034e2ff..c476e7d30feb27 100644 --- a/packages/material-ui/src/ExpansionPanelSummary/ExpansionPanelSummary.js +++ b/packages/material-ui/src/ExpansionPanelSummary/ExpansionPanelSummary.js @@ -25,10 +25,10 @@ export const styles = (theme) => { minHeight: 64, }, '&$focused': { - backgroundColor: theme.palette.grey[300], + backgroundColor: theme.palette.action.focus, }, '&$disabled': { - opacity: 0.38, + opacity: theme.palette.action.disabledOpacity, }, }, /* Pseudo-class applied to the root element, children wrapper element and `IconButton` component if `expanded={true}`. */