diff options
| -rw-r--r-- | src/client/app/theme.ts | 2 | ||||
| -rw-r--r-- | 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 |