In Flex, you can create and apply text styles to any body of text within an experience. Doing so streamlines the content creation process and reduces time spent configuring text layouts. Along with being a time-saver, text styles are vital when creating fully responsive content in Flex.
A text style includes the following unique attributes:
Text hierarchical label
Font
Font weight
Line height
Tracking
Paragraph spacing
Font sizes for each responsive variant
When a text style is selected, its unique attributes are automatically applied to the target text box.
Applying a Text Style
Select the target text box
Navigate to the "Text" section of the Inspector Panel while in Design mode
Click the Text styles icon located in the top-right corner of the section
Select the desired text style from the Text style menu
Hover over the available text styles to preview them on the selected text box
To replace an applied text style:
Select the target text box
Navigate to the "Selected text style" section of the Inspector Panel while in Design mode
Click the Text styles icon to the left of the text style label
Select a new text style from the Text style menu
Adjusting a Text Style
Hover over the target text style label
Either from the "Selected text style" section (for applied text styles) or the "Text styles" section (after clicking the Text styles icon) in the Inspector Panel
Click the Adjustment icon
Make the desired adjustments
Click Save
Text style adjustments are made globally, so they will apply to all current and future uses of the updated text style. To make adjustments to one instance of the text style, it must be unlinked:
Select the target text box
Hover over the text style label in the "Selected text style" of the Inspector Panel
Click the Unlink icon
The unlinked text style will retain its attributes, but updates will not be applied globally to other instances.
Creating a Custom Text Style
Though you can adjust the pre-built text styles included in Flex, you can also create custom styles for specific use cases. To do so:
Select a text box or add a new one to the canvas
Configure the new text style's attributes in the "Text" section of the Inspector Panel
Important: The configurations will automatically be attributed to the new text style when created, so setting them up beforehand is key
Click the Text styles icon to the left of the text style label
Click the + icon to create a new style
Name the new style in the field at the bottom of the text style list
Press the Enter key to save the style
Once created, a custom text style can be adjusted just like the pre-built styles.
Deleting a Text Style
Hover over the target text style label
Either from the "Selected text style" section (for applied text styles) or the "Text styles" section (after clicking the Text Styles icon) in the Inspector Panel
Click the Adjustment icon
Click the Delete icon located in the bottom-left corner of the Text style menu
Deleting a text style will remove it from all text boxes to which it was applied throughout the entire experience. The affected text boxes will retain the deleted text style attributes.