@clarityos/tokens
v0.2.0
Published
Generated design tokens for the Clarity OS design system.
Readme
@clarityos/tokens
Generated design tokens for the Clarity OS design system.
Start Here
For the full consumer setup, theme contract, and agent instructions, use docs/consumer/CONSUMER_SETUP.md.
Install
npm install @clarityos/tokensUsage
@import "@clarityos/tokens/tokens.css";import tokens from "@clarityos/tokens/tokens.json";Notes
- Import
tokens.cssexactly once in the app shell. - The documented root theme values today are
lightanddark. - Consumer apps are expected to set
data-themeon the root<html>element.
