Issue Bug Closed

#109178Backend typography hierarchy improvement

Felix Kopp 03/06/26, 10:57 updated 11/09/26, 11:21

Description

Backend typography hierarchy improvement

Typography design is the art and science of combining typefaces to support the meaning of text-based content.
The backend typography lacks a distinct hierarchy since the semantic hierarchy is not reflected in the visual hierarchy.

Rule for headline factor:

Base to h2 with * ~1.17 factor.
H1 with * 1.4 factor.

Improve the type scaling in font size:

_.Entity _.Direction _.Delta px _.Before rem _.After rem _.Final px Font weight
root unchanged – 1 rem 1 rem = 16 px –
base increased +1 px .75rem .938rem = 15 px 400 normal
h4 increased +1.6 px .875rem .938rem = 15 px 800 heavy
h3 increased +1.6px 1rem 1.1rem = 17.6 px 400 normal
h2 unchanged – 1.25rem 1.25rem = 20 px 800 heavy
h1 increased +4 px 1.5rem 1.75rem = 28 px 800 heavy

As text

- root unchanged (with 1rem)
- base increased by +1 px from .75rem to .938rem = 15 px
- h4 increased by +1 px from .875rem to .938rem (same as base font size) = 15 px
- h3 increased by +1.6 px px from 1rem to 1.1rem = 17.6 px
- h2 unchanged with 1.25rem = 20 px
- h1 increased by +4 px from 1.5rem to 1.75rem = 28 px

Improve the type hierarchy in font weight:

- base unchanged normal / 400
- h4 800 / heavy, since same font size as base
- h3 400 / normal
- h2 800 / heavy
- h1 800 / heavy

Reviews 1

History 57

  1. Gerrit Code Review pushed patch set 1 for main to change 93104 status In Progress Under Review <span data-processor="relativetime" data-value="2026-03-06T11:00:23+00:00" > 03/06/26, 11:00 </span>