tapuz
Tokens

Typography

Typography tokens control font families, sizes, and weights for headings and body text. Apply them as classes or reference them as CSS variables.

Use tokens in code

Single class
<h1 className="tpz-h-fmly">Page heading</h1>
Multiple classes
<h2 className="tpz-h-fmly tpz-h2-sz tpz-h2-wgt">
  Section heading
</h2>
Using CSS variables
<h3 style={{ fontFamily: "var(--tpz-heading-family)", fontSize: "var(--tpz-h3-size)" }}>
  Sub heading
</h3>
Group of vars as inline style
const headingStyle = {
  fontFamily: "var(--tpz-heading-family)",
  fontSize: "var(--tpz-h4-size)",
  fontWeight: "var(--tpz-h4-weight)",
};

<h4 style={headingStyle}>Card title</h4>

Change token values using the Engine

Every project has its own Tokens Engine. Changes are saved to draft automatically and take effect instantly. Use Publish Live to display the changes in the deployed site.
Read more about the engine

--tpz-heading-family
tpz-h-fmlyPoppinsHeading font
--tpz-h1-size
tpz-h1-sz
56 px
H1 font size
--tpz-h1-weight
tpz-h1-wgt600H1 font weight
--tpz-h2-size
tpz-h2-sz40pxH2 font size

Change token values using the Editor

In the editor, open the Typography panel to set font family, weight and size for body and headings texts. You can set a font family for all headings across your entire project by simply selecting it and clicking Publish. Read more about the editors here:Live Editor|Local Editor

https://yoursite.com
Open editor
Heading
Body
h1
36
px ▾
Poppins ▾
600 SemiBold
Heading

Full typography tokens

Class
Var
Heading Family
--tpz-heading-family
tpz-h-fmly

Headings (Google Fonts)

H1
--tpz-h1-size
tpz-h1-sz

H1 font size

--tpz-h1-weight
tpz-h1-wgt

H1 font weight

H2
--tpz-h2-size
tpz-h2-sz

H2 font size

--tpz-h2-weight
tpz-h2-wgt

H2 font weight

H3
--tpz-h3-size
tpz-h3-sz

H3 font size

--tpz-h3-weight
tpz-h3-wgt

H3 font weight

H4
--tpz-h4-size
tpz-h4-sz

H4 font size

--tpz-h4-weight
tpz-h4-wgt

H4 font weight

H5
--tpz-h5-size
tpz-h5-sz

H5 font size

--tpz-h5-weight
tpz-h5-wgt

H5 font weight

Body
--tpz-body-font-family
tpz-bdy-fmly

Body (Google Fonts)

--tpz-body-font-weight
tpz-bdy-wgt

Body font weight

--tpz-body-font-size
tpz-bdy-sz

Body font size