Skip to content

Commit 74a3a68

Browse files
fix(sidebar): update hover to neutral grey for consistency with nav links
1 parent baa0578 commit 74a3a68

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

packages/ui-components/Containers/Sidebar/SidebarItem/index.module.css

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,20 @@
1818

1919
margin-bottom: 1px;
2020

21-
&:not(.active):hover {
22-
@apply bg-neutral-100
23-
text-neutral-900
24-
shadow-sm
25-
dark:bg-neutral-800
26-
dark:text-neutral-100;
21+
&:hover {
22+
&:not(.progression) .label {
23+
@apply rounded-sm
24+
bg-neutral-100
25+
text-neutral-900
26+
dark:bg-neutral-800
27+
dark:text-neutral-100;
28+
}
2729

2830
.icon {
2931
@apply scale-110
3032
text-green-600
3133
dark:text-green-400;
3234
}
33-
34-
.label {
35-
@apply text-neutral-900
36-
dark:text-neutral-100;
37-
}
3835
}
3936

4037
.label {
@@ -73,7 +70,7 @@
7370
}
7471

7572
&:not(.active):hover {
76-
@apply bg-neutral-50
73+
@apply bg-neutral-100
7774
dark:bg-neutral-900;
7875
}
7976
}

0 commit comments

Comments
 (0)