On this page

Typography

Most of what people do in Beehexa is read. Two typefaces and fourteen text styles keep it clear, in English and in Vietnamese.

Most of what people do in Beehexa is read: order numbers, statuses, error messages, settings. Clear type makes that reading fast and less tiring, in English and in Vietnamese.

Typefaces

Two typefaces cover everything: Inter for interface and reading text, JetBrains Mono for code.

Aa

InterInterface and reading text. Weights 400, 500, 600; 700 for display.Đồng bộ đơn hàng · Sync orders 0123456789

Aa

JetBrains MonoCode, IDs, API keys and token names. Weight 400.order_id: SO-10421 · 0O Il1

Why Inter:

  • Its tall x-height keeps small interface text legible.
  • It covers Vietnamese in full, the ₫ sign included.
  • It has OpenType features that tell look-alike characters apart, such as l, I and 1, which matters in a product full of order numbers and API keys.
  • It is open source under the SIL Open Font License, so it can be self-hosted and embedded.
  • It is the typeface of the Beehexa wordmark, so product text and logo belong to one family.

Inter has an optical size axis: from 32 px up it draws as Inter Display, with tighter spacing for headings. Browsers apply it on their own; leave font-optical-sizing at auto.

Text styles

Text is set with text styles, not loose sizes. Each style is one token that carries size, line height, weight and typeface together, named for its role. Fourteen styles in five groups cover every Beehexa product, document and page.

Display

font.display.large72/80 · 700
Sync everything

Marketing hero. Below 768 px, use display.small. Vietnamese: 72/108.

font.display.medium60/68 · 700
Sync everything

Marketing section opener. Below 768 px, use display.small. Vietnamese: 60/88.

font.display.small48/56 · 700
Sync everything

Marketing headline. Below 768 px, use heading.xlarge. Vietnamese: 48/72.

Heading

font.heading.xlarge32/40 · 600
Connect your first store

Large title: empty states, onboarding, docs and landing sections. Vietnamese: 32/48.

font.heading.large24/32 · 600
Orders

Page title, one per page. Vietnamese: 24/40.

font.heading.medium20/28 · 600
Sync settings

Section and dialog titles. Vietnamese: 20/32.

font.heading.small16/24 · 600
Online store → ERP

Card, panel and drawer titles. Vietnamese: same line height.

font.heading.xsmall14/20 · 600
Inventory

Group titles in forms, lists and menus; banner titles. Vietnamese: 14/24.

Body

font.body.large16/24 · 400
Orders from your online store are copied to the ERP every 5 minutes.

Reading text: descriptions, help, documents, email. Vietnamese: same line height.

font.body.default14/20 · 400
Last synced 2 minutes ago. 3 orders are waiting.

Default UI text: table cells, inputs, messages. Vietnamese: 14/24.

font.body.small12/16 · 400
Updated by Linh · 24/10/2026 09:41

Secondary text: helper text, meta, timestamps, tooltips. Vietnamese: 12/20.

Label

font.label.default14/20 · 500
Save changes

Buttons, form labels, tabs, menu and nav items. Vietnamese: 14/24.

font.label.small12/16 · 500
Synced

Badges, tags, small buttons, table headers. Vietnamese: 12/20.

Code

font.code.default14/20 · 400
order_id: SO-10421

Code blocks, IDs, keys, JSON. Same size as body.default: JetBrains Mono and Inter have the same x-height. Vietnamese: same line height.

  • Display is for marketing pages only. Product screens start at heading.xlarge.
  • Heading styles title pages, sections, cards and groups. Use one heading.large per page, as its title.
  • Body is for running text. body.default (14 px) is the default in product UI; body.large (16 px) is for text people read rather than scan.
  • Label is for text on or beside controls: buttons, form labels, tabs, menus, badges.
  • Code is for code, IDs and keys.

Weights

Weight Token Use
400 font.weight.regular Body text
500 font.weight.medium Labels
600 font.weight.semibold Headings
700 font.weight.bold Display only

Don’t go lighter than 400: thin strokes break up on small text. Bold body text is not a heading; for emphasis that matters to the meaning, use <strong> or <em>, so the meaning is in the text itself, not only in how it looks.

Letter spacing

Leave it at 0. Inter’s optical size axis already tightens large text, so headings need no negative tracking, and small text stays at its default spacing.

Line height

Line heights are part of each text style and sit on the 4 px grid: every one is a multiple of 4 px, so text lines up with spacing and components.

  • Body and label styles use 1.3–1.5 times the size (14/20, 12/16, 16/24), which leave room between lines of interface text without spreading a paragraph apart.
  • Headings tighten as they grow, to about 1.1–1.25 for display sizes, so large type stays one block.
  • Vietnamese text uses taller values; see Vietnamese.

In this section

Page What is in it
Usage The text style for each part of a screen, hierarchy, readability and long text.
Vietnamese Taller line heights that keep Vietnamese marks whole.
Code Font stacks, getting the fonts, OpenType features and the type tokens.