serve fonts locally

This commit is contained in:
cupcakearmy 2019-08-08 13:52:45 +02:00
parent c5ad6bc9b2
commit 1c656c0edf
6 changed files with 25 additions and 4 deletions

View File

@ -1 +1,2 @@
@require './vendor/fonts/import.css'
@require './styles/*' @require './styles/*'

View File

@ -1,7 +1,3 @@
@import url('https://fonts.googleapis.com/css?family=Raleway')
@import url('https://fonts.googleapis.com/css?family=Merriweather:300,400,700')
@import url('https://fonts.googleapis.com/css?family=Inconsolata:400,700')
* *
box-sizing border-box box-sizing border-box
-webkit-overflow-scrolling touch -webkit-overflow-scrolling touch

BIN
src/vendor/fonts/Inconsolata-Bold.woff2 vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

24
src/vendor/fonts/import.css vendored Normal file
View File

@ -0,0 +1,24 @@
@font-face {
font-family: 'Inconsolata';
src: url('./Inconsolata-Regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Merriweather';
src: url('./Merriweather-Regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Inconsolata';
src: url('./Inconsolata-Bold.woff2') format('woff2');
font-weight: normal;
font-style: normal;
font-display: swap;
}