Typography – Horizon

Intro

SAP Fiori uses SAP’s proprietary typeface 72, with a fallback to a sans-serif system font if 72 can’t be loaded.

Designing 72 from the ground up made it possible to meet SAP Fiori’s typographic requirements, including:

Typography with 72

72” replaces the default system fonts to improve the typographic system for SAP Fiori applications. The design has been meticulously crafted to portray a look and feel that is more trustworthy, friendly and modern, communicating the visual language of SAP Fiori. The metrics of the system fonts have been kept, to ensure compatibility within all controls. Improvements of the individual characters have been made, which also means that less screen width is required, resulting in reduced truncation issues. With all these enhancements, along with the humanist influences within the fine details, 72 greatly improves the legibility of SAP Fiori applications.

72, a bespoke typeface created for SAP

72, a bespoke typeface created for SAP

Language Support and Fallback to System Font

Language coverage is one of the most important requirements of a typeface, depending on the number of countries in which your applications need to be available. Beyond the languages the font supports, fallback solutions need to be considered. If the defined fonts cannot be displayed when an application initially loads, a fallback font is defined in the style sheet. Defining a fallback to a sans-serif system font that is readily available on every user’s device is a simple solution to load applications in any language. The font stack that is used within the CSS includes 72 with a fallback to system fonts such as Arial and Helvetica in combination, or Roboto for Android.

Here is an example of how theme parameters are used to specify a font stack. Notice that there are two versions of the 72 font; the first is a smaller subset to help improve performance and the second is the full version:

sapFontFamily: “72”, “72full”, Arial, Helvetica, sans-serif;

The fallback system fonts also have the advantage of zero loading time, ensuring that there is always a consistent font available that works with the fresh, clean, and minimalist SAP Fiori style. The font stack used comes with a full Unicode solution when special characters are needed. For all the languages that SAP Fiori will need to support, system fonts are available. 72 is integrated into the control set, making customization easy. The font stack can also be modified to achieve an individual result.

Accessibility

Optimized for screen consumption, 72’s design enhancements increase legibility, readability and ultimately, accessibility. A wider apex and open counters help with character recognition at smaller sizes. Differentiation of character details, such as the number “1” and the lower case “l” versus the capital “I”, makes the characters easier to distinguish and improves the overall reading experience.

Example of improved accessibility features

Example of improved accessibility features

Headlines and Font Styles for UI Controls

These recommended sizes and weights are offered by default, however, SAP product lines have the flexibility to define their own type scale.

Header Scale

48 px
3 rem
Header 1
32 px
2 rem
Header 2
24 px
1.5 rem
Header 3
20 px
1.25 rem
Header 4
16 px
1 rem
Header 5
14 px
0.875 rem
Header 6

Usage Example

72 Black
Optional Size
72 Black
Main Title
72 Bold
Optional Title Size
72 Black
Main Title Snapped / Scrolled
72 Bold
App Title, Subsection, Title of List, Table, Form etc.
72 Bold
Group Title in List, Table, Form, etc.

UI Control Text Sizes

16 px
1 rem
Large Text
14 px
0.875 rem
Medium Text
12 px
0.75 rem
Small Text

Usage Example

Stand-out text controls, such as the author name in a feed, or the file name for a collection of uploaded files.
Default text size used in controls, such as buttons, inputs, tables, etc.
Small text, exceptional use cases within controls, such as time stamps or a unit of measurement. Not recommended to use small text size as the main UI text size within controls.

72 Font Styles

Additional Styles

SAP can now benefit from the additional font styles that have been added to 72, such as 72 Semibold. These font styles help to expand the possibilities of how to best visualize the information hierarchy within products and websites.

New font styles

New font styles

72 Semibold Duplex

72 Semibold Duplex also enables additional accessibility improvements by providing a visual weight distinction to the regular font weight without any visual jump in the width of the letters. This helps bring more interactive affordance to the text used for general actions and also helps bring a more consistent weight when paired with the new stronger weight of the icon style for the Horizon theme.

72 Semibold Duplex

72 Semibold Duplex

Line Heights

In general, no line height is applied to text, since the line height affects the padding and leads to misaligned content.
If a more generous line height is required for long continuous text, a consistent line height of 1.5 is recommended:

72 Showcase

Overview of “72“, SAP’s proprietary typeface.

Download Fonts

72 is now available to download as part of the UI kit.

SAP Theming Base Content

GitHub repository of SAP themes, including downloadable font files.

[internal_only][/internal_only]

UI Foundations – Typography

Typography specification and theme parameters.

[internal_only][/internal_only]

Typography Theme Parameters

The Horizon typography theme parameters.