feat: unify design tokens, five font weights, radius scale, restrained motion, AA contrast
ci / gitleaks (push) Successful in 11s
ci / docker (push) Successful in 3m43s

This commit is contained in:
2026-09-23 05:41:16 +08:00
parent b3b0e07c42
commit 058f353965
15 changed files with 264 additions and 190 deletions
+11
View File
@@ -0,0 +1,11 @@
// Synchronous requestAnimationFrame so Vue <Transition> leave (double-rAF)
// settles in the same tick as close(), preserving tests' "dialog removed
// immediately" contract. Production keeps real browser frames.
globalThis.requestAnimationFrame = ((cb: FrameRequestCallback) => {
cb(Date.now())
return 1
}) as typeof globalThis.requestAnimationFrame
globalThis.cancelAnimationFrame = (() => {}) as typeof globalThis.cancelAnimationFrame
export {}