Skip to content

Commit

Permalink
Merge pull request #33 from markteekman/develop
Browse files Browse the repository at this point in the history
Fix hover issue for DarkMode toggle icons
  • Loading branch information
markteekman authored May 15, 2022
2 parents b010c99 + 62729c2 commit 42afc97
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/Navigation.astro
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,10 @@ import { DarkMode } from 'accessible-astro-components'
svg path {
fill: var(--secondary-500);
transition: fill 0.2s ease-in-out;
}

&:hover {
&:hover {
svg path {
fill: var(--primary-400);
}
}
Expand All @@ -360,8 +362,10 @@ import { DarkMode } from 'accessible-astro-components'
.darkmode .darkmode-toggle {
svg path {
fill: var(--secondary-100);
}

&:hover {
&:hover {
svg path {
fill: var(--primary-400);
}
}
Expand Down

0 comments on commit 42afc97

Please sign in to comment.