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; flex-shrink: 0;
border: 1px solid var(--vp-c-divider); border: 1px solid var(--vp-c-divider);
background-color: var(--vp-c-bg-mute); background-color: var(--vp-c-bg-mute);
transition: border-color 0.25s, background-color 0.25s;
} }
.VPSwitch:hover { .VPSwitch:hover {
@ -34,7 +33,7 @@
border-radius: 50%; border-radius: 50%;
background-color: var(--vp-c-white); background-color: var(--vp-c-white);
box-shadow: var(--vp-shadow-1); box-shadow: var(--vp-shadow-1);
transition: background-color 0.25s, transform 0.25s; transition: transform 0.25s;
} }
.dark .check { .dark .check {

Loading…
Cancel
Save