Update Appbar with a new logo

This commit is contained in:
Ken Hibino
2021-04-19 06:56:00 -07:00
parent 948d0c761a
commit 72bcbadf72
9 changed files with 41 additions and 41 deletions

View File

@@ -10,6 +10,7 @@ import {
Link as RouterLink,
LinkProps as RouterLinkProps,
} from "react-router-dom";
import { isDarkTheme } from "../theme";
const useStyles = makeStyles((theme) => ({
listItem: {
@@ -17,23 +18,20 @@ const useStyles = makeStyles((theme) => ({
borderBottomRightRadius: "24px",
},
selected: {
backgroundColor:
theme.palette.type === "dark"
? `${theme.palette.secondary.main}30`
: `${theme.palette.primary.main}30`,
backgroundColor: isDarkTheme(theme)
? `${theme.palette.secondary.main}30`
: `${theme.palette.primary.main}30`,
},
selectedText: {
fontWeight: 600,
color:
theme.palette.type === "dark"
? theme.palette.secondary.main
: theme.palette.primary.main,
color: isDarkTheme(theme)
? theme.palette.secondary.main
: theme.palette.primary.main,
},
selectedIcon: {
color:
theme.palette.type === "dark"
? theme.palette.secondary.main
: theme.palette.primary.main,
color: isDarkTheme(theme)
? theme.palette.secondary.main
: theme.palette.primary.main,
},
}));