fix(01-design-tokens-rams-foundation): WR-01 scope @source to mockup files + disable deprecated bare shadow/blur keys

This commit is contained in:
araharah-executor
2026-10-22 09:35:41 +08:00
parent 61d15c28a8
commit 689bc9ff4b
3 changed files with 44 additions and 6 deletions
+14
View File
@@ -111,6 +111,20 @@
--radius-2xl: 0px;
--radius-3xl: 0px;
--radius-4xl: 0px;
/* — Rams-forbidden primitives, disabled at the key (WR-01): v4's
deprecated bare keys (v3-compat defaults, node_modules/tailwindcss/
theme.css "Deprecated" block) are what drive the bare shadow /
shadow-inner / drop-shadow / blur utilities. `initial` removes the
key, so those utilities can never compile — from any candidate
source, prose leakage included (defense in depth on top of the
@source scoping in theme.css). Scale keys remain: mockup-worn
vocabulary only, flagged the moment an implementation page wears
one (audit adjudication 1). — */
--shadow: initial;
--shadow-inner: initial;
--drop-shadow: initial;
--blur: initial;
}
/*