Skip to content

feat: brand-system cohesion — web-styles bundle, shared sync-tokens, lightbox buttons - #30

Merged
joeseverino merged 3 commits into
mainfrom
fix/lightbox-trigger-buttons
Jun 22, 2026
Merged

feat: brand-system cohesion — web-styles bundle, shared sync-tokens, lightbox buttons#30
joeseverino merged 3 commits into
mainfrom
fix/lightbox-trigger-buttons

Conversation

@joeseverino

Copy link
Copy Markdown
Owner

Brand-system cohesion work (System Cohesion backlog 1.1) plus the branch's existing site changes:

  • 1.1 — kill the two-stylesheet trap. brandVarsCss() (in src/lib/brand.mjs) now owns the brand custom-property CSS once; /brand.css (src/pages/brand.css.ts) emits it instead of re-deriving. New src/lib/web-styles.mjs exports previewStyles({baseCss,fontUrl}) — base.css + brand vars + Inter @font-face as one blob — so an embedder can't forget the brand vars (the dead --color-primary that cost a debugging session). Contract documented in docs/Brand-System.md. Output of /brand.css is byte-identical.
  • Existing branch commits: shared sync-tokens derivation from severino-brand/brand/sync.mjs, and real buttons for lightbox triggers.

npm run check (css lint + css-vars audit + astro check) green locally.

The read/splice/render primitives now live upstream and are shared with the
vault's Obsidian theme generator; bin/sync-tokens declares only its targets.
Verified byte-identical output (already in sync).
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying jseverino with  Cloudflare Pages  Cloudflare Pages

Latest commit: 30e77c1
Status: ✅  Deploy successful!
Preview URL: https://ce61ca5e.jseverino.pages.dev
Branch Preview URL: https://fix-lightbox-trigger-buttons.jseverino.pages.dev

View logs

@joeseverino joeseverino self-assigned this Jun 22, 2026
@joeseverino
joeseverino merged commit 3170f60 into main Jun 22, 2026
8 checks passed
@joeseverino
joeseverino deleted the fix/lightbox-trigger-buttons branch June 22, 2026 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant