2013-10-19 04:55:57 +08:00
|
|
|
<section id="new-naming">
|
2013-10-18 23:05:40 +08:00
|
|
|
<h2 class="page-header">New Naming Conventions in {{ site.fontawesome.minor_version }}</h2>
|
2013-10-21 07:42:48 +08:00
|
|
|
<p class="lead text-center alert alert-success">fa-[name]-[shape]-[o]-[direction]</p>
|
2013-10-19 04:55:57 +08:00
|
|
|
<p>
|
|
|
|
A desire for better icon naming <strong>consistency</strong> and <strong>predictability</strong> are at the heart
|
|
|
|
of the changes in naming conventions. Once you know the name of the base icon shape, you should be able to predict
|
2013-10-19 21:54:41 +08:00
|
|
|
the names of variants.
|
2013-10-19 04:55:57 +08:00
|
|
|
</p>
|
2013-10-18 23:05:40 +08:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-4 col-sm-6">
|
2013-10-21 07:12:13 +08:00
|
|
|
<h4 class="margin-bottom-sm">fa-*</h4>
|
2013-10-19 05:31:47 +08:00
|
|
|
<p class="margin-bottom-sm">Solid icons as the base variant</p>
|
2013-10-21 07:12:13 +08:00
|
|
|
<ul class="fa-ul padding-left-sm">
|
2013-10-19 04:55:57 +08:00
|
|
|
<li>
|
2013-10-21 07:12:13 +08:00
|
|
|
<i class="fa fa-bookmark fa-li"></i>
|
|
|
|
fa-bookmark
|
2013-10-19 04:55:57 +08:00
|
|
|
</li>
|
|
|
|
<li>
|
2013-10-21 07:12:13 +08:00
|
|
|
<i class="fa fa-comment fa-li"></i>
|
|
|
|
fa-comment
|
2013-10-19 04:55:57 +08:00
|
|
|
</li>
|
|
|
|
<li>
|
2013-10-21 07:12:13 +08:00
|
|
|
<i class="fa fa-folder fa-li"></i>
|
|
|
|
fa-folder
|
2013-10-19 04:55:57 +08:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-4 col-sm-6">
|
2013-10-21 07:42:48 +08:00
|
|
|
<h4 class="margin-bottom-sm">*-o</h4>
|
2013-10-19 05:31:47 +08:00
|
|
|
<p class="margin-bottom-sm">Outlined version of previous modifier</p>
|
2013-10-21 07:12:13 +08:00
|
|
|
<ul class="fa-ul padding-left-sm">
|
2013-10-19 04:55:57 +08:00
|
|
|
<li>
|
2013-10-21 07:42:48 +08:00
|
|
|
<i class="fa fa-bookmark-o fa-li"></i>
|
|
|
|
fa-bookmark-o
|
2013-10-19 04:55:57 +08:00
|
|
|
</li>
|
|
|
|
<li>
|
2013-10-21 07:42:48 +08:00
|
|
|
<i class="fa fa-comment-o fa-li"></i>
|
|
|
|
fa-comment-o
|
2013-10-19 04:55:57 +08:00
|
|
|
</li>
|
|
|
|
<li>
|
2013-10-21 07:42:48 +08:00
|
|
|
<i class="fa fa-folder-o fa-li"></i>
|
|
|
|
fa-folder-o
|
2013-10-19 04:55:57 +08:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-4 col-sm-6">
|
|
|
|
<h4 class="margin-bottom-sm">*-circle</h4>
|
2013-10-19 05:31:47 +08:00
|
|
|
<p class="margin-bottom-sm">Circle under previous modifier</p>
|
2013-10-21 07:12:13 +08:00
|
|
|
<ul class="fa-ul padding-left-sm">
|
2013-10-18 23:05:40 +08:00
|
|
|
<li>
|
2013-10-21 07:12:13 +08:00
|
|
|
<i class="fa fa-check-circle fa-li"></i>
|
|
|
|
fa-check-circle
|
2013-10-18 23:05:40 +08:00
|
|
|
</li>
|
|
|
|
<li>
|
2013-10-21 07:12:13 +08:00
|
|
|
<i class="fa fa-exclamation-circle fa-li"></i>
|
|
|
|
fa-exclamation-circle
|
2013-10-18 23:05:40 +08:00
|
|
|
</li>
|
2013-10-19 04:55:57 +08:00
|
|
|
<li>
|
2013-10-21 07:12:13 +08:00
|
|
|
<i class="fa fa-plus-circle fa-li"></i>
|
|
|
|
fa-plus-circle
|
2013-10-19 04:55:57 +08:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-4 col-sm-6">
|
|
|
|
<h4 class="margin-bottom-sm">*-square</h4>
|
2013-10-19 05:31:47 +08:00
|
|
|
<p class="margin-bottom-sm">Square under previous modifier</p>
|
2013-10-21 07:12:13 +08:00
|
|
|
<ul class="fa-ul padding-left-sm">
|
2013-10-18 23:05:40 +08:00
|
|
|
<li>
|
2013-10-21 07:12:13 +08:00
|
|
|
<i class="fa fa-check-square fa-li"></i>
|
|
|
|
fa-check-square
|
2013-10-19 04:55:57 +08:00
|
|
|
</li>
|
|
|
|
<li>
|
2013-10-21 07:12:13 +08:00
|
|
|
<i class="fa fa-twitter-square fa-li"></i>
|
|
|
|
fa-twitter-square
|
2013-10-18 23:05:40 +08:00
|
|
|
</li>
|
|
|
|
<li>
|
2013-10-21 07:12:13 +08:00
|
|
|
<i class="fa fa-plus-square fa-li"></i>
|
|
|
|
fa-plus-square
|
2013-10-18 23:05:40 +08:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-4 col-sm-6">
|
2013-10-19 04:55:57 +08:00
|
|
|
<h4 class="margin-bottom-sm">*-right, *-up, etc.</h4>
|
2013-10-19 05:31:47 +08:00
|
|
|
<p class="margin-bottom-sm">Directional modifier always at the end</p>
|
2013-10-21 07:12:13 +08:00
|
|
|
<ul class="fa-ul padding-left-sm">
|
2013-10-19 04:55:57 +08:00
|
|
|
<li>
|
2013-10-21 07:12:13 +08:00
|
|
|
<i class="fa fa-arrow-right fa-li"></i>
|
|
|
|
fa-arrow-right
|
2013-10-19 04:55:57 +08:00
|
|
|
</li>
|
2013-10-18 23:05:40 +08:00
|
|
|
<li>
|
2013-10-21 07:12:13 +08:00
|
|
|
<i class="fa fa-arrow-circle-right fa-li"></i>
|
|
|
|
fa-arrow-circle-right
|
2013-10-18 23:05:40 +08:00
|
|
|
</li>
|
|
|
|
<li>
|
2013-10-21 07:12:13 +08:00
|
|
|
<i class="fa fa-angle-double-right fa-li"></i>
|
|
|
|
fa-angle-double-right
|
2013-10-18 23:05:40 +08:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-4 col-sm-6">
|
2013-10-19 04:55:57 +08:00
|
|
|
<h4 class="margin-bottom-sm">Combine 'em up...</h4>
|
2013-10-19 05:31:47 +08:00
|
|
|
<p class="margin-bottom-sm">Consistent when strung together</p>
|
2013-10-21 07:12:13 +08:00
|
|
|
<ul class="fa-ul padding-left-sm">
|
2013-10-18 23:05:40 +08:00
|
|
|
<li>
|
2013-10-21 07:42:48 +08:00
|
|
|
<i class="fa fa-arrow-circle-o-right fa-li"></i>
|
|
|
|
fa-arrow-circle-o-right
|
2013-10-19 04:55:57 +08:00
|
|
|
</li>
|
|
|
|
<li>
|
2013-10-21 07:42:48 +08:00
|
|
|
<i class="fa fa-caret-square-o-right fa-li"></i>
|
|
|
|
fa-caret-square-o-right
|
2013-10-18 23:05:40 +08:00
|
|
|
</li>
|
|
|
|
<li>
|
2013-10-21 07:42:48 +08:00
|
|
|
<i class="fa fa-hand-o-right fa-li"></i>
|
|
|
|
fa-hand-o-right
|
2013-10-18 23:05:40 +08:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2013-10-19 04:55:57 +08:00
|
|
|
|
2013-10-18 23:05:40 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</section>
|