Skip to content

Commit 8139b16

Browse files
author
Ryan A. Johnson
committed
docs(typography): document font weights
1 parent 686ae5e commit 8139b16

File tree

5 files changed

+39
-2
lines changed

5 files changed

+39
-2
lines changed

source/components/grid/_explorer.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.demo {
1+
.grid-demo {
22
& > .demo-container {
33
border: 1px dotted @gray-400;
44
}

source/components/grid/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ <h2>12-column Grid</h2>
1111
<section>
1212
<h3 id="responsive">Responsive</h3>
1313

14-
<div class="demo">
14+
<div class="demo grid-demo">
1515
<div class="demo-container">
1616
<div id="querySize"></div>
1717
<div class="hxRow">
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.font-roboto {
2+
font-family: "Roboto", sans-serif;
3+
}
4+
5+
.font-roboto-mono {
6+
font-family: "Roboto Mono", monospace;
7+
}
8+
9+
.weight-thin { font-weight: 100; }
10+
.weight-light { font-weight: 300; }
11+
.weight-regular { font-weight: 400; }
12+
.weight-medium { font-weight: 500; }
13+
.weight-bold { font-weight: 700; }

source/components/typography/index.html

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,29 @@
33
assets:
44
- bootstrap.helix.css
55
---
6+
<section><!-- Font -->
7+
<h2 id="font-weight">Font Weight</h2>
8+
9+
<div class="demo">
10+
<div class="hxRow">
11+
<div class="hxCol font-roboto">
12+
<p class="weight-thin">Roboto Thin (100)</p>
13+
<p class="weight-light">Roboto Light (300)</p>
14+
<p class="weight-regular">Roboto Regular (400)</p>
15+
<p class="weight-medium">Roboto Medium (500)</p>
16+
<p class="weight-bold">Roboto Bold (700)</p>
17+
</div>
18+
<div class="hxCol font-roboto-mono">
19+
<p class="weight-thin">Roboto Mono Thin (100)</p>
20+
<p class="weight-light">Roboto Mono Light (300)</p>
21+
<p class="weight-regular">Roboto Mono Regular (400)</p>
22+
<p class="weight-medium">Roboto Mono Medium (500)</p>
23+
<p class="weight-bold">Roboto Mono Bold (700)</p>
24+
</div>
25+
</div>
26+
</div>
27+
</section>
28+
629
<section><!-- Address -->
730
<header>
831
<h2 id="addresses">Addresses</h2>

source/styles/explorer.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
*/
1515
@import 'vars.less';
1616
@import 'grid/_explorer';
17+
@import 'typography/_explorer';
1718
@import 'layout';
1819

1920
body {

0 commit comments

Comments
 (0)