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 values in engine

From your /dashboard on tapuz.io, open any project and click Manage tokens to launch the tapuz engine. Changes are saved automatically and take effect instantly. Undo/redo is available throughout the session, and the editor stays in sync in real time.

--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 values via editor

Open the editor locally from any project page by typing /?tapuz-edit OR via the project slot in your /dashboard in tapuz.io and go to the Typography tab. Change any values and watch the preview in real time (if you don't see a change, check that the element has the correct token). You can undo/redo any change. When you are ready, click Save to make your changes permanent. For online editing read here.

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