Text
An abstraction for using Primer's typographic styles.
Page navigation navigation
The component provides no semantic information. It's only function is to provide access to color tokens for styling text content.
It is up to the designer / implemented to select the appropriate color token for the text content to ensure that it has sufficient contrast against the background color.
Built-in accessibility features
None.
Implementation requirements
When using the component, ensure that the color token used for the text content has sufficient contrast against the background color.
How to test the component
Integration tests
None
Component tests
The text output has sufficient contrast against the background color.