mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-01-19 11:15:53 +08:00
Change LinkItemLink selected color in dark mode
This commit is contained in:
parent
caae17a230
commit
3c064e0eaf
@ -17,14 +17,23 @@ const useStyles = makeStyles((theme) => ({
|
|||||||
borderBottomRightRadius: "24px",
|
borderBottomRightRadius: "24px",
|
||||||
},
|
},
|
||||||
selected: {
|
selected: {
|
||||||
backgroundColor: `${theme.palette.primary.main}30`,
|
backgroundColor:
|
||||||
|
theme.palette.type === "dark"
|
||||||
|
? `${theme.palette.secondary.main}30`
|
||||||
|
: `${theme.palette.primary.main}30`,
|
||||||
},
|
},
|
||||||
selectedText: {
|
selectedText: {
|
||||||
fontWeight: 600,
|
fontWeight: 600,
|
||||||
color: theme.palette.primary.main,
|
color:
|
||||||
|
theme.palette.type === "dark"
|
||||||
|
? theme.palette.secondary.main
|
||||||
|
: theme.palette.primary.main,
|
||||||
},
|
},
|
||||||
selectedIcon: {
|
selectedIcon: {
|
||||||
color: theme.palette.primary.main,
|
color:
|
||||||
|
theme.palette.type === "dark"
|
||||||
|
? theme.palette.secondary.main
|
||||||
|
: theme.palette.primary.main,
|
||||||
},
|
},
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user