fix(01-design-tokens-rams-foundation): WR-01 scope @source to mockup files + disable deprecated bare shadow/blur keys
This commit is contained in:
+17
-5
@@ -16,12 +16,24 @@
|
||||
|
||||
/*
|
||||
* Class candidates (D-02, D-06): the four mockup screens are the
|
||||
* read-only vocabulary reference — their markup is scanned so every
|
||||
* mockup class compiles from this package; the mockup files themselves
|
||||
* are never edited. Family utilities are safelisted explicitly because
|
||||
* the mockups address fonts through their inline config instead.
|
||||
* read-only vocabulary reference — their markup files are scanned so
|
||||
* every mockup class compiles from this package; the mockup files
|
||||
* themselves are never edited. Family utilities are safelisted
|
||||
* explicitly because the mockups address fonts through their inline
|
||||
* config instead.
|
||||
*
|
||||
* Source scope is deliberately narrow (WR-01): ONLY the four mockup
|
||||
* markup files are explicit sources, and the theme toolchain's own
|
||||
* text (scripts/, basemap/) is excluded from the auto-scan — prose
|
||||
* must never mint utility classes (the bare `shadow`/`blur`/`rounded`
|
||||
* strays previously compiled from design-doc and audit prose).
|
||||
*/
|
||||
@source "../../stitch_minimalist_route_navigator";
|
||||
@source "../../stitch_minimalist_route_navigator/active_route_guidance/code.html";
|
||||
@source "../../stitch_minimalist_route_navigator/community_incident_reporter/code.html";
|
||||
@source "../../stitch_minimalist_route_navigator/navigate_map_overview/code.html";
|
||||
@source "../../stitch_minimalist_route_navigator/telegram_live_traffic_feed/code.html";
|
||||
@source not "../scripts";
|
||||
@source not "../basemap";
|
||||
@source inline("font-geist");
|
||||
@source inline("font-space-grotesk");
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user