Skip to content

ManpowerHub theme

Install the ManpowerHub v3 design tokens and shadcn theme for emerald brand and dark surfaces.

The ManpowerHub v3 theme adds product tokens (--brand, --surface-*, status colors) and maps them to shadcn semantic variables (--primary, --background, etc.). Install it once per app before adding WoxCN components.

pnpm dlx shadcn@latest add @woxcn/manpowerhub-theme

Or use the full registry URL:

pnpm dlx shadcn@latest add http://localhost:4321/r/manpowerhub-theme.json

In your app’s components.json:

{
"registries": {
"@woxcn": "https://YOUR_REGISTRY_HOST/r/{name}.json"
}
}
  1. Import the theme CSS in your global stylesheet (if the CLI did not merge automatically):
@import "./styles/manpowerhub-tokens.css";
@import "./styles/manpowerhub-shadcn.css";
  1. Install Geist (included as a theme dependency):
pnpm add @fontsource/geist-sans
  1. In index.css, import the font and theme files alongside Tailwind:
@import "tailwindcss";
@import "@fontsource/geist-sans";
@import "./styles/manpowerhub-tokens.css";
@import "./styles/manpowerhub-shadcn.css";
  • Dark (default): matches ManpowerHub :root — use class="dark" on <html> or Starlight data-theme="dark".
  • Light: add data-theme="light" or class lm on a parent element.

Each feature app under apps/manpower/* must install the theme separately. The MFE shell in services/microfrontend/manpower uses its own CSS; align shell variables with --brand and --surface-1 for a unified look.

See instruction.md in the repo for the full MFE + registry architecture guide.