@boeet/next-tokens
v0.2.0
Published
Design tokens extracted from `design.md` and the Lanhu export.
Readme
@boeet/next-tokens
Design tokens extracted from design.md and the Lanhu export.
Use the TypeScript exports for token documentation and styles.css for CSS
variables consumed by Tailwind/shadcn components.
Install
npm install @boeet/next-tokensImport the CSS variables once in the consumer app:
@import "@boeet/next-tokens/styles.css";Use the TypeScript exports when a generated page or design-system document needs token metadata:
import {
brandTokens,
radiusTokens,
shadowTokens,
typographyScale,
} from "@boeet/next-tokens"