mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-24 04:00:59 +01:00
theme: fix menu buttons have no hover
This commit is contained in:
@@ -52,7 +52,7 @@ export const createButtonVariant = (
|
||||
},
|
||||
":active": {
|
||||
bg: background,
|
||||
filter: "brightness(90%)",
|
||||
filter: "brightness(85%)",
|
||||
transform: "scale(0.98) !important",
|
||||
...states?.hover,
|
||||
...states?.active
|
||||
@@ -117,7 +117,9 @@ const statusItem: ThemeUIStyleObject = {
|
||||
};
|
||||
|
||||
const menuItem: ThemeUIStyleObject = {
|
||||
...createButtonVariant("transparent", "paragraph"),
|
||||
...createButtonVariant("transparent", "paragraph", {
|
||||
hover: { bg: "hover" }
|
||||
}),
|
||||
borderRadius: 0
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user