Source: dist/css/acc_uc.css, line 771
1 Typography
These utility classes enable the manipulation of features such as font size, weight, decoration, white-space, and overflow, providing greater control over the typographic elements in your design.
Source: dist/css/acc_uc.css, line 771
These utility classes enable the manipulation of features such as font size, weight, decoration, white-space, and overflow, providing greater control over the typographic elements in your design.
Source: dist/css/acc_uc.css, line 780
Source: dist/css/acc_uc.css, line 1668
class | css property | value |
---|---|---|
.font_0 | font-size : | 1rem 16px |
.font_1 | font-size : | 1.125rem 18px |
.font_2 | font-size : | 1.265625rem 20.25px |
.font_3 | font-size : | 1.423828125rem 22.78125px |
.font_4 | font-size : | 1.6018066406rem 25.62890625px |
.font_5 | font-size : | 1.8020324707rem 28.8325195313px |
.font_6 | font-size : | 2.0272865295rem 32.4365844727px |
.font_7 | font-size : | 2.2806973457rem 36.4911575317px |
.font_8 | font-size : | 2.565784514rem 41.0525522232px |
.font_9 | font-size : | 2.8865075782rem 46.1841212511px |
.font_10 | font-size : | 3.2473210255rem 51.9571364075px |
.font_n1 | font-size : | 0.8888888889rem 14.2222222222px |
.font_n2 | font-size : | 0.7901234568rem 12.6419753086px |
.font_n3 | font-size : | 0.7023319616rem 11.2373113855px |
.font_n4 | font-size : | 0.624295077rem 9.9887212315px |
.font_n5 | font-size : | 0.5549289573rem 8.8788633169px |
10x
9x
8x
7x
6x
Largest
Large
Big
Big-ish
Slightly Bigger
Default Size
Shrunk
small
smaller
even smaller
smallest
<div class="[modifier class] font_normal">
<div class="lowercase pre-wrap">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
<div class="uppercase pre-wrap">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
</div>
Source: dist/css/acc_uc.css, line 969
Using these straightforward utility classes, you can adjust the color of your text.
text that's white
text that's black
text that's primary
text that's alert
text that's info
text that's warning the user
text that inherits from its parent
<div class="[modifier class] font_normal font_2 font_bold bg_shade-4 p_3">
<div class="text-lowercase">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
<div class="text-uppercase">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
</div>
Source: dist/css/acc_uc.css, line 1477
black and white fonts can be modified to have levels of transparency between 0-9.
text that's white
text that's black
<div class="font_normal font_2 bg_primary font_ui">
<div class="[modifier class] p_3">
<div class="font_3 font_bold">[modifier class] </div>
<div class="text-lowercase">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
<div class="text-uppercase">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
</div>
<div class="[modifier class]-0 p_3">
<div class="font_3 font_bold">[modifier class]-0 </div>
<div class="text-lowercase">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
<div class="text-uppercase">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
</div>
<div class="[modifier class]-1 p_3">
<div class="font_3 font_bold">[modifier class]-1 </div>
<div class="text-lowercase">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
<div class="text-uppercase">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
</div>
<div class="[modifier class]-2 p_3">
<div class="font_3 font_bold">[modifier class]-2 </div>
<div class="text-lowercase">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
<div class="text-uppercase">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
</div>
<div class="[modifier class]-3 p_3">
<div class="font_3 font_bold">[modifier class]-3 </div>
<div class="text-lowercase">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
<div class="text-uppercase">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
</div>
<div class="[modifier class]-4 p_3">
<div class="font_3 font_bold">[modifier class]-4 </div>
<div class="text-lowercase">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
<div class="text-uppercase">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
</div>
<div class="[modifier class]-5 p_3">
<div class="font_3 font_bold">[modifier class]-5 </div>
<div class="text-lowercase">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
<div class="text-uppercase">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
</div>
<div class="[modifier class]-9 p_3">
<div class="font_3 font_bold">[modifier class]-6 </div>
<div class="text-lowercase">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
<div class="text-uppercase">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
</div>
<div class="[modifier class]-7 p_3">
<div class="font_3 font_bold">[modifier class]-7 </div>
<div class="text-lowercase">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
<div class="text-uppercase">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
</div>
<div class="[modifier class]-8 p_3">
<div class="font_3 font_bold">[modifier class]-8 </div>
<div class="text-lowercase">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
<div class="text-uppercase">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
</div>
<div class="[modifier class]-9 p_3">
<div class="font_3 font_bold">[modifier class]-9 </div>
<div class="text-lowercase">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
<div class="text-uppercase">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
</div>
</div>
Source: dist/css/acc_uc.css, line 805
These classes are examples of CSS styles that operate as utility classes to control font weight across various text elements.
Light, 100
Regular, 300
Medium, 500
Bold, 700
Extra Bold, 900
<div class="[modifier class] font_normal font_2 font_ui">
<div class="lowercase">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
<div class="uppercase">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
</div>
Source: dist/css/acc_uc.css, line 854
You can modify the font family used in your text elements with these simple utility classe.
Font Accent: Primarily used in main navigation elements and certain headers.
Font Display: Employed in headlines and buttons.
Font Copy: Typically used in content text.
Font UI: Applied to components like navigation elements and dense user interface elements.
Font Mono: This is commonly used in quotations, data displays, or code snippets
<div class="[modifier class] font_3">
<div class="lowercase">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
<div class="uppercase">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
</div>
Source: dist/css/acc_uc.css, line 945
These utility classes allow you to adjust the style of your text:
Sets font style to normal
Sets font style to italic
<div class="[modifier class] font_normal font_2">
<div class="lowercase">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
<div class="uppercase">a b c d e f g h i j k l m n o p q r s t u v w x y z</div>
</div>
Source: dist/css/acc_uc.css, line 787
Source: dist/css/acc_uc.css, line 2249
Change the alignment of text.
right alignment
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
center alignment
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
left alignment
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
<div class="font_normal font_1 p_3">
<h3 class="font_2 font_bold c_shade_3 p-b_3 [modifier class]">[modifier class]</h3>
<p class="[modifier class] lh_2">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>
Source: dist/css/acc_uc.css, line 2062
Decoration can be easily added to text through these UCs.
solid underline the text
dotted underline the text
double underline the text
dashed underline the text
unset the decoration of the text
uppercase the text
lowercase the text
capitalize the text
<div class="[modifier class] p_3 br_solid font_bold br_black-1 br_1 bg bg_primary c_white">text has a decoration of [modifier class] <a>I am a link also decorated</a></div>
Source: dist/css/acc_uc.css, line 2155
Indent text needs to have a modifier to like `text-indent_2
text-indent of negative 3 rem
text that has no indent/p>
text that has an indent magnitude of text-indent_n3
text-indent of negative 2 rem
text that has no indent/p>
text that has an indent magnitude of text-indent_n2
text-indent of negative 1 rem
text that has no indent/p>
text that has an indent magnitude of text-indent_n1
text-indent of positive 0 rem
text that has no indent/p>
text that has an indent magnitude of text-indent_0
text-indent of positive 1 rem
text that has no indent/p>
text that has an indent magnitude of text-indent_1
text-indent of positive 2 rem
text that has no indent/p>
text that has an indent magnitude of text-indent_2
text-indent of positive 3 rem
text that has no indent/p>
text that has an indent magnitude of text-indent_3
<div class="font_normal font_1 m-x_5 br_solid br-l_1 br_black-4">
<p class="">text that has no indent/p>
<p class="[modifier class]">text that has an indent magnitude of [modifier class] </p>
</div>
Source: dist/css/acc_uc.css, line 2205
Change the line height of text with lh_x
.
0
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
1
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
1.25
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
1.45
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
1.75
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
2.5
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
<div class="font_normal font_1 p_3">
<h3 class="font_2 font_bold c_shade_3 p-b_3">[modifier class]</h3>
<p class="[modifier class]">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>
Source: dist/css/acc_uc.css, line 2117
Shadows can be easily added to text there is limited shadows black and white and negative black and white
inset white shadow
white shadow
inset black shadow
black shadow
no shadow
<div class="[modifier class] p_3 br_solid font_bold br_black-1 br_1 bg bg_primary c_white">text has shadow of [modifier class]</div>
Source: dist/css/acc_uc.css, line 1955
alter the wrapping style to wrap
alter the wrapping style to pre-wrap
alter the wrapping style to nowrap
<div class="[modifier class] font_normal max-w_30">
Quae sapiente reprehenderit explicabo esse consequatur error fugiat. Voluptas odit ipsam architecto quae perspiciatis nostrum autem at. Ut veritatis molestiae distinctio autem repudiandae voluptatem voluptatibus aspernatur.
</div>