From aec59d1c84acb775d4b0bf32162c0f596c81b4a1 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 16 Jul 2026 14:55:40 +0000 Subject: [PATCH 1/3] fix(demo): load full bundle so components render styled MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The demo showcases the complete API — 105 .sf-btn, 38 .sf-card and 51 .sf-surface-* usages, plus utilities — but linked dist/slashed.optimal.css, the lean bundle that deliberately excludes optional/components.css, optional/tokens.components.css and optional/utilities.css. As a result every .sf-btn--* variant (danger, primary, gradient, …) collapsed to the browser default button — identical grey boxes — and cards/surfaces/utilities were unstyled too. Point the demo at dist/slashed.full.css, which bundles the component and utility layers. Verified in headless Chromium: .sf-btn--danger now renders red, .sf-btn--primary blue, .sf-btn--success green, and .sf-card picks up the surface fill. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01Q3UL7qbysdtGPFpVMo6eiY --- demo/index.html | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/demo/index.html b/demo/index.html index 429f244c..9ca8a354 100644 --- a/demo/index.html +++ b/demo/index.html @@ -5,10 +5,14 @@ SLASHED — Demo - + and a local dev server. The demo showcases the complete API (components + + utilities), so it loads the FULL bundle — the OPTIMAL bundle omits + optional/components.css, optional/tokens.components.css and + optional/utilities.css, leaving .sf-btn / .sf-card / .sf-surface-* etc. + unstyled. For a standalone shareable demo, swap this for the jsDelivr + CDN link: + https://cdn.jsdelivr.net/gh/codeslash-dev/SLASHED@dist/slashed.full.css --> +