You are here: Reference > Rule types > Styling your application using a 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.

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.

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 on the Component styles tab. 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.

Skin references

Skin rules are associated with an application and a portal. A portal can 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.

To view the skins in use by the current and built-on applications and the access groups and operators that use them, click Designer Studio > User Interface > Skins, interfaces, & templates to display the Skins, Interfaces, & Templates screen and click the Interfaces tab.

Skin inheritance

Skin inheritance allows formats and mixins of a parent skin to be passed down to a dependent skin. You can add a parent skin or set skin inheritance when you create a new skin.

Access

To access a skin rule, click Designer Studio > User Interface, Skins, interfaces, & templates. On the Skins tab, click the skin that you want to open.

A skin rule is an instance of the Rule-PortalSkin rule type.

When to use a CSS helper class instead of a custom style format

If your application has many formats of the same type, such as inline or stacked formats, and these formats vary only slightly, you might benefit from using Cascading Style Sheet (CSS) helper classes to adjust layouts and cells. For example, you can use standard CSS helper classes to center elements or adjust their standard margins.

To analyze your existing formats, review the My Formats section on the Component styles tab of the Skin form.

For more information, see CSS helper classes.