🍱 Site > Add fonts

This commit is contained in:
brunosimon
2017-12-27 19:51:47 +01:00
parent 3b8b991bc9
commit 2a59476a6a
19 changed files with 16 additions and 2 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ module.exports = {
index: path.resolve(__dirname, '../dist/index.html'),
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: 'static',
assetsPublicPath: '',
assetsPublicPath: '/keppler/',
productionSourceMap: true,
// Gzip off by default as many popular static hosts such as
// Surge or Netlify already gzip all static assets for you.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+11
View File
@@ -0,0 +1,11 @@
@font-face
font-family 'Avenir'
src url('fonts/subset-Avenir-Medium.woff2') format('woff2'), url('fonts/subset-Avenir-Medium.woff') format('woff')
font-weight 500
font-style normal
@font-face
font-family 'Avenir'
src url('fonts/subset-Avenir-Light.woff2') format('woff2'), url('fonts/subset-Avenir-Light.woff') format('woff')
font-weight 300
font-style normal
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+3
View File
@@ -1,4 +1,7 @@
@import 'reset.styl'
@import 'fonts.styl'
body
background: #eee
font-family Avenir
font-weight 500
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.