Skip to content

Commit

Permalink
Merge pull request #18452 from twbs/font-weight-utils
Browse files Browse the repository at this point in the history
Tweak naming and docs of font utility classes
  • Loading branch information
cvrebert committed Dec 7, 2015
2 parents eae036b + d1a0af8 commit 37955de
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions docs/components/utilities.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,13 @@ Transform text in components with text capitalization classes.
<p class="text-capitalize">CapiTaliZed text.</p>
{% endexample %}

## Font weight and style
## Font weight and italics

Quickly change the weight and style of text.
Quickly change the weight (boldness) of text or italicize text.

{% example html %}
<p class="font-normal">Normal text.</p>
<p class="font-bold">Bold text.</p>
<p class="font-weight-bold">Bold text.</p>
<p class="font-weight-normal">Normal weight text.</p>
<p class="font-italic">Italicized text.</p>
{% endexample %}

Expand Down
6 changes: 3 additions & 3 deletions scss/_utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@

// Weight and italics

.font-normal { font-weight: normal; }
.font-bold { font-weight: bold; }
.font-italic { font-style: italic; }
.font-weight-normal { font-weight: normal; }
.font-weight-bold { font-weight: bold; }
.font-italic { font-style: italic; }

// Contextual colors

Expand Down

0 comments on commit 37955de

Please sign in to comment.