Add custom CSS settings to your skin to make it consistent with existing branding for your business. If you have a CSS sheet that you want to reuse, you can attach it to the skin of your application.
In the navigation pane of Dev Studio, click Records.
Expand the User Interface category, and then click Skin.
Open the skin that you want to edit.
On the Included styles tab, expand the Additional style sheets section.
Click Add style sheet, and then click the Open icon.
On the New tab, provide the label for the CSS sheet, and then click Create and open.
On the newly created tab, provide the CSS for the skin:
- To upload an existing sheet, click Upload file, and then navigate to the target file.
- To define the CSS settings manually, in the text field, enter the CSS code.
Tip: In the code, you can use the formats that are defined in mixins. For example, your CSS code can reference the color of the urgent mixin by using the variable
$mx-urgent-color. You can access the full list of mixin variables and their values by clicking on the skin tab or use autocomplete if you are developing the CSS file in Pega Platform.
On the skin tab, in the Additional style sheets section, in the field that you added, select the newly added CSS sheet.