summaryrefslogtreecommitdiffhomepage
path: root/src/features
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-10-21 21:18:29 +0900
committerAdam Malczewski <[email protected]>2026-10-21 21:18:29 +0900
commite01e61c7a18c36d0ce8777564ebea4a59fa0a12b (patch)
treea065f1698bb88f03e62f90d293bd07908c34f1dd /src/features
parent87c703a3c2f1f44b5e4e1393c0b29faec27a5ea2 (diff)
downloaddispatch-web-e01e61c7a18c36d0ce8777564ebea4a59fa0a12b.tar.gz
dispatch-web-e01e61c7a18c36d0ce8777564ebea4a59fa0a12b.zip
feat(tabs): tab animation phases 0.05s / 0.075s / 0.05s
Diffstat (limited to 'src/features')
-rw-r--r--src/features/tabs/ui/tab-flip.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/features/tabs/ui/tab-flip.ts b/src/features/tabs/ui/tab-flip.ts
index 2569b3d..53bef75 100644
--- a/src/features/tabs/ui/tab-flip.ts
+++ b/src/features/tabs/ui/tab-flip.ts
@@ -35,9 +35,9 @@ export interface TabFlip {
play(): void;
}
-const SHRINK = 0.2;
-const MOVE = 0.3;
-const GROW = 0.2;
+const SHRINK = 0.05;
+const MOVE = 0.075;
+const GROW = 0.05;
const SIZE_EASE = "power2.inOut";
const MOVE_EASE = "power3.out";
const GHOST_ATTR = "data-tab-ghost";