Skip to content

Commit

Permalink
#1152 - fix colour of facet accordian headers in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
louise-davies committed May 15, 2024
1 parent 473f346 commit 06539eb
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ const Accordion = styled(MuiAccordion)(({ theme }) => ({
}));

const AccordionSummary = styled(MuiAccordionSummary)(({ theme }) => ({
backgroundColor: theme.palette.grey[50],
backgroundColor:
theme.palette.mode === 'dark'
? theme.palette.grey[900]
: theme.palette.grey[50],
minHeight: 0,
paddingTop: theme.spacing(1),
paddingBottom: theme.spacing(1),
Expand Down

0 comments on commit 06539eb

Please sign in to comment.