Changelog · latest
@codeatlasdev/ui 2.3.1
1 changes. This release has no written post; the list below is generated from the changelog.
In short
- Theme islands: a data-theme-scope inside a data-preset island n... Theme islands: a `data-theme-scope` inside a `data-preset` island now takes that island's preset instead of the page's.
Upgrade
Published under the latest dist-tag.
bun
npm
pnpm
yarn
Then run your checks. Moving between majors? bunx @codeatlasdev/ui migrate --from <major> --to <major> lists what to change, and agents get the same data from the MCP tool get_migration. The migration notes per major are inUpgrading.
Changesets
### Patch Changes - 3280fc2: Theme islands: a `data-theme-scope` inside a `data-preset` island now takes that island's preset instead of the page's. Before, the page preset's rule also matched the scope, so a brand preset on `<html>` (unlayered) always won, and between two built-ins the one emitted later in `global.css` won. The landing hero demo ignored its preset swatches because of this (#87). Bundle budget: `styles/global.css` +122 B gzip (limit raised from 12800 to 12900 B). Each preset's scope selectors (light, dark and their `prefers-contrast: more` copies) now carry the nearer-island exclusion; `core.css` stays within its limit.