<tbody>
<tr>
<td><code>has-text-weight-light</code></td>
- <td>Transforms text weight to <strong>light</strong></td>
+ <td>Transforms text weight to <strong>light</strong></td>
</tr>
<tr>
<td><code>has-text-weight-normal</code></td>
</tr>
</tbody>
</table>
+
+{% include elements/anchor.html name="Font family" %}
+
+<div class="content">
+ <p>
+ You can change the font family with the use of one of <strong>5 font family
+ helpers</strong>:
+ </p>
+</div>
+
+<table class="table is-bordered">
+ <thead>
+ <tr>
+ <th>
+ Class
+ </th>
+ <th>
+ Family
+ </th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><code>is-family-primary</code></td>
+ <td>Changes font family to <strong>$family-primary</strong></td>
+ </tr>
+ <tr>
+ <td><code>is-family-secondary</code></td>
+ <td>Changes font family to <strong>$family-secondary</strong></td>
+ </tr>
+ <tr>
+ <td><code>is-family-sans-serif</code></td>
+ <td>Changes font family to <strong>$family-sans-serif</strong></td>
+ </tr>
+ <tr>
+ <td><code>is-family-monospace</code></td>
+ <td>Changes font family to <strong>$family-monospace</strong></td>
+ </tr>
+ <tr>
+ <td><code>is-family-code</code></td>
+ <td>Changes font family to <strong>$family-code</strong></td>
+ </tr>
+ </tbody>
+</table>
+
.has-text-weight-bold
font-weight: $weight-bold !important
+.is-family-primary
+ font-family: $family-primary !important
+
+.is-family-secondary
+ font-family: $family-secondary !important
+
+.is-family-sans-serif
+ font-family: $family-sans-serif !important
+
+.is-family-monospace
+ font-family: $family-monospace !important
+
+.is-family-code
+ font-family: $family-code !important
+
// Visibility
$displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex'
// Typography
$family-primary: $family-sans-serif !default
+$family-secondary: $family-sans-serif !default
$family-code: $family-monospace !default
$size-small: $size-7 !default