From 2c83a05e80fab2d9e878e35ad1a3352d78b997af Mon Sep 17 00:00:00 2001
From: syuilo <syuilotan@yahoo.co.jp>
Date: Tue, 5 Mar 2019 20:45:19 +0900
Subject: [PATCH] [Client] Better transition

---
 src/client/app/theme.ts | 2 +-
 src/client/style.styl   | 4 +---
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/client/app/theme.ts b/src/client/app/theme.ts
index 2a2b3fd537..ba5eabad2f 100644
--- a/src/client/app/theme.ts
+++ b/src/client/app/theme.ts
@@ -47,7 +47,7 @@ export function applyTheme(theme: Theme, persisted = true) {
 
 	setTimeout(() => {
 		document.documentElement.classList.remove('changing-theme');
-	}, 500);
+	}, 1000);
 
 	// Deep copy
 	const _theme = JSON.parse(JSON.stringify(theme));
diff --git a/src/client/style.styl b/src/client/style.styl
index dc45e0026a..5c1f0a1b63 100644
--- a/src/client/style.styl
+++ b/src/client/style.styl
@@ -22,9 +22,7 @@ html, body
 
 html.changing-theme
 	&, *
-		transition-property all
-		transition-duration 0.5s
-		transition-timing-function ease
+		transition background 1s ease
 
 a
 	text-decoration none