Skip to content

Typography

Typography is a foundational element of the OS Design System. Consistent use of font families, sizes, and weights ensures readability, visual hierarchy, and accessibility across all enaio® and yuuvis® products.

FontFallback stack
enaio®PoppinsArial, Helvetica, sans-serif
yuuvis®Mulish(to be documented in shell documentation)

Both product lines use two weights:

$font-weight-normal: 400;
$font-weight-bold: 700;

The base font size is 14px = 1rem. All sizes are defined in REM.

TokenpxremLine heightHTML tagSemantic roleenaio®yuuvis®
$font-h125px1.786rem1.2H1Primary headline, one per viewOne per loadable view / URL route; modal dialog header titlePrimary headline in the app, in modal dialogs, or per panel when no standalone headline exists
$font-h222px1.571rem1.2H2Secondary headlineNot currently usedMain section headlines
$font-h320px1.429rem1.2H3Tertiary headlineNot currently usedNot currently used
$font-h418px1.286rem1.2H4Quaternary headlineHeadings for smaller components or sections, e.g., cards, quicksearch panelsCard headlines, e.g., inside modal windows
$font-body-large16px1.143rem1.4buttonEmphasized body / interactive labelsExpandable section labels, panel subtitles, button labels, dropdownsSmall titles and intermediate headings for visual variation
$font-body14px1.000rem1.4p, span, labelDefault body textForm labels, details viewer, general UI textDefault body and running text throughout the application
$font-hint12px0.857rem1.4smallSupplementary / hint textInline warnings and short informational text, e.g., object language change in user settingsTo be defined
$line-height-tight: 1.2; // headings (h1–h4)
$line-height-normal: 1.4; // body, body-large, hint — typography default
$line-height-relaxed: 1.5; // long-form prose, card paragraphs, comments

Typography choices directly affect contrast compliance. See the Accessibility page for full requirements.

  • Regular body text (14px): minimum contrast ratio 4.5:1
  • Large text (18px and above, or bold 14px): minimum contrast ratio 3:1
  • Do not use font sizes below 12px in any production UI element

Four font faces are registered for Poppins in enaio®. Browser support: Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+.

/* poppins-regular */
@font-face {
font-display: swap;
font-family: "Poppins";
font-style: normal;
font-weight: 400;
src: url("../../fonts/poppins-v24-latin-regular.woff2") format("woff2");
}
/* poppins-italic */
@font-face {
font-display: swap;
font-family: "Poppins";
font-style: italic;
font-weight: 400;
src: url("../../fonts/poppins-v24-latin-italic.woff2") format("woff2");
}
/* poppins-700 */
@font-face {
font-display: swap;
font-family: "Poppins";
font-style: normal;
font-weight: 700;
src: url("../../fonts/poppins-v24-latin-700.woff2") format("woff2");
}
/* poppins-700italic */
@font-face {
font-display: swap;
font-family: "Poppins";
font-style: italic;
font-weight: 700;
src: url("../../fonts/poppins-v24-latin-700italic.woff2") format("woff2");
}