@conductor-by-89soone/tokens
v0.1.0
Published
Theme-aware design tokens and validation CLIs for Conductor.
Readme
@conductor-by-89soone/tokens
Theme-aware design tokens and validation CLIs for the Conductor Design System. Dark is the canonical theme; light uses the same semantic keys.
Install
pnpm add @conductor-by-89soone/tokensUse
import { breakpoints, tokens } from "@conductor-by-89soone/tokens";
console.log(tokens.surface.raised);
console.log(breakpoints.md);Import the generated custom properties directly when React components are not needed:
@import "@conductor-by-89soone/tokens/tokens.css";The package also exports tokens.json, contrast-report.json, and three executables:
conductor-build-tokens
conductor-check-contrast
conductor-lint-tokens <paths...>src/tokens.ts and src/breakpoints.ts are generated during the repository build; edit the token source files instead.
Requirements
Node.js 20 or newer.
License
MIT
