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.
Click
.In the Label field on the Create Skin screen, enter a name for the skin.
In the Additional creation options area, select the Inherit component formats and mixins from an existing skin check box and use the corresponding field to select the skin that you want to inherit from.
Finish the skin creation as you would any normal skin. The newly created skin now inherits formats from the specified parent 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.
- Skin inheritance
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
- 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.
Previous topic Skin inheritance Next topic Adding a parent skin