This commit is contained in:
Manav Rathi
2024-06-04 21:26:04 +05:30
parent d14c7cf4c9
commit 6a0126926d

View File

@@ -70,10 +70,10 @@ export function EnteMenuItem({
width: "100%",
color: (theme) =>
variant !== "captioned" && theme.palette[color].main,
...(variant !== "secondary" &&
variant !== "mini" && {
backgroundColor: (theme) => theme.colors.fill.faint,
}),
backgroundColor: (theme) =>
variant !== "secondary" && variant !== "mini"
? theme.colors.fill.faint
: "inherit",
"&:hover": {
backgroundColor: (theme) => theme.colors.fill.faintPressed,
},