@rookcom/monarch-tokens
v0.5.2
Published
Monarch design tokens: CSS variables, light, dark and high-contrast themes, accessible brand palettes from one colour, and a Tailwind preset. Framework-independent.
Maintainers
Readme
@rookcom/monarch-tokens
The foundation of Monarch, an open-source design system for everyone who
builds. Colour, type, spacing, radius, elevation and motion as CSS variables,
with light, dark and high-contrast themes. Bring one brand colour and
deriveTheme builds a palette that meets WCAG 2.2 AA contrast in every theme.
Works with any framework.
Exports: ./css (all themes),
./css/base, ./css/compat (legacy shadcn names, deprecated),
./css/products/<id>, ./tailwind (Tailwind 3 preset), ./appearance
(pre-paint boot script), ./tokens.json, ./contrast-report.json, and a TS
API (themes, resolveTheme, contrast, brand, products).
Docs: ../../docs/guides/theming.md
License
MIT © 2026 Rook Platforms. The Rook name and logos are trademarks of Rook Platforms and are not covered by this license.
