From 5238e2c26d46dee3a82cdf89d3f916dda9fc10fb Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Wed, 22 Aug 2018 19:57:22 +0200 Subject: [PATCH] Pillar Font: Use variable for path --- src/styles/font-pillar.sass | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/styles/font-pillar.sass b/src/styles/font-pillar.sass index 11cd3c06..905d5410 100644 --- a/src/styles/font-pillar.sass +++ b/src/styles/font-pillar.sass @@ -1,7 +1,9 @@ +/* So it's possible to override the path before importing font-pillar.sass */ +$pillar-font-path: "../font" !default + @font-face font-family: 'pillar-font' - src: url('../font/pillar-font.eot?55726379') - src: url('../font/pillar-font.eot?55726379#iefix') format("embedded-opentype"), url('../font/pillar-font.woff2?55726379') format("woff2"), url('../font/pillar-font.woff?55726379') format("woff") + src: url('#{$pillar-font-path}/pillar-font.woff?55726379') format("woff"), url('#{$pillar-font-path}/pillar-font.woff2?55726379') format("woff2") font-weight: normal font-style: normal