feat: changing background accent for tertiary main

This commit is contained in:
Caio Cabral committed 2025-01-11 16:50:48 -05:00
1 parent 6bb38c9339
commit c0df164e46
14 files changed
+25 -24

No files matched your search

+3 -5
View File
@@ -157,7 +157,6 @@ function Sidebar() {
}, [location]);
/* TODO refactor this, there are a some ternaries and comments in the return */
return (
<Stack
component="aside"
@@ -170,9 +169,8 @@ function Sidebar() {
borderRadius: theme.shape.borderRadius,
/* TODO selected item */
"& .selected-path": {
/* TODO lookup theme.palette.background.accent */
backgroundColor:
theme.palette.secondary.main /* theme.palette.background.accent */,
/* TODO lookup theme.palette.tertiary.main */
backgroundColor: theme.palette.secondary.main /* theme.palette.tertiary.main */,
/* TODO not working */
color: theme.palette.primary.main,
@@ -383,7 +381,7 @@ function Sidebar() {
sx={{
ml: theme.spacing(8),
"& .selected-path": {
backgroundColor: theme.palette.background.accent,
backgroundColor: theme.palette.tertiary.main,
},
}}
>