Skip to content

Commit

Permalink
Enhancement: added navItem hover (#6775)
Browse files Browse the repository at this point in the history
* added navItem hover

* navItem hover color green-400

* navItem nav.label hover color green-400

* move up the hover logic up by one from nav.label to nav hover .label

* prevent text color change when active

* changed hover color to text-green-700

* reverted to the original propoal

* fixed css formatting mistake
  • Loading branch information
mAmineChniti authored Jun 14, 2024
1 parent 430b52c commit ed02b56
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion components/Containers/NavBar/NavItem/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
dark:text-neutral-200;
}

&:hover {
@apply bg-neutral-100
dark:bg-neutral-900;
}

&.nav {
.label {
@apply text-neutral-900
Expand Down Expand Up @@ -45,7 +50,8 @@
}

&:hover {
@apply bg-neutral-100 dark:bg-neutral-900;
@apply bg-neutral-100
dark:bg-neutral-900;
}
}
}

0 comments on commit ed02b56

Please sign in to comment.