From 69355fa5b080a97d7914ae039ae3d36c0d374034 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 8 May 2026 08:06:27 +0000 Subject: refactor(motion): introduce easing/duration tokens Add --ease-out-quart, --ease-in-out-quart, --duration-fast, --duration-slow in motion.css and migrate the global anchor, header, and theme-switch transitions to use them. Establishes a shared motion vocabulary for future polish. --- src/styles/motion.css | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/styles/motion.css (limited to 'src/styles/motion.css') diff --git a/src/styles/motion.css b/src/styles/motion.css new file mode 100644 index 00000000..9e0f4257 --- /dev/null +++ b/src/styles/motion.css @@ -0,0 +1,6 @@ +:root { + --ease-out-quart: cubic-bezier(0.22, 1, 0.36, 1); + --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1); + --duration-fast: 0.15s; + --duration-slow: 0.4s; +} -- cgit v1.2.3