Skip to content

Commit

Permalink
Fix hover issue for DarkMode toggle icons
Browse files Browse the repository at this point in the history
  • Loading branch information
markteekman committed May 15, 2022
1 parent 6dc03db commit 62729c2
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 62729c2

Please sign in to comment.