Text font variant
Helper to define if serif or sans font is to be used. This uses the @include font-setting
mixin, which establishes the font-family according to whether or not the .fonts-loaded
class is present.
General rule for this is t-serif
for editorial and t-sans
for everything else
Note: The default font is t-sans
. That means most of the time you won't need to explicitly set it.
.t-serif
Default serif
<h4 class="t-serif">Change inherit font family</h4>
Repo | Count | Location(s) |
---|---|---|
feature-voter-guide-general-2020-08 | 2 | |
feature-general-ballot-2020-08 | 4 | |
texastribune | 9 | |
data-visuals-create | 2 | |
state-salaries-draft | 4 |
.t-sans
Default sans
<h4 class="t-sans">Change inherit font family</h4>
Repo | Count | Location(s) |
---|---|---|
texastribune | 2 | |
portal-api | 1 | |
feature-voter-guide-general-2020-08 | 2 | |
mailchimp-email-templates | 23 |