Sorry, but you either have no stories or none are selected somehow.
If the problem persists, check the browser console, or the terminal you've run Storybook from.
Typography can help create clear hierarchies, organize information, and guide users through a product or experience.
Size | Web Component | CSS Class | Value |
---|---|---|---|
Heading 100 | size="h-100" | ab-typography--h-100 | 12px |
Heading 200 | size="h-200" | ab-typography--h-200 | 14px |
Heading 300 | size="h-300" | ab-typography--h-300 | 16px |
Heading 400 | size="h-400" | ab-typography--h-400 | 20px |
Heading 500 | size="h-500" | ab-typography--h-500 | 24px |
Heading 600 | size="h-600" | ab-typography--h-600 | 28px |
Heading 700 | size="h-700" | ab-typography--h-700 | 34px |
Heading 800 | size="h-800" | ab-typography--h-800 | 42px |
Heading 900 | size="h-900" | ab-typography--h-900 | 54px |
Size | Web Component | CSS Class | Value |
---|---|---|---|
Paragraph 200 | size="p-200" | ab-typography--p-200 | 10px |
Paragraph 300 | size="p-300" | ab-typography--p-300 | 12px |
Paragraph 400 | size="p-400" | ab-typography--p-400 | 14px |
Paragraph 500 | size="p-500" | ab-typography--p-500 | 16px |
Paragraph 600 | size="p-600" | ab-typography--p-600 | 18px |
Typography is available in white, black color, as well as other colors such as primary, secondary, ui, active, warning, positive, data-gold, data-lime, data-magenta, data-aqua in values 100, 200, 300, 400, 500, 600, 700, 800, 900.
Variables represents the vaule of typography inside the implemetation of design system. Variables can be used to inside custom css.
Size | Variable | Value |
---|---|---|
Heading 100 | --ab-heading-100 | 12px |
Heading 200 | --ab-heading-200 | 14px |
Heading 300 | --ab-heading-300 | 16px |
Heading 400 | --ab-heading-400 | 20px |
Heading 500 | --ab-heading-500 | 24px |
Heading 600 | --ab-heading-600 | 28px |
Heading 700 | --ab-heading-700 | 34px |
Heading 800 | --ab-heading-800 | 42px |
Heading 900 | --ab-heading-900 | 54px |
Size | Variable | Value |
---|---|---|
Paragraph 200 | --ab-paragraph-200 | 10px |
Paragraph 300 | --ab-paragraph-300 | 12px |
Paragraph 400 | --ab-paragraph-400 | 14px |
Paragraph 500 | --ab-paragraph-500 | 16px |
Paragraph 600 | --ab-paragraph-600 | 18px |
The typography variables can be applied to like this: