We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 473f346 commit 06539ebCopy full SHA for 06539eb
packages/datagateway-search/src/facet/components/facetPanel/facetPanel.component.tsx
@@ -38,7 +38,10 @@ const Accordion = styled(MuiAccordion)(({ theme }) => ({
38
}));
39
40
const AccordionSummary = styled(MuiAccordionSummary)(({ theme }) => ({
41
- backgroundColor: theme.palette.grey[50],
+ backgroundColor:
42
+ theme.palette.mode === 'dark'
43
+ ? theme.palette.grey[900]
44
+ : theme.palette.grey[50],
45
minHeight: 0,
46
paddingTop: theme.spacing(1),
47
paddingBottom: theme.spacing(1),
0 commit comments