SKY UX supports a set of semantically defined classes for text to ensure consistent usage and to maintain visual hierarchy of type. Components generally incorporate text classes as necessary, but you may find cases where you need to apply classes directly. Styling values in the table below are for reference only; you should apply styling through the use of the classes.
Use headings to describe sections of content or as titles of containers. In most cases, use <h1>
<h5>
<h2>
class="sky-font-heading-3"
For accessibility reasons, do not skip over heading levels. For example, do not use <h1>
<h3>
<h2>
<h1>
class="sky-font-heading-1"
class="sky-page-heading"
<h2>
class="sky-font-heading-2"
class="sky-section-heading"
<h3>
class="sky-font-heading-3"
class="sky-subsection-heading"
<h4>
class="sky-font-heading-4"
<h5>
class="sky-font-heading-5"
Use body copy for the majority of text on a page.
class="sky-font-body-default"
class="sky-font-body-lg"
class="sky-font-body-sm"
Use display fonts to call attention to particularly important information.
class="sky-font-display-1"
class="sky-font-display-2"
class="sky-font-display-3"
class="sky-headline"
class="sky-font-display-4"
<strong>
element to semantically communicate importance or urgency. class="sky-font-emphasized"
class="sky-emphasized"
class="sky-font-deemphasized"
class="sky-deemphasized"
class="sky-font-data-label"
class="sky-field-label"