summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-03-05 20:45:19 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-03-05 20:45:19 +0900
commit2c83a05e80fab2d9e878e35ad1a3352d78b997af (patch)
tree34ac9dd79319629161af9415af913e5afe08a9cc /src
parentRefactor (diff)
downloadmisskey-2c83a05e80fab2d9e878e35ad1a3352d78b997af.tar.gz
misskey-2c83a05e80fab2d9e878e35ad1a3352d78b997af.tar.bz2
misskey-2c83a05e80fab2d9e878e35ad1a3352d78b997af.zip
[Client] Better transition
Diffstat (limited to 'src')
-rw-r--r--src/client/app/theme.ts2
-rw-r--r--src/client/style.styl4
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