@citizensadvice/font-family

Sets the font-family for an element and its children.

Usage no npm install needed!

<script type="module">
  import citizensadviceFontFamily from 'https://cdn.skypack.dev/@citizensadvice/font-family';
</script>

README

Font-family npm (scoped)

Sets the font-family for an element and its children.

Classes

Class name Value
.open-sans $font-family (Open Sans,helvetica,helvetica neue,arial,sans-serif)

Examples

<div class="open-sans">Lorem ipsum</div>

Installation

$ npm install @citizensadvice/font-family

now import into your stylesheet...

@import '@citizensadvice/font-family/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-family@latest/build/font-family.css" />