February 15, 20260.1.25Jugg.ai
v0.1.25 — feat: add brand color placeholders to template globals.css
Release v0.1.25: Brand Color Placeholders in Template CSS
February 15, 2026
What changed
- Brand-aware template CSS: The template
globals.cssnow uses{{BRAND_PRIMARY}},{{BRAND_SECONDARY}},{{BRAND_ACCENT}},{{BRAND_BACKGROUND}}, and{{BRAND_TEXT}}placeholders, replaced at bootstrap time with each customer's brand colors (or sensible defaults like#3b82f6). - Design token propagation: Brand colors flow through
--primary,--ring,--sidebar-primary,--chart-1/2/3,--accent, and--secondarytokens in both light and dark modes. - Tailwind integration:
brand-primary,brand-secondary, andbrand-accentare registered in the@theme inlineblock for use as Tailwind utility classes. - New
buildTemplateVars()utility: Template variable construction is extracted into a tested, exported function. - Bug fix: Corrected an off-by-one error in
decrypt()buffer length validation. - Test coverage: New test suite for
replacePlaceholdersandbuildTemplateVarsincluding edge cases and integration tests.
Why it matters
Every generated app now ships with the customer's exact brand colors applied across the entire design system — no manual CSS edits needed after bootstrap.
Technical notes
replacePlaceholdersandbuildTemplateVarsare now exported frombootstrap.tsfor testability.- Colors are sourced from
project.brandingConfig.colorswith fallback defaults.
Release Notes
Successfully merged PR #76 and published release v0.1.25.
PR #76: "feat: add brand color placeholders to template globals.css"
- Squash merged to main (SHA: 7e500f4c1ae08bfe97de8f0eac9fe31d7f22bb98)
Release v0.1.25 — Brand Color Placeholders in Template Bootstrap
- Tag: v0.1.25
- URL: https://github.com/Jugg-ai/Jugg-ai.jugg-ai/releases/tag/v0.1.25
Key changes released:
- Brand-aware template CSS with
--brand-primary,--brand-secondary,--brand-accentcustom properties and full design token propagation - New
buildTemplateVars()utility in the bootstrap pipeline with 5 brand color variables (with sensible defaults) - Tailwind CSS integration via
@theme inlineblock registration - Bug fix for off-by-one error in
decrypt()buffer length validation - Comprehensive test coverage for placeholder replacement and template variable building