The typography system provides consistent text styling with variables to control size, spacing, and hierarchy.
The base typography variables define the fundamental text properties used throughout the project. These variables are inherited by the default Paragraph, Text elements, and Body tag.
A font family is applied to text elements through the variable. To update the font, make changes in the Variables panel.
Heading tags and classes use the same variables, making it easy to keep styles consistent and manage them in the variables panel.
Here’s an example of how variables are applied to the heading_h1 and All H1 Heading tag:
Each heading level has its own responsive variables for different breakpoints, following the same pattern.
For consistency across the site, Flowkit uses the subheading class to accompany headings. It works with any text element and automatically inherits its color, applying a transparent tint.
Similar to headings, All Paragraphs selector, text class, and its size variations properties are controlled through related text variables.
Available text sizes:
Headings and paragraphs have default bottom spacing applied via variables. For example, the heading_h1 and All H1 Heading use the variable H1 Margin Bottom The same pattern applies to paragraphs using Base Margin Bottom.
To override this spacing, use a margin utility class such as: margin-bottom_none
See the full list of margin utilities here.
Also check how to use utility classes to override the default behavior of typography classes:
h1 > h2 > h3 > p).h1 tag per page. If you need multiple visually styled H1s, apply the heading_h1 class instead.