mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-01-19 03:05: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",
|
||||
},
|
||||
selected: {
|
||||
backgroundColor: `${theme.palette.primary.main}30`,
|
||||
backgroundColor:
|
||||
theme.palette.type === "dark"
|
||||
? `${theme.palette.secondary.main}30`
|
||||
: `${theme.palette.primary.main}30`,
|
||||
},
|
||||
selectedText: {
|
||||
fontWeight: 600,
|
||||
color: theme.palette.primary.main,
|
||||
color:
|
||||
theme.palette.type === "dark"
|
||||
? theme.palette.secondary.main
|
||||
: theme.palette.primary.main,
|
||||
},
|
||||
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