Snippets

Add Inter as a variable font

CSS Font Inter Variable Font

Paste the following code in the global CSS file:

@font-face {
  font-family: 'Inter';
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
  font-named-instance: 'Regular';
  src: url('/fonts/Inter.var.woff2') format('woff2');
}