From 651ba1e2138bb2643b12d6a3bb7f693f1785c134 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 12 Jul 2026 22:52:27 -0500 Subject: refactor(gallery): move widget CSS into GW_CSS in widgets.js Widget-internal rules and the pulse/flipdrop keyframes now inject via ensureCss, so widgets.js consumers get styling without the gallery stylesheet. The page-side reelspin injector became a plain GW_CSS rule. The gallery keeps page furniture, option-chip capsules, tokens, and the reduced-motion guard. --- docs/prototypes/widgets.js | 504 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 503 insertions(+), 1 deletion(-) (limited to 'docs/prototypes/widgets.js') diff --git a/docs/prototypes/widgets.js b/docs/prototypes/widgets.js index 2c57935..72bb107 100644 --- a/docs/prototypes/widgets.js +++ b/docs/prototypes/widgets.js @@ -3782,7 +3782,509 @@ GW.blinkenlights = function (host, opts = {}) { }; /* ---- widget CSS: injected once, grows as builders move in ---- */ -const GW_CSS = ``; +/* widget-internal CSS (moved from the gallery