Skip to content

Commit 38ef6db

Browse files
chore: added comment linking hover style to related components (#8034)
1 parent dbadb86 commit 38ef6db

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@
1616

1717
&:hover {
1818
&:not(.progression) .label {
19+
/*
20+
This ensures a consistent hover effect across the website in dark mode (bg-neutral-900) and light mode (bg-neutral-100).
21+
See:
22+
- src/Containers/NavBar/index.module.css (Navbar hover)
23+
- src/Containers/NavBar/NavItem/index.module.css (Footer hover)
24+
*/
1925
@apply rounded-sm
2026
bg-neutral-100
2127
text-neutral-900

0 commit comments

Comments
 (0)