Typography
Headings
Use .h1 – .h4 class to change an elements font size and weight to match Miro heading styles. It is also normalizing each one of them.
Paragraph
Use .p-large,.p-medium or .p-small to change an elements font size and weight to match Miro paragraph styles.
Fonts
To override fonts, you can use var(--header-font) for headers, and var(--body-font) for other texts.
css
--header-font: 'Open Sans', -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif,
Apple Color Emoji, Segoe UI Emoji;
--body-font: 'Open Sans', -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji,
Segoe UI Emoji;Font weight
We have 4 supported font-weights. You shouldn't have to use them when using the classes mentioned above.
html
--font-weight-normal: 400;
--font-weight-medium: 500;
--font-weight-bold: 600;
--font-weight-black: 800;