Skip to content

madbucket/dist-font-inter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inter

Since Google Fonts only offers an outdated version of Inter that doesn't ship with all glyphs, here is a package with Inter v4 as originally distributed by RSMS.

Inter on GitHub

npm i --save dist-font-inter

Usage

Import the static Inter font:

import "dist-font-inter";

And use it in your styles as follows:

body {
  font-family: "Inter";
}

Variable Font

Alternatively, it is also possible to import the variable font:

import "dist-font-inter/variable";

And then used it as follows:

body {
  font-family: "InterVariable";
}