Moves , , and from to optional (kept as ), exactly mirroring the 0.2.0 treatment of the UI libs. As regular deps they nest under in pnpm's strict store and aren't resolvable when a consumer's typechecks a component source (, e.g. ); as peers they resolve from the consumer top level, unblocking clean component adoption. The package's own typecheck (passes), 93 tests (pass), and (only the pre-existing unrelated mismatch) all verify the change. Note: since these are optional peers, adopters now install whichever they actually use — for most components, for a11y/contrast, for icon data. 🤖 Generated with Claude Code
Reworks how handles a few cross-cutting concerns, surfaced while migrating a real app onto the design system. z-index is app-owned The preset ships no z-index scale (stacking is a whole-app concern) — apps define the named overlay layers (, , …) in their own UnoCSS . A new option (default on; or to opt out) blocks plain so usage stays semantic, while shortcut expansions are exempt (verified by tests). Added an option to retune built-in shortcuts with the highest precedence. Token-driven CSS via the directives transformer The shipped styles now recolor overlays/surfaces with token directives (, , …) instead of duplicated variables, so they require (wired into the dogfood configs and documented in setup, alongside a recommendation to add for the blocklist feedback loop). Packaging & DX (from dogfooding) The per-component UI libs the shipped source imports (, , , ) move to optional (+ devDeps), so a strict-pnpm consumer's can resolve them; // stay dependencies and is relaxed to . Dropped the unnecessary from docs/configs (UnoCSS's default scan already covers imported from ). Added (bordered square icon button) and (safe-area-inset padding) shortcuts. Hardening Enabled and fixed the resulting type errors across utils/unocss/tests. Tests, typecheck, lint, and idempotent token-doc generation all pass. 🤖 Generated with Claude Code
Repository: antfu/design. Description: Anthony's personal design system Stars: 36, Forks: 1. Primary language: TypeScript. Languages: TypeScript (63.6%), Vue (29.4%), MDX (4.1%), CSS (1.8%), JavaScript (1%). License: MIT. Open PRs: 0, open issues: 0. Last activity: 1d ago. Top contributors: antfu, antfubot.