This repo contains the WHDS design-system packages and the local apps used to develop them.
@keys2design/whds-ui: React components and the generated WHDS theme CSS consumers import viaglobals.css
npm install @keys2design/whds-ui react react-domimport "@keys2design/whds-ui/globals.css"
import { Button } from "@keys2design/whds-ui"The exported @keys2design/whds-ui/globals.css already includes the WHDS theme, so consumers do not need to install the preset separately.
Before publishing, bump the version for:
packages/ui/package.json
Useful release commands:
pnpm release:verify
pnpm release:pack
pnpm publish:packagesThe release build now generates the theme directly from source in packages/ui, and only @keys2design/whds-ui needs to be published. The current publish flow uses --access public.