Fix dark mode styles

This commit is contained in:
Ken Hibino
2021-01-15 12:09:55 -08:00
parent 3e72e613be
commit 3778dacca7
4 changed files with 24 additions and 12 deletions

View File

@@ -33,7 +33,7 @@ const useStyles = makeStyles((theme) => ({
position: "sticky",
zIndex: 1,
left: 0,
background: theme.palette.common.white,
background: theme.palette.background.paper,
},
modal: {
display: "flex",

View File

@@ -129,23 +129,28 @@ const useStyles = makeStyles((theme) => ({
display: "flex",
width: "100%",
height: "100%",
background: theme.palette.background.paper,
},
heading: {
opacity: 0.7,
fontSize: "1.7rem",
fontWeight: 500,
backgroundColor: theme.palette.background.paper,
paddingLeft: "28px", // TODO: maybe use theme.spacing(3),
paddingTop: "28px",
paddingBottom: "28px",
color: theme.palette.text.primary,
},
tabsContainer: {
background: theme.palette.background.paper,
background:
theme.palette.type === "dark"
? "#303030"
: theme.palette.background.default,
},
tabsRoot: {
paddingLeft: theme.spacing(2),
background: theme.palette.background.paper,
background:
theme.palette.type === "dark"
? "#303030"
: theme.palette.background.default,
},
tabsIndicator: {
right: "auto",
@@ -161,12 +166,11 @@ const useStyles = makeStyles((theme) => ({
color: theme.palette.text.primary,
},
tabSelected: {
background: theme.palette.action.selected,
background: theme.palette.background.paper,
boxShadow: theme.shadows[1],
},
panelContainer: {
padding: "24px",
background: theme.palette.background.paper,
},
taskCount: {
fontSize: "2rem",