Skip to content
On this page In short

Changelog · latest

@codeatlasdev/ui 2.1.0

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

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

In short

  1. Theme: port a palette by role and pick the page paper, without raw... Theme: port a palette by role and pick the page paper, without raw `--ca-*` overrides.

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

### Minor Changes

- 62d18f8: Theme: port a palette by role and pick the page paper, without raw `--ca-*` overrides.
  
  - `PresetDefinition.colors: { light?, dark? }` takes role colors (`brand`, `background`, `sunken`, `surface`, `overlay`, `text*`, `border*`, `success`/`warning`/`info`/`error`). A per-scheme `brand` regenerates that scheme's brand ramp; `background` also drives `<meta name="theme-color">`. Scoped to the preset, so islands and preset switching keep working.
  - `paper: "mesh" | "plain" | "grid" | "dots" | "lines"` replaces the brand glow mesh with flat paper drawn in `--ca-outline-subtle`.
  - New `sketchbook` design style: journal on grid paper, serif display, square outlined cards with hard shadows.
  - Opt-in `@codeatlasdev/ui/styles/marks.css`: hand-drawn `.ca-mark-underline` and `.ca-mark-note` (arrow), painted with `--ca-mark-color`.
  - `@codeatlasdev/ui/astro` re-exports `designStyle`, `DESIGN_STYLES` and `mergeTheme`, so `astro.config` can use a recipe.