# Start Storybook
npm run storybook
# Build for production
npm run build-storybookmain.ts- Main Storybook configuration (stories, addons, vite)preview.tsx- Global decorators & design system integrationmanager.ts- UI customization & LSX branding
Stories are ONLY loaded from:
/src/app/components/blocks/**/*.stories.tsx
This excludes:
- ❌ Template files
- ❌ Pattern files
- ❌ Part files
All CSS variables and fonts are automatically available:
// CSS Variables
var(--background)
var(--foreground)
var(--primary)
var(--text-base)
var(--radius)
// Fonts
font-family: 'Lexend, sans-serif' // UI/headings
font-family: 'Manrope, sans-serif' // Body textClick the theme icon in the toolbar to switch between:
- ☀️ Light theme (
light-themeclass) - 🌙 Dark theme (
dark-themeclass)
Every story is automatically tested for WCAG 2.1 AA compliance.
Check the "Accessibility" tab in each story.
rm -rf node_modules/.cache/storybook
rm -rf .storybook/.cacherm -rf node_modules
npm installSee /STORYBOOK-ERRORS-FIXED.md for detailed troubleshooting guide.
LSX Design System - World-class component library 🏆