Text style enhances text with additional visual meaning. For example, using subdued text to de-emphasize it from its surrounding text.
Use to de-emphasize a piece of text that is less important to the merchant than other nearby text. May also be used to indicate when normal content is absent, for example, “No supplier listed”. Don’t use only for aesthetic effect.
<TextStyle variation="subdued">No supplier listed</TextStyle>
Put the merchant first by identifying the problem they face and the component that helps them solve it.
Using regular text alone isn’t always enough to guide merchants’ eyes when presented with a lot of information.
Text style helps merchants interpret meaning by providing visual cues.
Text style should be:
- Used when enhancing the text will help the merchant undertand its meaning
- Subdued if the text is less important than its surrounding text
- Strong for input fields, or for a row total in a price table
- Paired with symbols, like an arrow or dollar sign, when using positive or negative styles