From 6ff5f7210895de877dc239a2d3e176cb73010bcd Mon Sep 17 00:00:00 2001 From: Kevin Zuniga Cuellar Date: Thu, 13 Oct 2022 12:22:51 -0400 Subject: [PATCH] remove background color transitions --- .vitepress/theme/styles/fixes.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) 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