summaryrefslogtreecommitdiffhomepage
path: root/src/features
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-10-21 21:16:00 +0900
committerAdam Malczewski <[email protected]>2026-10-21 21:16:00 +0900
commit87c703a3c2f1f44b5e4e1393c0b29faec27a5ea2 (patch)
tree102ed27270447cca840210165334be768b849328 /src/features
parent4b1a139140236f82ad0c749c7ef2175b3aaae25f (diff)
downloaddispatch-web-87c703a3c2f1f44b5e4e1393c0b29faec27a5ea2.tar.gz
dispatch-web-87c703a3c2f1f44b5e4e1393c0b29faec27a5ea2.zip
feat(tabs): slow the tab animation phases to 0.2s / 0.3s / 0.2s
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 4be0b15..2569b3d 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.1;
-const MOVE = 0.15;
-const GROW = 0.1;
+const SHRINK = 0.2;
+const MOVE = 0.3;
+const GROW = 0.2;
const SIZE_EASE = "power2.inOut";
const MOVE_EASE = "power3.out";
const GHOST_ATTR = "data-tab-ghost";