@jswork/apply7-fonthub
v1.0.2
Published
apply7-FontHub offers optimized Google Fonts for English text and numbers.
Downloads
411
Readme
apply7-fonthub
apply7-FontHub offers optimized Google Fonts for English text and numbers.
installation
yarn add @jswork/apply7-fonthub
usage
.ff-inter {
font-family: 'Inter', Arial, Helvetica, sans-serif;
font-style: normal;
}
.ff-open-sans {
font-family: 'Open Sans', Arial, Helvetica, sans-serif;
font-style: normal;
}
google fonts
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap" rel="stylesheet">
resources
- https://fonts.google.com/selection/embed
- https://fonts.googleapis.com/css2?family=Inter:wght@900&display=swap