In the Fonts section of the Theme administration interface, it is possible to define the fonts used for titles and text throughout a portal as follows:
Where:
-
A section dedicated to configuring title fonts. The associated LESS variable is
@font1
. -
A section dedicated to configuring text fonts. The associated LESS variable is
@font2
. -
A field in which to enter a font-family. The default value is
system-ui
and corresponds to the OS default font. It is necessary to indicate a web safe font in this field. -
The Use default font option is selected by default.
-
Selecting Upload a font displays buttons to upload font files in four formats: TrueType, OpenType, Web Open Font Format, or Web Open Font Format 2.0. It is possible to upload one font file in each format.
-
Selecting Add a direct link to a font displays one field for each file format. Enter a URL to link to a font.
-
Selecting Use @import rule displays a single field. Enter a URL to import a font.
- Using an
@import
rule automatically populates the font-family field with the name selected by the font provider. If this is not the case, it is necessary to manually enter the name. - Uploading font files and entering direct links to fonts automatically populates the font-family field with
custom-font1
(for title fonts) orcustom-font2
(for text fonts). - Customized fonts apply in both online and offline mode.