Skip to content

Commit

Permalink
fix(theme): match switch background transition with page transition (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinzunigacuellar committed Oct 14, 2022
1 parent 3daabdc commit 962065a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/client/theme-default/components/VPSwitch.vue
Expand Up @@ -18,7 +18,6 @@
flex-shrink: 0;
border: 1px solid var(--vp-c-divider);
background-color: var(--vp-c-bg-mute);
transition: border-color 0.25s, background-color 0.25s;
}
.VPSwitch:hover {
Expand All @@ -34,7 +33,7 @@
border-radius: 50%;
background-color: var(--vp-c-white);
box-shadow: var(--vp-shadow-1);
transition: background-color 0.25s, transform 0.25s;
transition: transform 0.25s;
}
.dark .check {
Expand Down

0 comments on commit 962065a

Please sign in to comment.