Creating a CSS font file
Define a CSS file that holds the information about a new font in an application to ensure that Pega Platform integrates your changes to the application. Adding a new font can improve the visual style of your application and make it compatible with your branding standards.
Using a text editor, create a CSS file with the font-face snippet.
For example: This snippet defines a Company font for the Account Manager application. { url: "AccountManager/CompanyFontRegular.ttf", fontFamily: "Company", type: "text" }
Where the parameters have the following values:
- url
- The URL address of the font file in the folder that you indicated when adding the binary file with the font. For more information, see Uploading custom font files.
- fontFamily
- The name of the font.
- type
- The typical use of the font.
Add the CSS file to the skin of the application.
For more information, see Attaching a CSS to the skin.
Previous topic Uploading custom font files Next topic Login screen customization