Skip to content
On this page In short

Changelog · latest

@codeatlasdev/ui 2.3.1

1 changes. This release has no written post; the list below is generated from the changelog.

Release 2.3.1Three sketchbook pages stacked and slightly fanned, the front one tabbed with the version number and shaded with pencil hatching in the corner.2.3.1

In short

  1. 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
bash
bun add @codeatlasdev/[email protected]
npm
bash
npm install @codeatlasdev/[email protected]
pnpm
bash
pnpm add @codeatlasdev/[email protected]
yarn
bash
yarn add @codeatlasdev/[email protected]

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.