Text formats and fonts
How to create and edit text format and fonts from various font libraries in Setka
Before editing text formats, you will need to determine the set of fonts used. Content Design System Manager (CDSM) supports fonts from Google Fonts, Adobe Fonts, and your own fonts in WOFF format.
To add new fonts, open any text format from the list on the left and go to Manage Fonts. Then select fonts from Google Fonts, Adobe Fonts, or upload your own font. New font will appear in the Font family dropdown inside the text format.
Screenshot of Setka Content Design System Manager interface with a pop-up form to find and add fonts from Google Fonts, Adobe Fonts or to upload a custom font
To add new fonts:
1. Go to Manage Fonts and then into the Google Fonts tab.
2. Enter the font name in the search bar and select it:
3. Select the necessary languages and click Save.
Screenshot of Setka Content Design System Manager interface with IBM Plex Mono font selected and check boxes with supported languages and availiable styles of the font
4. Font will appear in the Font family dropdown inside the text format.
To add new fonts:
1. Go to Manage Fonts and then into the Adobe Fonts tab.
2. Enter your Adobe Fonts API Token.
Screenshot of Setka Content Design System Manager interface with an API token to use Adobe fonts added in the field
3. Adobe Fonts web projects will sync with Setka Editor. Click Sync projects to update the project list manually. Select the desired web project. Only one web project can be connected with one style, but there are no restrictions on the number of fonts in this web project.
4. Fonts will appear in the Font family dropdown inside the text format. You will see several font groups if Google Fonts and Adobe Fonts are used simultaneously – to determine the font's source if names are the same.
To get an API Token:
Screenshot of Adobe Fonts interface with "API Tokens" link
2. Click Make me a new API token or copy the existing one:
Screenshot of Adobe Fonts interface with API Tokens
To add custom fonts, go to Manage fonts, then to the Upload fonts tab. Upload your fonts in the WOFF format. Files can be renamed afterward. Don't forget to click Save to see your fonts in the Font family dropdown list inside a text format.
Screenshot of Setka Content Design System Manager interface with a "manage Fonts" pop-up screen with "Upload Font" option selected
Go to Manage fonts. You will see badges of uploaded fonts in the Google Fonts and Upload fonts tabs. Hover the mouse on one of them and click on the cross in the top right corner.
Each badge shows the number of text formats the font is used in. Make sure that you are not deleting the font in use.
Screenshot of Setka Content Design System Manager interface with "Manage Fonts" pop-up window and "Google Fonts" option selected and icon to delete one of the fonts highlighted
If you delete a font from an Adobe Fonts web project, it will automatically disconnect from your site and Setka Editor preview.
Use the Text formats menu on the left to configure desired formats and fonts.
Screenshot of Setka Content Design System Manager interface with Text Formats options highlighted
When creating a style from scratch, some default text formats will be available:
- Paragraph — simple text. Uses thetag in an article HTML code.
- Extra Large Header, Large Header, Medium Header, Small Header — headers of different sizes. Uses tags fromto respectively, in an article HTML code.
- Small Text — caption text. Uses thetag in an article HTML code.
Image captions can also be configured. One of the existing text formats is selectable for them. Captions use the Small Text by default.
Click Add text format to create the new one. Configure the following:
To change font size, go to Text formats > [Select text format] > Size. Font size is set in pixels (px).
To change font weight, go to Text formats > [Select text format] > Weight. Where 400 is a normal weight, and 700 is a bold text.
To change font weight, go to Text formats > [Select text format] > Line height. The line height is set as a percentage (%) of the font height.
Video tutorial on how to adjust line height in Setka Content Design System Manager
Sometimes reordering text formats is required. E.g., if you've created some custom formats and need them to be on top of the list.
Each text format except "Paragraph" can be dragged up or down, changing the order this way:
Screenshot of Setka Content Design System Manager interface with various text formats and "Small Header" highlighted
Rearranged text formats will appear in the editor after saving the style:
Screenshot of Setka Editor interface with Text Formats dropdown in Upper Toolbar
Sometimes it’s not enough to highlight the text as bold or italic. You can use custom styles for bold and italic in such cases. This is a classic typography technique from books, magazines, and newspapers.
Stylized bold or italic gives more freedom to create beautiful and finely readable content.
Screenshot of an article with an example of sylized bold text format
To configure custom formatting for bold and italic, go to Text formats > [Select text format] > Advanced bold & italic. Activate the Custom appearance for Bold text or Custom appearance for Italic text item respectively:
Screenshot of Setka Content Design System Manager interface with "Advanced bold & italic" settings options highlighted
Content Design System Manager (CDSM) provides style previews for different device types. To switch between them, use the Desktop / Tablet / Mobile buttons at the top.
Text formats can also be customized for mobile devices. E.g., if the font looks too large on a smartphone, it can be downscaled or even changed for another one.
To set font settings for smartphones and tablets:
1. Go to Text formats > [Select text format] > Screen size -> Tablet / Mobile.
2. Activate Custom appearance for mobile screen or Custom appearance for a tablet screen, respectively.
3. Styles for smartphones and tablets will be the same as in the Desktop section. But any of their parameters can be fine-tuned:
Video tutorial on how to choose text formats for tablets and smartphones separately
You can additionally configure the appearance of links and image captions.
To set appearance for links, go to Text formats > Links.
Links can be:
- Underlined (Underline style).
- Written in uppercase (Letter Case).
- Highlighted by increased letter spacing (Letter Spacing).
Video tutorial on how to set appearance for links in Setka Content Design System Manager
To set captions appearance for images and embeds, go to Text formats > Image captions. Captions are written in one of the already configured text formats.