Discover Inkline's typography documentation and learn how to use a variety of typefaces, sizes, weights, and styles to make your content stand out.
Inkline provides you with basic elements, typography, and link styles. It uses a native font stack that selects the best font family for each OS and device. The base font size is
1rem, so visitors can customize their font size as needed when zooming.
When more control is needed, you should check out the textual utility classes. Each font size, style and weight also has a corresponding helper class to style other elements the same.
All HTML heading sizes,
<h6>, are calculated using a multiplication of two factors: the base font size defined by the
var(--font-size) CSS variable, and the
var(--scale-ratio) minor third scale.
You can use helper classes to achieve heading styles. Classes
.h6 are available, for when you want to match the font styling of a heading but cannot use the associated HTML element.
Displays are text elements larger than headings used for grabbing the viewer's attention and making a bold statement. Typically, displays are used in hero sections, banners, or call-to-actions:
.d6 are available.
A lead paragraph sets the tone for the rest of the content that follows. It is usually found at the beginning of an article or section and serves to capture the reader's attention and provide a brief summary of what they can expect from the content.
Inkline provides basic styling for all common HTML5 inline text elements.
To avoid any unwanted semantic implications that the tags would bring,
.small classes are also
available to apply the same styles as
While not shown above, you can also use
<i> in HTML5.
<b> is meant to highlight words or phrases
without adding additional semantics, while
<i> is mostly for voice, technical terms, etc.
You can change text alignment, transform, style, weight, and color with text utilities and color utilities.
You can easily realign text to components with text alignment classes.
You can prevent text wrapping using the
._text:nowrap utility class.
You can align, wrap or truncate text responsively for any given
xl breakpoint by adding the breakpoint prefix:
<abbr> element for abbreviations and acronyms is styled to show the expanded version on hover.
Abbreviations have a default underline and gain a help cursor to provide additional context on hover and to users of
To quote blocks of content from another source within your document, wrap
<blockquote class="blockquote"> around any
HTML as the quote.
To enumerate a sequence of elements, you can use lists. Inkline provides you with multiple variations to achieve your target design.
When enumerating elements in no specific order, use an unordered list.
When enumerating elements in a specific order, use an ordered list.
To remove the default
margin on list items, use the
.list.-unstyled classes or the
._list:unstyled utility class. This applies to immediate children list items only, meaning you will need to add the class for any nested lists as well.
Inline lists are a great way to display a series of related items in a single line, using the
.list.-inline classes or the
._list:inline utility class. Rather than creating a separate bullet list or numbering system, inline lists are integrated into the text flow, making them a more visually pleasing and space-efficient option.
Description lists are used to present a list of terms and their corresponding descriptions. They are commonly used to define technical terms, glossaries, or metadata.