From 0ff24888cea50125c3e167ea6896f64da11666d3 Mon Sep 17 00:00:00 2001 From: xfy Date: Fri, 26 Jun 2026 18:14:29 +0800 Subject: [PATCH] refactor(theme): use pure CSS View Transitions without WAAPI or style injection Adopt a fully CSS-driven strategy for the theme transition: - Use CSS variables (--tt-x, --tt-y, --tt-r) injected onto documentElement - Define static @keyframes in style.css using these variables - Key logic: the Dark layer is ALWAYS placed on top (z-index: 2). - Light -> Dark: NEW layer is Dark, so NEW expands from circle(0) to cover OLD. - Dark -> Light: OLD layer is Dark, so OLD shrinks to circle(0) to reveal NEW. This completely eliminates reliance on Web Animations API (which had bugs with clip-path when animation:none is set) and eliminates dynamic