@mfe-forge/design
v8.1.0
Published
Design system utilities for MFE Forge
Readme
@mfe-forge/design
Design system utilities and tokens for MFE Forge
Part of the MFE Forge framework.
Features
- Design Tokens: Centralized theme tokens (colors, spacing, typography)
- Token Manager: Apply tokens to the DOM as CSS variables
- Tailwind Integration: Pre-configured Tailwind theme based on tokens
Installation
npm install @mfe-forge/design
# or
bun add @mfe-forge/designUsage
Applying Tokens
import { applyTokens } from '@mfe-forge/design'
// Apply tokens to document root
applyTokens(document.documentElement)Accessing Tokens
import { tokens } from '@mfe-forge/design'
console.log(tokens.colors.primary)License
MIT
