You are here: Reference > Rule types > Styling your application using a skin

Skin rules

  1. About 
  2. New 
  3. Component Styles 
  4. Mixins 
  5. Base settings 
  6. Included Styles 
  7. Inheritance 
  8. Specifications 
  9. History 

Use the skin to specify the presentation of your content. You can style all presentation elements of your interface in the skin, including typography, borders, backgrounds, layouts, and UI placement and alignment.

By defining presentation attributes in the skin, you can separate content (which is defined in sections and harnesses), from its presentation (which is defined in the skin.) This ensures greater consistency and promotes reuse.

You can define a single skin for your application, ensuring that all portals are presented in the most consistent manner.

About Mixins and Style Formats

The skin is comprised of mixins and style formats.

To create a fully extensible skin, define mixins and use them to define other mixins and style formats for components. You can create multiple style formats for many components. If necessary, you can create custom styles and attach additional style sheets.

Access the individual component skins by clicking the downward triangle icon next to the component name on the Component styles tab. You can define style formats for the following components:

General Layouts Controls Reports
Page Containers Labels List view
Screen layouts Tabs Text inputs & Formatted text Column filter
Panel set Accordions Dropdowns Paging bar
Action area Dynamic layouts Radio buttons  
Button area Column layouts Check boxes  
Modal dialogs Trees & grids Autocomplete  
Overlays Repeat-row/columns Links  
Wizard Smart layouts Buttons  
Errors   Smart tip & Smart info  
Custom styles   Menus  
  Split/menu button  
    Rich Text Editor  

You can preview style formats as you define them and preview the current skin in a process, portal, harness, UI Gallery, or full Skin Preview. See Skin form — Completing the Components tab.

Where referenced

Beginning with Pega Platform, skin rules are associated with an application and a portal. A portal can now refer to the skin specified in the application or to a different skin. Setting the portal skin to use the skin associated with an application means that all portals in an application can use a single skin. This enables greater reuse and consistency across your application.

If you do not specify a skin for your application, the default end user skin is applied.

Select Designer Studio > User Interface > Portals & Skins to view the portals in use by the current and built-on applications, their associated skins, and the access groups and operators that use them.

Completing the rule form

Define the Overall Font and mixins for the skin on the Base settings tab.

Reference mixins when defining style formats for Components. Create multiple style formats and custom styles as necessary. See Skin form — Completing the Components tab.

Access

Skin rules are part of the User Interface category. A skin rule is an instance of the Rule-PortalSkin rule type.

To access a Skin rule, do one of the following:

User Interface category