@vendure-io/design-tokens
v1.0.2
Published
Design tokens and Tailwind v4 CSS theme for the Vendure design system
Downloads
377
Readme
@vendure-io/design-tokens
Design tokens and Tailwind v4 CSS theme for the Vendure design system.
Install
npm install @vendure-io/design-tokensExports
| Export | Description |
|--------|-------------|
| @vendure-io/design-tokens | TypeScript token definitions (colors, typography, radii, shadows, motion) |
| @vendure-io/design-tokens/css/variables | Raw CSS custom properties |
| @vendure-io/design-tokens/css/theme | Full Tailwind v4 theme CSS (recommended for apps) |
Usage
Import the theme CSS in your app's global stylesheet:
@import "@vendure-io/design-tokens/css/theme";Or use the TypeScript tokens directly:
import { colors, typography } from "@vendure-io/design-tokens";License
See LICENSE.md for details.
