---
+## Text Sizes
+
+ You can change the size of text in paragraphs with `.text-` classes. These classes will apply to the large breakpoint as well as the small.
+
+ ```inky_example
+ <container>
+ <row>
+ <columns>
+ <p class="text-xs">Extra small</p>
+ <p class="text-sm">Small</p>
+ <p class="text-lg">Large</p>
+ <p class="text-xl">Extra large</p>
+ <p class="text-xxl">Extra extra large</p>
+ </columns>
+ </row>
+ </container>
+ ```
+
+ ---
+
## Links
Links are very standard, and the color is preset to the Foundation primary color. [Learn more about Foundation's global colors](global.html).
/// @type Color
$small-font-color: $medium-gray !default;
+/// Default scaling coefficient for text sizes.
+/// @type Number
+$font-scale: 1.2 !default;
+
/// Font size of lead paragraphs.
/// @type Number
$lead-font-size: $global-font-size * 1.25 !default;
}
}
+.text-xs {
+ font-size: $global-font-size / ($font-scale * $font-scale);
+}
+
+.text-sm {
+ font-size: $global-font-size / $font-scale;
+}
+
+.text-lg {
+ font-size: $global-font-size * $font-scale;
+}
+
+.text-xl {
+ font-size: $global-font-size * ($font-scale * $font-scale);
+}
+
+.text-xxl {
+ font-size: $global-font-size * ($font-scale * $font-scale * $font-scale);
+}
+
small,
.small {
font-size: $small-font-size;