Skip to content

Commit 962065a

Browse files
fix(theme): match switch background transition with page transition (#1479)
1 parent 3daabdc commit 962065a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/client/theme-default/components/VPSwitch.vue

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
flex-shrink: 0;
1919
border: 1px solid var(--vp-c-divider);
2020
background-color: var(--vp-c-bg-mute);
21-
transition: border-color 0.25s, background-color 0.25s;
2221
}
2322
2423
.VPSwitch:hover {
@@ -34,7 +33,7 @@
3433
border-radius: 50%;
3534
background-color: var(--vp-c-white);
3635
box-shadow: var(--vp-shadow-1);
37-
transition: background-color 0.25s, transform 0.25s;
36+
transition: transform 0.25s;
3837
}
3938
4039
.dark .check {

0 commit comments

Comments
 (0)