17.2 #Typography.font-size Font size variants.
Helper classes to change text font size. Sizes are relative to the parent font size.
Examples
Default styling
I am some text
.duk-text--x-small
Very small text
I am some text
.duk-text--small
Small text
I am some text
.duk-text--regular
Inherits to parent font size
I am some text
.duk-text--large
Large text
I am some text
.duk-text--x-large
Very large text
I am some text
Markup
<p class="[modifier class]">I am some text</p>
Source:
scss/base/_typography.scss
, line 75