Skip to content

Typography Tokens

The following tokens centralize all font-related details: family, size, weight, and height. By unifying text styles across headings, paragraphs, and other typographic elements, this set of tokens ensures a seamless and readable user experience.

Font Family

JS UsageCSS TokenValue
tokens.typography.["font-family"]}--tapsi-typography-font-family"Vazirmatn", sans-serif

Body Tokens

Extra Small

JS UsageCSS TokenValue
tokens.typography.body.xs.font--tapsi-typography-body-xs-fontvar(--tapsi-typography-font-family)
tokens.typography.body.xs.size--tapsi-typography-body-xs-size0.75rem
tokens.typography.body.xs.height--tapsi-typography-body-xs-height1.6666666667
tokens.typography.body.xs.weight--tapsi-typography-body-xs-weight400

Small

JS UsageCSS TokenValue
tokens.typography.body.sm.font--tapsi-typography-body-sm-fontvar(--tapsi-typography-font-family)
tokens.typography.body.sm.size--tapsi-typography-body-sm-size0.875rem
tokens.typography.body.sm.height--tapsi-typography-body-sm-height1.7142857143
tokens.typography.body.sm.weight--tapsi-typography-body-sm-weight400

Medium

JS UsageCSS TokenValue
tokens.typography.body.md.font--tapsi-typography-body-md-fontvar(--tapsi-typography-font-family)
tokens.typography.body.md.size--tapsi-typography-body-md-size1rem
tokens.typography.body.md.height--tapsi-typography-body-md-height1.75
tokens.typography.body.md.weight--tapsi-typography-body-md-weight400

Large

JS UsageCSS TokenValue
tokens.typography.body.lg.font--tapsi-typography-body-lg-fontvar(--tapsi-typography-font-family)
tokens.typography.body.lg.size--tapsi-typography-body-lg-size1.125rem
tokens.typography.body.lg.height--tapsi-typography-body-lg-height1.7777777778
tokens.typography.body.lg.weight--tapsi-typography-body-lg-weight400

Label Tokens

2x Small

JS UsageCSS TokenValue
tokens.typography.label.xxs.font--tapsi-typography-label-xxs-fontvar(--tapsi-typography-font-family)
tokens.typography.label.xxs.size--tapsi-typography-label-xxs-size0.625rem
tokens.typography.label.xxs.height--tapsi-typography-label-xxs-height1.6
tokens.typography.label.xxs.weight--tapsi-typography-label-xxs-weight500

Extra Small

JS UsageCSS TokenValue
tokens.typography.label.xs.font--tapsi-typography-label-xs-fontvar(--tapsi-typography-font-family)
tokens.typography.label.xs.size--tapsi-typography-label-xs-size0.75rem
tokens.typography.label.xs.height--tapsi-typography-label-xs-height2
tokens.typography.label.xs.weight--tapsi-typography-label-xs-weight500

Small

JS UsageCSS TokenValue
tokens.typography.label.sm.font--tapsi-typography-label-sm-fontvar(--tapsi-typography-font-family)
tokens.typography.label.sm.size--tapsi-typography-label-sm-size0.875rem
tokens.typography.label.sm.height--tapsi-typography-label-sm-height1.7142857143
tokens.typography.label.sm.weight--tapsi-typography-label-sm-weight500

Medium

JS UsageCSS TokenValue
tokens.typography.label.md.font--tapsi-typography-label-md-fontvar(--tapsi-typography-font-family)
tokens.typography.label.md.size--tapsi-typography-label-md-size1rem
tokens.typography.label.md.height--tapsi-typography-label-md-height1.75
tokens.typography.label.md.weight--tapsi-typography-label-md-weight500

Large

JS UsageCSS TokenValue
tokens.typography.label.lg.font--tapsi-typography-label-lg-fontvar(--tapsi-typography-font-family)
tokens.typography.label.lg.size--tapsi-typography-label-lg-size1.125rem
tokens.typography.label.lg.height--tapsi-typography-label-lg-height1.7777777778
tokens.typography.label.lg.weight--tapsi-typography-label-lg-weight500

Headline Tokens

Extra Small

JS UsageCSS TokenValue
tokens.typography.headline.xs.font--tapsi-typography-headline-xs-fontvar(--tapsi-typography-font-family)
tokens.typography.headline.xs.size--tapsi-typography-headline-xs-size1rem
tokens.typography.headline.xs.height--tapsi-typography-headline-xs-height1.5
tokens.typography.headline.xs.weight--tapsi-typography-headline-xs-weight600

Small

JS UsageCSS TokenValue
tokens.typography.headline.sm.font--tapsi-typography-headline-sm-fontvar(--tapsi-typography-font-family)
tokens.typography.headline.sm.size--tapsi-typography-headline-sm-size1.25rem
tokens.typography.headline.sm.height--tapsi-typography-headline-sm-height1.5
tokens.typography.headline.sm.weight--tapsi-typography-headline-sm-weight600

Medium

JS UsageCSS TokenValue
tokens.typography.headline.md.font--tapsi-typography-headline-md-fontvar(--tapsi-typography-font-family)
tokens.typography.headline.md.size--tapsi-typography-headline-md-size1.5rem
tokens.typography.headline.md.height--tapsi-typography-headline-md-height1.5
tokens.typography.headline.md.weight--tapsi-typography-headline-md-weight600

Large

JS UsageCSS TokenValue
tokens.typography.headline.lg.font--tapsi-typography-headline-lg-fontvar(--tapsi-typography-font-family)
tokens.typography.headline.lg.size--tapsi-typography-headline-lg-size1.75rem
tokens.typography.headline.lg.height--tapsi-typography-headline-lg-height1.5
tokens.typography.headline.lg.weight--tapsi-typography-headline-lg-weight600

Display Tokens

Small

JS UsageCSS TokenValue
tokens.typography.display.sm.font--tapsi-typography-display-sm-fontvar(--tapsi-typography-font-family)
tokens.typography.display.sm.size--tapsi-typography-display-sm-size2rem
tokens.typography.display.sm.height--tapsi-typography-display-sm-height1.5
tokens.typography.display.sm.weight--tapsi-typography-display-sm-weight600

Medium

JS UsageCSS TokenValue
tokens.typography.display.md.font--tapsi-typography-display-md-fontvar(--tapsi-typography-font-family)
tokens.typography.display.md.size--tapsi-typography-display-md-size2.5rem
tokens.typography.display.md.height--tapsi-typography-display-md-height1.5
tokens.typography.display.md.weight--tapsi-typography-display-md-weight600

Large

JS UsageCSS TokenValue
tokens.typography.display.lg.font--tapsi-typography-display-lg-fontvar(--tapsi-typography-font-family)
tokens.typography.display.lg.size--tapsi-typography-display-lg-size3rem
tokens.typography.display.lg.height--tapsi-typography-display-lg-height1.5
tokens.typography.display.lg.weight--tapsi-typography-display-lg-weight600