Skip to content

Commit

Permalink
fix: always render hover color + only change text on dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Aug 7, 2020
1 parent 34c5fd4 commit 32ac1ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/NavigationItems.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
border-radius: 0.25rem;
padding-left: calc(0.5rem + 1em);

&:not(.isCurrentPage):hover {
&:hover {
color: var(--primary-text-hover-color);
}

Expand Down Expand Up @@ -74,9 +74,9 @@ button.navLink {

.isCurrentPage {
background: var(--color-neutrals-100);
color: var(--primary-text-hover-color);

:global(.dark-mode) & {
color: var(--primary-text-hover-color);
background: var(--color-dark-100);
}
}
Expand Down

0 comments on commit 32ac1ae

Please sign in to comment.