Embed Inter font files and remove Google font links. Closes #547.

Only Woff2 fonts have been added, from here (utliising all charsets):
https://google-webfonts-helper.herokuapp.com/fonts/inter?subsets=cyrillic,cyrillic-ext,greek,greek-ext,latin,latin-ext,vietnamese
This commit is contained in:
SweetPPro 2021-11-10 16:13:42 +01:00 committed by GitHub
parent 46f13bf9cd
commit 35ac1ccdf5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 1 deletions

View file

@ -5,7 +5,6 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<link rel="icon" href="<%= BASE_URL %>static/favicon.png" />
<link href="https://fonts.googleapis.com/css?family=Inter:400,600" rel="stylesheet" />
<title><%= htmlWebpackPlugin.options.title %></title>
</head>
<body>

Binary file not shown.

Binary file not shown.

View file

@ -1,6 +1,24 @@
/* Import Bulma to set variables */
@import "~bulma/sass/utilities/_all";
/* import inter-regular */
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 400;
src: local(''),
url('assets/icons/inter-v3-regular.woff2') format('woff2'),
}
/* import inter-600 */
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 600;
src: local(''),
url('assets/icons/inter-v3-600.woff2') format('woff2'),
}
$body-family: "Inter", "Helvetica Neue", sans-serif;
$body-size: 15px;
$background: $white-bis;