From 0cd573d183773e853cb5a2aa67340d73655338d3 Mon Sep 17 00:00:00 2001 From: jeffreytse Date: Wed, 9 Dec 2020 09:53:43 +0800 Subject: chore: better transition to dark mode toggle --- _sass/misc/theme-toggle.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '_sass') diff --git a/_sass/misc/theme-toggle.scss b/_sass/misc/theme-toggle.scss index b31b0ae..0041677 100644 --- a/_sass/misc/theme-toggle.scss +++ b/_sass/misc/theme-toggle.scss @@ -4,7 +4,7 @@ margin-top: 10px; margin-right: 60px; margin-left: auto; - transition: 0.1s all ease-in-out; + transition: .3s cubic-bezier(.4,.03,0,1); label, .toggle { border-radius: 100px; -- cgit v1.2.3