Typography
All fonts are using Helvetica Neue, with options limited to Heavy, Roman, and Light
-
Hero 80Line height: 80px
<div class="font__eighty"><strong>Marketing 80</strong></div>
-
Hero 50Line height: 50px
<div class="font__fifty"><strong>Marketing 50</strong></div>
-
Hero 36Line height: 36px
<div class="font__thirty-six"><strong>Marketing 36</strong></div>
-
Header 28Line height: 34pxHeader 28 LightLine height: 34px
<div class="font__twenty-eight"><strong>Header 28 Heavy</strong></div>
<div class="font__twenty-eight"><em>Header 28 Light</em></div> -
Header 22Line height: 27pxHeader 22 LightLine height: 27px
<div class="font__twenty-two"><strong>Header 22 Heavy</strong></div>
<div class="font__twenty-two"><em>Header 22 Light</em></div> -
Header 18Line height: 22px
<div class="font__eighteen"><strong>Header 18</strong></div>
-
Line height: 22px
<a href="#!" class="font__eighteen">
<strong>Header 18</strong>
<span class="icon icon__arrow-right"><svg aria-label="Arrow Right"><use xlink:href="/images/adaptive/livestyleguide/walgreens.com/v3.0/themes/images/icons/symbol-defs.svg#icon__arrow-right"></use></svg></span>
</a> -
Header 16Line height: 19px, Paragraph spacing bottom: 16px
// By default font size is 16px
<div><strong>Header 16</strong></div> -
// By default, p tags have 18px font
<p>Body 18, for long-form copy</p>
<p><a href="#!">Body link 18</a></p> -
Descriptor 16, for brief 1-3 line descriptionsLine height: 24px, Paragraph spacing bottom: 16px
// By default font size is 16px
<div>Info 16, for brief 1-3 line description</div>
<div><a href="#!">Info link 16</a></div> -
Line height: 20px, Paragraph spacing bottom: 16px
Disclaimer 14, for legal copy only
<p class="font__fourteen">Disclaimer 14, for legal copy only</p>
Typography heirarchy
-
Primary header 28
Body copy 18, consectetur adipiscing elit. Suspendisse mattis lectus id orci fermentum auctor. In in orci sit amet sem mollis tincidunt vitae a augue. Phasellus eu gravida urna, nec lacinia dui. Praesent tristique, leo vitae auctor consequat, dolor dolor euismod arcu, nec venenatis metus purus eget nulla.
Secondary header 22Body copy 18, consectetur adipiscing elit. Suspendisse mattis lectus id orci fermentum auctor. In in orci sit amet sem mollis tincidunt vitae a augue.
Lorem ipsum, consectetur adipiscing elit. Suspendisse mattis lectus id orci fermentum auctor. In in orci sit amet sem mollis tincidunt vitae a augue. Phasellus eu gravida urna, nec lacinia dui. Praesent tristique, leo vitae auctor consequat, dolor dolor euismod arcu.
-
Fact 1
Info 16, this is the first blurb of four
-
Fact 2
Info 16, this is the second blurb of four
-
Fact 3
Info 16, this is the third blurb of four
-
Fact 4
Info 16, this is the fourth blurb of four
Why do we use it?Lorem ipsum, consectetur adipiscing elit. Suspendisse mattis lectus id orci fermentum auctor. In in orci sit amet sem mollis tincidunt vitae a augue. Phasellus eu gravida urna, nec lacinia dui. Praesent tristique, leo vitae auctor consequat, dolor dolor euismod arcu.
1. Disclaimer 14. This is the first disclaimer footnote
2. This is the second disclaimer. This one may be longer than the first, but luckily the pragraph spacing is set to 16px so that the line height keeps the text legible, but the disclaimers are spaced apart for proper spacing.
-
Fact 1
Lists
Links in a list have a large touch target and ample surrounding space to ensure the user does not accidentally hit a neighboring target. Copy uses sentence case with the exception of proper nouns (including page titles), which should be title case.
-
<ul class="links__listed">
<li><a href="#!">Vitamins</a></li>
<li><a href="#!">Calcium</a></li>
<li><a href="#!">Vitamin D</a></li>
</ul>
<ol class="links__listed ordered">
<li><a href="#!">Vitamins</a></li>
<li><a href="#!">Calcium</a></li>
<li><a href="#!">Vitamin D</a></li>
</ol> -
Unordered list
- Unordered item 1
- Unordered item 2 that wraps
- Nested item 1
- Nested item 2
- Unordered item 3
<!-- Unordered List -->
<ul class="list-styles list-styles__unordered">
<li>
<span class="list__master-title">List item</span>
<ul>
<li>
<list item>
<ul>
<li>List item</li>
<li>Add more list items ...</li>
</ul>
</li>
</ul>
</li>
</ul> -
Ordered list
- Unordered item 1
- Unordered item 2 that wraps
- Nested item 1
- Nested item 2
- Unordered item 3
<!-- Ordered List -->
<ol class="list-styles list-styles__ordered">
<li>
<span class="list__master-title">List item</span>
<ol>
<li>
<list item>
<ol>
<li>List item</li>
<li>Add more list items ...</li>
</ol>
</li>
</ol>
</li>
</ol>
<
Desktop, Tablet & MobileProduct Price
The VPD stands for "View Product Details." This size should only be used in regard to the price of a product. The type is the same size across devices and screen sizes.
-
$3519 35 dollar and 19 cents
<span class="price__contain">
<span aria-hidden=”true” class="product__price"><sup>$</sup>35<sup>19</sup></span>
<span class="sr-only">35 dollar and 19 cents</span>
</span> -
$3519 35 dollar and 19 cents
<span class="price__contain">
<span aria-hidden=”true” class="product__price product__price-red"><sup>$</sup>35<sup>19</sup></span>
<span class="sr-only">35 dollar and 19 cents</span>
</span> -
2/ $ 6 00or1/ $ 4 292 for 6 dollars and 0 cents or 1 for 4 dollars and 29 cents
<span class="price__contain or-price">
<span aria-hidden=”true” class="product__price or-price">
<div>
<sup>2/</sup><sup>$</sup>6<sup>00</sup>
</div>
<sub>or</sub>
<div>
<sup>1/</sup><sup>$</sup>4<sup>29</sup>
</div>
</span>
<span class="sr-only">2 for 6 dollars and 0 cents or 1 for 4 dollars and 29 cents</span>
</span> -
2/ $ 6 00or1/ $ 4 292 for 6 dollars and 0 cents or 1 for 4 dollars and 29 cents
<span class="price__contain product__price-red or-price">
<span aria-hidden=”true” class="product__price or-price">
<div>
<sup>2/</sup><sup>$</sup>6<sup>00</sup>
</div>
<sub>or</sub>
<div>
<sup>1/</sup><sup>$</sup>4<sup>29</sup>
</div>
</span>
<span class="sr-only">2 for 6 dollars and 0 cents or 1 for 4 dollars and 29 cents</span>
</span>