@venator-ui/tokens
v0.1.3
Published
Design tokens for the Venator UI library
Readme
@venator-ui/tokens
Design tokens and Tailwind preset used internally by Venator UI.
Provides the foundation for colors, spacing, typography and layout across Venator components.
Installation
npm install @venator-ui/tokensUsage
Tailwind preset
// tailwind.config.js
const { venatorPreset } = require('@venator-ui/tokens');
module.exports = {
darkMode: 'class',
presets: [venatorPreset],
content: ['./src/**/*.{ts,tsx}'],
};Raw tokens
Use tokens directly if you want to extend or customize your design system.
import { colors, typography, borderRadius, shadows, breakpoints } from '@venator-ui/tokens';Tokens
colors— primary, neutral (with 950), success, warning, errortypography— fontFamily, fontSize, fontWeightborderRadius— sm, md, lg, fullshadows— sm, md, lgbreakpoints— sm, md, lg, xl, 2xl
