fundamentals
Typography
Maintain consistent typography styles and sizes
Using a pre-defined set of styles reduces guesswork, typography is automatically scaled via various device sizes an H1, H2 on desktop will automatically adjust its size on tablets and mobile devices both in design and development using variable modes & predefined css.
Text Playground
Heading Font Specs
Body Font Specs
Changing Font Family
By default, the design system uses the Inter font for body and Geist for headings. To change the font family globally, you can override the CSS variable --body-font and --heading-font in your global styles or theme configuration.
If you are using Next Js, you can also use the next/font package to load custom fonts. In Vite or other setups, you can import fonts directly in your CSS from Google
Fonts.
globals.css