Foundations

Text Utilities

Use text helpers for KitFront text colors, gradient text, balanced wrapping, and lead paragraphs. Choose the tab that matches your starter.

Color text classes

Bootstrap color text classes apply KitFront text colors.

TextClassUsePreview
Brand 1.kf-text-brand-1Brand color 1 textSample text
Brand 2.kf-text-brand-2Brand color 2 textSample text
Body.kf-text-bodyBody text colorSample text
Black.kf-text-blackBlack textSample text
White.kf-text-whiteWhite textSample text
Muted.kf-text-mutedMuted current colorSample text

Use color text classes

Add the class to the text element.

<p class="kf-text-brand-1">Brand text</p>

<p class="kf-text-muted">Muted text</p>

Gradient text

Gradient text classes apply the KitFront gradient to the text fill.

TextClassUsePreview
Gradient 1.kf-text-gradient-1Gradient text 1Sample text
Gradient 2.kf-text-gradient-2Gradient text 2Sample text
<h2 class="kf-text-gradient-1">Gradient heading</h2>

Text balance

Text balance adjusts short headings so the lines wrap more evenly.

TextClassUsePreview
Text Balance.kf-text-balanceBalances heading or short text linesSample text
<h2 class="kf-text-balance">
  Build cleaner section headings with balanced wrapping
</h2>

Lead paragraph

Lead text classes make paragraph text larger inside the wrapper.

TextClassUsePreview
Lead Text.kf-lead-textMakes all direct paragraphs largerSample text
First Lead Text.kf-lead-text-firstMakes the first direct paragraph largerSample text
<div class="kf-lead-text">
  <p>This paragraph uses lead text styling.</p>
  <p>This paragraph also uses lead text styling.</p>
</div>

Section Used

...

Sections copied so far!