From 96132d9cfef513b417809baf45cb015d5d563e5a Mon Sep 17 00:00:00 2001 From: giles Date: Wed, 4 Mar 2026 10:00:54 +0000 Subject: [PATCH] Add Phase 2 SX styles plan to cssx.md Document the design for native s-expression style primitives (css :flex :gap-4 ...) to replace Tailwind CSS strings with first-class SX expressions. Covers style dictionary, resolver, delivery/caching (localStorage like components), server-side session tracking, and migration tooling. Co-Authored-By: Claude Opus 4.6 --- docs/cssx.md | 277 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 272 insertions(+), 5 deletions(-) diff --git a/docs/cssx.md b/docs/cssx.md index 3325aba..2423854 100644 --- a/docs/cssx.md +++ b/docs/cssx.md @@ -105,9 +105,276 @@ Call `load_css_registry()` in `setup_sx_bridge()` after loading components. 5. Inspect `` inline in response + `SX-Css-Hash` response header with updated cumulative hash +3. **Client accumulates**: `sx.js` extracts `