---
title: "Feature: Typography and text components"
manual: "Frontend Theme for Extension Development"
version: "main"
source: "Changelog/2.0/Feature-TypographyComponents.rst"
modified: "2026-09-17T04:52:50+00:00"
---

# Feature: Typography and text components

## Description

The typography of the theme covers what running text and rich text actually
contain, and the `/styleguide` page shows all of it.

-   **Display sizes**: `.theme-display` gains three sizes,
    `--1`, `--2` and `--3`. Two new design tokens carry the
    added ones, `--theme-font-size-display-1` and
    `--theme-font-size-display-3`.
-   **Element typography**, without a class: a secondary line in a heading,
    balanced headings and paragraphs without a lone last word, the defining
    instance of a term, key combinations, quotation marks per language,
    hyphenation of German text, long links that wrap, and captions and table
    cells that align to the start of the line in right-to-left text as well.
-   **List**, `.theme-list`: unstyled, inline, check marks, an icon per
    item, two or three columns, and divided rows.
-   **Description list**, `.theme-dl`: stacked, or terms and
    descriptions side by side with `--horizontal`, optionally with
    truncated terms.
-   **Figure**, `.theme-figure`: an image with a caption and a credit
    line, floated to either side of the running text.
-   **Code block**, `.theme-code`: a code block with its file name, which
    can be scrolled with the keyboard.
-   **Divider**, `.theme-divider`: a separator with a label, and a
    section break.
-   **Text and image in text**: the gallery of the text and image and the text
    and media elements now floats beside the text when its position is "In
    text", and keeps the text beside it for "In text, no wrap".
-   **Table**, `.theme-table`: striped rows or columns, a highlighted
    row under the pointer, column rules, no rules, compact cells, a header
    row that stays in view, a caption below the table, groups of rows and a
    totals row. The **Table class** of the table content element offers
    every one of them: the core's **Striped** and
    **Bordered**, and five more the theme adds through page TSconfig.

See [Components](../../Components/Index.html#components).

## Impact

Paragraphs may wrap differently wherever they occur, rich text included: the
browser now avoids a single word on the last line of a paragraph. German text
is hyphenated where it used to overflow or leave a gap. Table captions and
cells in a right-to-left page align to the right, as they should have before.

The gallery of a text and image or text and media element positioned "In text"
used to sit above the text; it now floats beside it on a viewport of the
medium breakpoint and wider. Every gallery item carries the additional class
`theme-figure`, and its caption `theme-figure__caption`.

A table content element with the default table class is no longer striped -
see [Important: Tables are no longer striped by default](Important-TablesNoLongerStripedByDefault.html#important-tables-no-longer-striped-by-default). A table with a
footer row shows it as a totals row.
