feat: unify design tokens, five font weights, radius scale, restrained motion, AA contrast
This commit is contained in:
@@ -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 {}
|
||||
Reference in New Issue
Block a user