Generates a theming starter: a theme.css light/dark contract (token sets via
custom properties, switched by data-theme and prefers-color-scheme), a
<theme-toggle> component that flips data-theme and persists the choice, and
a demo page wiring them together. Pass { tokens } (from parseDesignTokens)
to seed the light :root set from a DTCG document.
Generates a theming starter: a
theme.csslight/dark contract (token sets via custom properties, switched bydata-themeandprefers-color-scheme), a<theme-toggle>component that flipsdata-themeand persists the choice, and a demo page wiring them together. Pass{ tokens }(fromparseDesignTokens) to seed the light:rootset from a DTCG document.