diff --git a/src/client/app/theme.ts b/src/client/app/theme.ts index 2a2b3fd53..ba5eabad2 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 dc45e0026..5c1f0a1b6 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