A style groups together a set of visual properties and gives them a name. The style can also have conditional logic. For example, you can define a style that formats text with one font size for small viewports and a different font size one for large viewports.

Style definition and evaluation

For details about how to define a style and how the APL runtime evaluates styles when rendering the document, see Style Definition and Evaluation.

Styled properties

Styled properties are component properties that you can set in a style. For example, the align property is a styled property. You can set this property in a style, and then use the style on a component to set the align property.

The documentation for each component indicates whether a component property is styled. For a summary of styled properties across all components, see Styled Properties.