Using Design Tokens in Custom CSS
Leverage the power of Viewport's design token system inside the Help Center theme's custom CSS. Use tokens to create new theme styles that align your theme's appearance with your brand's needs.
Pick CSS custom property keys from the list of all design tokens and use them in your theme's custom CSS like shown in the following example.
Changing font family and sizes
To change the default Help Center theme font for body and headings to a different one, we recommend injecting your code similar to the example below.
Example
:root {
--K15t-font-family-body: Helvetica, Arial, ui-sans-serif, serif;
--K15t-font-family-headline: Georgia, ui-serif, serif;
--K15t-font-size-headline-large: 3rem;
--K15t-font-size-headline-medium: 2.125rem;
--K15t-font-size-headline-small: 1.5rem;
}
Changing more of the look and feel
By leveraging Viewport’s underlying design token system you are able to customize the look and feel of the Help Center even further to your needs.
Use as many theme editor features — like header and footer colors — as possible and extend it by using design tokens.
Example 1

Before: Portal page

Before: Article page

After: Portal page

After: Article page
Example 2

Before: Portal page

Before: Article page

After: Portal page

After: Article page
🚧 Example 3 (Experimental)

Article page with experimental dark theme style