toucan build

Compile the active DTCG tokens and responsive templates into local CSS.

bash
pnpm exec toucan build

Options

text
--tokens <path>   Custom token directory
--out <path>      Toucan output directory
--components <x>  Comma-separated component CSS names
--reset           Include reset CSS
--help, -h        Show command help

Output

The command writes <outDir>/_toucan/styles/toucan.css. Import that file once from your application's global stylesheet. Rebuild after token or breakpoint changes; component source does not need to be ejected again.