Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Skin inheritance

Updated on April 5, 2022

Skin inheritance allows formats and mixins of a parent skin to be inherited by a dependent skin. The formats inherited by the dependent skin do not have to be explicitly defined in the dependent skin but will defined by formats in the parent skin. When a format on the parent skin is modified, the dependent skin automatically inherits those changes unless the format is overridden in the dependent skin.

Style sheets included in parent skins are also inherited, with the dependent skin's style sheet taking priority. The list below provides an overview of the tasks related to skin inheritance.

Create a new dependent skin

When you create a new skin, you can optionally make that skin a dependent of a parent skin.

Add a parent to a skin

Adding a parent to an existing skin will cause the dependent skin to inherit formats from the parent.

Override an inherited style

If necessary, an inherited format can be overridden in the dependent skin.

Revert a customized format to an inherited style

If you override a format, you can revert those changes in the dependent skin back to the format inherited from the parent.

View the inherited skin stack.

The Inheritance tab displays the names, and order of, the parent and dependent skins.

  • Creating a new dependent skin

    When you create a new skin, you can add a parent skin. The new skin becomes dependent on the parent and inherits the parent's formats and mixins. If the parent skin is changed, those changes are inherited by the dependent skin.

  • Adding a parent skin

    You can add a parent to an existing skin. When you add a parent to a skin, the skin becomes dependent on the parent and inherits styles and formats from the parent. If the parent skin is changed, those changes are inherited by the dependent skin.

  • Overriding an inherited format

    You can override inherited formats in a dependent style to make an exception to the inherited styling.

  • Reverting an inherited format

    If an inherited format is overridden, reverting restores the format to the style inherited from the parent skin.

  • Viewing the skin inheritance stack

    The Inheritance tab of the Skin rule form lists the names, and the sequence of, the parent and dependent skins.

  • Inheritance

    The inheritance tab displays the parent styles for the current skin.

  • Skin rules

    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 the placement and alignment of elements.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us