Theme management for TanStack Start apps. Light, dark and system themes with no flash of the wrong theme, system-preference tracking, and cross-tab sync.
packages/starter-themes— thestarter-themesnpm package. See its README for installation and full API docs.www— the showcase website, itself a TanStack Start app usingstarter-themes.
pnpm install
pnpm dev # build the package, then run the site in dev mode
pnpm build # build everything
pnpm check # oxlint + oxfmt --check
pnpm check:fix # autofix lint + formatting
pnpm typecheckVersioning is managed with changesets:
pnpm changeset # describe the change (after any user-facing package change)
pnpm release # bump versions + update CHANGELOG from pending changesets
pnpm pub:release # publish to npm (manual, from a maintainer machine)