From 962065a46ee1ef34eccbffbde9e65d7f174f8ab1 Mon Sep 17 00:00:00 2001 From: Kevin Zuniga Cuellar <46791833+kevinzunigacuellar@users.noreply.github.com> Date: Fri, 14 Oct 2022 00:05:13 -0400 Subject: [PATCH] fix(theme): match switch background transition with page transition (#1479) --- src/client/theme-default/components/VPSwitch.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/client/theme-default/components/VPSwitch.vue b/src/client/theme-default/components/VPSwitch.vue index 94c47b7082c..a7e8efc30a4 100644 --- a/src/client/theme-default/components/VPSwitch.vue +++ b/src/client/theme-default/components/VPSwitch.vue @@ -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 {