/** * Design System Overview * @generated 2025-12-12T07:15:27.637235 */ export default { title: 'Overview', tags: ['autodocs'], parameters: { docs: { description: { component: 'DSS Design System - Token documentation and component library' } } } }; const styles = ` .overview { max-width: 800px; font-family: system-ui, sans-serif; } .overview h1 { font-size: 2rem; margin-bottom: 0.5rem; } .overview .subtitle { color: #6b7280; margin-bottom: 2rem; } .overview h2 { font-size: 1.25rem; margin-top: 2rem; border-bottom: 1px solid #e5e7eb; padding-bottom: 0.5rem; } .overview ul { padding-left: 1.5rem; } .overview li { margin: 0.5rem 0; } .overview code { background: #f3f4f6; padding: 0.125rem 0.375rem; border-radius: 4px; font-size: 0.875rem; } .layer { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem; background: #f9fafb; border-radius: 8px; margin: 0.5rem 0; } .layer-num { width: 24px; height: 24px; background: #18181b; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 600; } .stats { display: flex; gap: 1rem; margin: 1rem 0; } .stat { background: #f9fafb; padding: 1rem; border-radius: 8px; text-align: center; } .stat-value { font-size: 2rem; font-weight: 700; color: #18181b; } .stat-label { font-size: 0.75rem; color: #6b7280; } `; export const Introduction = { render: () => `
Token-driven design system with 3-layer architecture
Import tokens CSS in your project:
import '.dss/data/_system/themes/tokens.css';
Use CSS variables in your styles:
color: var(--color-primary);
background: var(--color-background);