/** * Typography - Foundation * Font families, sizes, weights, and composed styles * @generated 2025-12-10T21:48:22.318522 */ export default { title: 'Foundation/Typography', tags: ['autodocs'], parameters: { docs: { description: { component: 'Typography primitives and composed text styles.' } } } }; const styles = ` .typo-container { font-family: system-ui, sans-serif; } .section { margin-bottom: 3rem; } .section h2 { font-size: 1.25rem; border-bottom: 1px solid #e5e7eb; padding-bottom: 0.5rem; margin-bottom: 1rem; } .font-sample { margin-bottom: 1.5rem; } .sample-text { font-size: 1.5rem; margin-bottom: 0.25rem; } .meta { font-size: 0.75rem; font-family: monospace; } .meta .name { font-weight: 600; margin-right: 1rem; } .meta .value { color: #6b7280; } .size-grid, .weight-grid { display: flex; flex-wrap: wrap; gap: 1.5rem; } .size-sample, .weight-sample { text-align: center; min-width: 60px; } .size-sample .text { display: block; margin-bottom: 0.25rem; } .weight-sample .text { display: block; margin-bottom: 0.25rem; font-size: 1.5rem; } .name { font-size: 0.75rem; font-weight: 500; display: block; } .value { font-size: 0.65rem; color: #6b7280; font-family: monospace; } .props { color: #6b7280; font-family: monospace; } .style-sample { margin-bottom: 1rem; border-bottom: 1px solid #f3f4f6; padding-bottom: 1rem; } .style-sample .text { margin-bottom: 0.25rem; color: var(--color-foreground, #18181b); } `; export const FontFamilies = { render: () => `

Font Families

The quick brown fox jumps over the lazy dog
sans Inter, ui-sans-serif, system-ui, -apple-...
The quick brown fox jumps over the lazy dog
serif ui-serif, Georgia, Cambria, 'Times New R...
The quick brown fox jumps over the lazy dog
mono ui-monospace, SFMono-Regular, 'SF Mono',...
` }; export const FontSizes = { render: () => `

Font Sizes

Aa xs 0.75rem
Aa sm 0.875rem
Aa base 1rem
Aa lg 1.125rem
Aa xl 1.25rem
Aa 2xl 1.5rem
Aa 3xl 1.875rem
Aa 4xl 2.25rem
Aa 5xl 3rem
Aa 6xl 3.75rem
Aa 7xl 4.5rem
Aa 8xl 6rem
Aa 9xl 8rem
` }; export const FontWeights = { render: () => `

Font Weights

Aa thin 100
Aa extralight 200
Aa light 300
Aa normal 400
Aa medium 500
Aa semibold 600
Aa bold 700
Aa extrabold 800
Aa black 900
` }; export const TextStyles = { render: () => `

Composed Text Styles

The quick brown fox
heading-1 3rem / 700
The quick brown fox
heading-2 1.875rem / 600
The quick brown fox
heading-3 1.5rem / 600
The quick brown fox
heading-4 1.25rem / 600
The quick brown fox
paragraph-regular 1rem / 400
The quick brown fox
paragraph-bold 1rem / 500
The quick brown fox
paragraph-small-regular 0.875rem / 400
` };