Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak naming and docs of font utility classes #18452

Merged
merged 1 commit into from
Dec 7, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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