diff --git a/.vitepress/theme/styles/fixes.scss b/.vitepress/theme/styles/fixes.scss index ffa258c4..3a0772a9 100644 --- a/.vitepress/theme/styles/fixes.scss +++ b/.vitepress/theme/styles/fixes.scss @@ -24,3 +24,13 @@ font-size: 13px; line-height: 18px; } + +// removes default color, border and background-color transition +.VPNavBarAppearance button.VPSwitch { + transition: none; +} + +// removes default background-color transition but keeps transform +button.VPSwitch span.check { + transition: background-color 0s, transform 0.25s; +} \ No newline at end of file