🍱 Site > Add fonts
This commit is contained in:
@@ -7,7 +7,7 @@ module.exports = {
|
|||||||
index: path.resolve(__dirname, '../dist/index.html'),
|
index: path.resolve(__dirname, '../dist/index.html'),
|
||||||
assetsRoot: path.resolve(__dirname, '../dist'),
|
assetsRoot: path.resolve(__dirname, '../dist'),
|
||||||
assetsSubDirectory: 'static',
|
assetsSubDirectory: 'static',
|
||||||
assetsPublicPath: '',
|
assetsPublicPath: '/keppler/',
|
||||||
productionSourceMap: true,
|
productionSourceMap: true,
|
||||||
// Gzip off by default as many popular static hosts such as
|
// Gzip off by default as many popular static hosts such as
|
||||||
// Surge or Netlify already gzip all static assets for you.
|
// 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.
@@ -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.
@@ -1,4 +1,7 @@
|
|||||||
@import 'reset.styl'
|
@import 'reset.styl'
|
||||||
|
@import 'fonts.styl'
|
||||||
|
|
||||||
body
|
body
|
||||||
background: #eee
|
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.
Reference in New Issue
Block a user