Skip to content
Snippets Groups Projects
Unverified Commit 2c83a05e authored by syuilo's avatar syuilo
Browse files

[Client] Better transition

parent 467f6850
No related branches found
No related tags found
No related merge requests found
......@@ -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));
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment