Fix partial selected checkbox style in dark

This commit is contained in:
Krzysztof Bialoglowicz 2019-09-10 18:58:41 +02:00
parent 1695540947
commit 10a671da46

View file

@ -37,11 +37,11 @@ const styles = (theme: Theme) =>
checkboxPartialSelect: { checkboxPartialSelect: {
"& input": { "& input": {
"&:before": { "&:before": {
background: [theme.palette.common.white, "!important"] as any, background: [theme.palette.background.paper, "!important"] as any,
border: `solid 1px ${theme.palette.primary.main}`, border: `solid 1px ${theme.palette.primary.main}`,
content: "''" content: "''"
}, },
background: theme.palette.common.white background: theme.palette.background.paper
}, },
"&:after": { "&:after": {
background: theme.palette.primary.main, background: theme.palette.primary.main,