Font Families

FontSlugRoleWeightsFile
LexendlexendBody text300–900assets/fonts/lexend.woff2
Lexend Decalexend-decaHeadings300–900assets/fonts/lexend-deca.woff2
JetBrains (JetBrains Mono)jetbrainsCode100–900assets/fonts/

Each family falls back to a system stack: Lexend to --wp--preset--font-family--sans-serif, Lexend Deca to Lexend, and JetBrains to --wp--preset--font-family--monospace. The system stacks come from the framework (aegis_system_fonts filter).

Font Loading Strategy

See Performance for more details on the font strategy.

Type Scale

Font-size slugs are the pixel size: 96, 88, … 8. Each size is a clamp() between a mobile minimum and the named maximum, so large sizes shrink on phones. theme.json sets defaultFontSizes to false, so the WordPress default sizes are not offered.

SlugMinMaxValueDefault use
9656px96pxclamp(56px,calc(39.43px + 4.420vw),96px)Display
8852px88pxclamp(52px,calc(37.08px + 3.978vw),88px)Display
8048px80pxclamp(48px,calc(34.74px + 3.536vw),80px)Display
7244px72pxclamp(44px,calc(32.40px + 3.094vw),72px)Display
6440px64pxclamp(40px,calc(30.06px + 2.652vw),64px)Display
6038px60pxclamp(38px,calc(28.88px + 2.431vw),60px)
5637px56pxclamp(37px,calc(29.13px + 2.099vw),56px)
5236px52pxclamp(36px,calc(29.37px + 1.768vw),52px)
4834px48pxclamp(34px,calc(28.20px + 1.547vw),48px)
4432px44pxclamp(32px,calc(27.03px + 1.326vw),44px)H1
4231px42pxclamp(31px,calc(26.44px + 1.215vw),42px)
4030px40pxclamp(30px,calc(25.86px + 1.105vw),40px)
3628px36pxclamp(28px,calc(24.69px + 0.884vw),36px)H2
3228px32pxclamp(28px,3.2vw,32px)H3
2824px28pxclamp(24px,2.8vw,28px)H4
2422px24pxclamp(22px,2.4vw,24px)H5
2220px22pxclamp(20px,2.2vw,22px)
2019px20pxclamp(19px,2vw,20px)H6
1817px18pxclamp(17px,1.8vw,18px)
1615px16pxclamp(15px,1.6vw,16px)Body text (root)
1514px15pxclamp(14px,calc(13.59px + 0.110vw),15px)
1413px14pxclamp(13px,1.4vw,14px)Buttons, code, captions
1312px13pxclamp(12px,calc(11.59px + 0.110vw),13px)
1211px12pxclamp(11px,1.2vw,12px)
1110px11pxclamp(10px,calc(9.59px + 0.110vw),11px)
109px10pxclamp(9px,1vw,10px)
87px8pxclamp(7px,0.8vw,8px)

The 56, 42, 15, 13, and 11 sizes were added in 1.0.1. The scale also includes an Inherit preset (inherit), which takes the parent’s size.

Fluid Typography Formula

Each fluid size interpolates linearly between its minimum and maximum:

Copied!
CSS
/* Example: the 44 size, used for H1 */font-size: clamp(32px, calc(27.03px + 1.326vw), 44px);

This ensures:

Font Weights

Font weights are custom tokens (settings.custom.fontWeight), output as --wp--custom--font-weight--{name}:

TokenWeight
thin100
extralight200
light300
normal400
medium500
semibold600
bold700
extrabold800
black900

Because all three fonts are variable, every weight in a font’s range renders from the same file.

Default Element Styling

Body Text

Headings

LevelSizeLine height
H14452
H23644
H33240
H42836
H52432
H62028

Code

Buttons and Captions

Using Typography in the Editor

Setting Font Size

Pick a size from the Aegis type scale.

  1. Select a text block (Paragraph, Heading, or similar).
  2. In the right sidebar, find the Typography section.
  3. Choose a size from the preset dropdown or enter a custom value.

Setting Font Family

Choose from the fonts bundled with the theme.

  1. Select a text block.
  2. In the Typography section, click the font family selector.
  3. Choose from Lexend, Lexend Deca, or JetBrains.

Setting Font Weight

  1. Select a text block.
  2. In the Typography section, click Appearance.
  3. Select the desired weight from the dropdown.

CSS Custom Properties

Copied!
CSS
/* Font families */var(--wp--preset--font-family--lexend)var(--wp--preset--font-family--lexend-deca)var(--wp--preset--font-family--jetbrains)/* Font sizes */var(--wp--preset--font-size--96) /* 56px–96px */var(--wp--preset--font-size--88) /* 52px–88px */var(--wp--preset--font-size--80) /* 48px–80px */var(--wp--preset--font-size--72) /* 44px–72px */var(--wp--preset--font-size--64) /* 40px–64px */var(--wp--preset--font-size--60) /* 38px–60px */var(--wp--preset--font-size--56) /* 37px–56px */var(--wp--preset--font-size--52) /* 36px–52px */var(--wp--preset--font-size--48) /* 34px–48px */var(--wp--preset--font-size--44) /* 32px–44px */var(--wp--preset--font-size--42) /* 31px–42px */var(--wp--preset--font-size--40) /* 30px–40px */var(--wp--preset--font-size--36) /* 28px–36px */var(--wp--preset--font-size--32) /* 28px–32px */var(--wp--preset--font-size--28) /* 24px–28px */var(--wp--preset--font-size--24) /* 22px–24px */var(--wp--preset--font-size--22) /* 20px–22px */var(--wp--preset--font-size--20) /* 19px–20px */var(--wp--preset--font-size--18) /* 17px–18px */var(--wp--preset--font-size--16) /* 15px–16px */var(--wp--preset--font-size--15) /* 14px–15px */var(--wp--preset--font-size--14) /* 13px–14px */var(--wp--preset--font-size--13) /* 12px–13px */var(--wp--preset--font-size--12) /* 11px–12px */var(--wp--preset--font-size--11) /* 10px–11px */var(--wp--preset--font-size--10) /* 9px–10px */var(--wp--preset--font-size--8) /* 7px–8px */var(--wp--preset--font-size--inherit)/* Font weights */var(--wp--custom--font-weight--normal) /* 400 */var(--wp--custom--font-weight--semibold) /* 600 */

In block markup, a preset size is written as "fontSize":"24", which adds the class has-24-font-size.

Global Typography Customization

To change typography settings site-wide:

  1. Open the Site Editor (Appearance → Editor).
  2. Click the Styles icon.
  3. Navigate to Typography.
  4. Configure settings for Text, Links, Headings, Captions, and Buttons.
  5. Save your changes.

See Global Styles for more customization details.

Next Steps