1.0.3 • Published 6 years ago

@citizensadvice/font-weight v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

Font-weight npm (scoped)

Defines the weight of the text.

Classes

Class nameValue
.normalNormal
.regularregular (400)
.semi-boldsemi-bold (600)
.boldbold (700)
.extra-boldextra-bold (700)

Examples

<p class="normal">...</p>
<p class="extra-bold">...</p>

Installation

$ npm install @citizensadvice/font-weight

now import into your stylesheet...

@import '@citizensadvice/font-weight/index.scss';

You can also make use of the unpkg service, try adding the link below to the head of your HTML file

<link src="https://unpkg.com/@citizensadvice/font-weight@latest/build/font-weight.css" />