Skip to content

Commit 911635d

Browse files
committed
fix: menuitem design
1 parent b92cc29 commit 911635d

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

src/theme/components/menu.ts

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,15 @@ export const MenuItem = {
7070
color: 'text.400',
7171
},
7272
},
73-
_focus: {
73+
_hover: {
7474
bg: 'muted.200',
7575
},
76-
_pressed: {
76+
_focus: {
7777
bg: 'muted.300',
7878
},
79+
_pressed: {
80+
bg: 'muted.400',
81+
},
7982

8083
_icon: {
8184
color: 'muted.500',
@@ -97,12 +100,15 @@ export const MenuItem = {
97100
color: 'text.600',
98101
},
99102
},
100-
_focus: {
103+
_hover: {
101104
bg: 'muted.700',
102105
},
103-
_pressed: {
106+
_focus: {
104107
bg: 'muted.600',
105108
},
109+
_pressed: {
110+
bg: 'muted.500',
111+
},
106112

107113
_icon: {
108114
color: 'muted.400',

0 commit comments

Comments
 (0)