@ui-organized/tokens
v2.0.0
Published
Design tokens for the ui-organized design system: typed exports plus generated CSS custom properties, built with Style Dictionary.
Maintainers
Readme
@ui-organized/tokens
Design tokens for the ui-organized design system. Ships both typed JavaScript/TypeScript exports and a generated CSS custom-properties file, built from DTCG source tokens with Style Dictionary.
Install
npm install @ui-organized/tokensUsage
Import the generated CSS variables once at your app root:
import "@ui-organized/tokens/variables.css";Or consume the typed token values and the build pipeline directly:
import { transformConfig, buildCss } from "@ui-organized/tokens";To regenerate output/variables.css from the DTCG source files:
pnpm build:tokensLicense
Apache-2.0
