From 224c3f1bdefa63b4e0d6de6cc14d8467692f812c Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 30 Jun 2026 07:19:33 +0000 Subject: [PATCH 1/6] fix(demo): address F1/F2/F3/F4 audit findings from PR #455 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit F1: switch full-api-demo pages from slashed.optimal.css to slashed.full.css so all 691 tokens (including 6 btn/field component tokens) resolve correctly. F2: mark --sf-color-mark-text and --sf-color-selection-text with data-inherit in token tiles; refresh() now shows "inherit (contextual)" instead of "(empty)" so users understand these are fallback-only override hooks, not broken tokens. F3: document base family exception in llm-guide.md — the 50=Lightest/950=Darkest contract holds for the five mid-tone brand families but not for base (near-white source), which is a surface-elevation ramp; direct users to semantic aliases. F4: exclude classes with bundles:[] from demo tiles — theme-transition lives only in optional/theme-example.css (copy-and-customise, not shipped); its tile was inert and misleading. .sf-theme-transition (shipped in motion.css) remains. --- demos/full-api-demo-with-overrides.html | 14 +++++--------- demos/full-api-demo.html | 14 +++++--------- demos/generate.mjs | 16 ++++++++++------ docs/llm-guide.md | 2 ++ 4 files changed, 22 insertions(+), 24 deletions(-) diff --git a/demos/full-api-demo-with-overrides.html b/demos/full-api-demo-with-overrides.html index 1c113fd8..cbdfac71 100644 --- a/demos/full-api-demo-with-overrides.html +++ b/demos/full-api-demo-with-overrides.html @@ -4,7 +4,7 @@ SLASHED — Full API Demo (overridden) - +