fix(theme): match switch background transition with page transition (#1479)

pull/1484/head
Kevin Zuniga Cuellar 2 years ago committed by GitHub
parent 3daabdc480
commit 962065a46e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 {
@ -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 {

Loading…
Cancel
Save