v1.8.2
Two 1.8 changes that ignored 1.7 overrides are fixed, so label, body and cookie switch colours follow your own variables again.
On this page
HighlightsLink to this section
1.8.2 is a patch release. It fixes two places where 1.8 ignored overrides that a 1.7 site relied on. With no override set, nothing looks different.
Label and body colours honour your overridesLink to this section
The color-label and color-body classes read a site's --color-typography-label and --color-typography-body variables again. They fall back to the 1.8 names, --color-typography-meta and --color-typography-copy, when the old ones are not set. A site that set the old names in 1.7 gets its colours back (#762).
Cookie banner switch colours work in their own scopeLink to this section
The cookie banner's switch read its colours from :root. A switch colour set inside the banner's own scope never reached the switch. The banner now reads the form switch colours in its own scope, so context-dependent form switch colours work again (#762).
Both changes are explained, with the one known trade-off, in the upgrade note: Overrides that changed meaning in 1.8.
UpgradeLink to this section
pnpm add -g @systhemaui/cli@latest
cd <your-project>
systhema upgrade --dry-run
systhema upgrade --yesThis release runs no codemods and changes no tokens. Read the upgrade note if your site sets a label, body or cookie switch colour override.
Breaking & Behavioral ChangesLink to this section
None.
Fixes & Internal ImprovementsLink to this section
Bug FixesLink to this section
- Label and body colour overrides count again.
color-labelandcolor-bodyread the 1.7 variables before the 1.8 ones (#762) - Cookie banner switch colours follow the banner's scope. The switch colour aliases are no longer emitted on
:root(#762)
List of all changesLink to this section
Bug fixesLink to this section
coreLink to this section
- fix(core): honour 1.7 overrides of label, body and switch colours (#762) (c3754a836)