diff --git a/ui/src/components/ListItemLink.tsx b/ui/src/components/ListItemLink.tsx
index a90c0cf..ab4aad4 100644
--- a/ui/src/components/ListItemLink.tsx
+++ b/ui/src/components/ListItemLink.tsx
@@ -10,18 +10,22 @@ import {
LinkProps as RouterLinkProps,
} from "react-router-dom";
-const useStyles = makeStyles({
+const useStyles = makeStyles((theme) => ({
listItem: {
borderTopRightRadius: "24px",
borderBottomRightRadius: "24px",
},
selected: {
- backgroundColor: "rgba(0, 0, 0, 0.07)",
+ backgroundColor: `${theme.palette.primary.main}30`,
},
- boldText: {
+ selectedText: {
fontWeight: 600,
+ color: theme.palette.primary.main,
},
-});
+ selectedIcon: {
+ color: theme.palette.primary.main,
+ },
+}));
interface Props {
to: string;
@@ -53,11 +57,15 @@ function ListItemLink(props: Props): ReactElement {
component={renderLink}
className={clsx(classes.listItem, isMatch && classes.selected)}
>
- {icon ? {icon} : null}
+ {icon && (
+
+ {icon}
+
+ )}