From 833d0235f919ecb72e8b118c1b6694445b2a83d5 Mon Sep 17 00:00:00 2001 From: Keysat Date: Thu, 18 Jun 2026 08:31:18 -0500 Subject: [PATCH] Reconcile DESIGN.md debt note: admin SPA can't @import (rust-embed) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The palette-consolidation task was dropped during the 2026-06-18 adjudication because the rust-embedded admin SPA can't @import at runtime, so consolidation there is a verbatim re-copy that removes no duplication. Update the ยง9 debt note accordingly and drop the now-stale ROADMAP pointer. --- design/DESIGN.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/design/DESIGN.md b/design/DESIGN.md index 2daf32d..092ff21 100644 --- a/design/DESIGN.md +++ b/design/DESIGN.md @@ -137,6 +137,9 @@ When building or changing a Keysat UI: icons, sentence-case labels, no emoji. - If a needed value genuinely isn't in the tokens, **add it to the tokens file** (and ideally `palette.css`) rather than inlining a one-off โ€” keep the contract the single source of truth. -- Known debt (see ROADMAP): the three surfaces currently inline their own copy of the - variables. Prefer importing `design/brand/palette.css`; when you touch a surface, move it - toward that shared source rather than perpetuating a private copy. +- Known debt: the three surfaces inline their own copy of the variables. For **landing and + docs** (static files) prefer importing `design/brand/palette.css` when you touch them. The + **admin SPA is rust-embedded and cannot `@import` at runtime**, so its copy stays inline by + necessity โ€” keep it a verbatim copy of `palette.css`, don't let it drift. (A blanket + "consolidate all three onto `palette.css`" task was adjudicated and **dropped** 2026-06-18 + for exactly this reason โ€” it can't remove the admin duplication it targets.)