From 0b44e6b58325321bc8c0d093a1853b4556bf7f89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Mon, 20 Aug 2018 16:38:21 -0400 Subject: [PATCH] Use new variable to provide fonts directory --- agaric/sass/agaric/_variables.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/agaric/sass/agaric/_variables.scss b/agaric/sass/agaric/_variables.scss index 175ed70..031cb31 100755 --- a/agaric/sass/agaric/_variables.scss +++ b/agaric/sass/agaric/_variables.scss @@ -93,26 +93,26 @@ $link-active-border: $blue-light !default; @font-face { font-family: "Ionicons"; - src: url("fonts/ionicons.eot"); - src: url("fonts/ionicons.eot#iefix") format("embedded-opentype"), url("fonts/ionicons.ttf") format("truetype"), url("fonts/ionicons.woff") format("woff"), url("fonts/ionicons.svg#Ionicons") format("svg"); + src: url("#{$font-dir}/ionicons.eot"); + src: url("#{$font-dir}/ionicons.eot#iefix") format("embedded-opentype"), url("#{$font-dir}/ionicons.ttf") format("truetype"), url("#{$font-dir}/ionicons.woff") format("woff"), url("#{$font-dir}/ionicons.svg#Ionicons") format("svg"); font-weight: normal; font-style: normal; } @font-face { font-family: 'Poppins'; - src: url("fonts/Poppins-400.woff2") format('woff2'), url("fonts/Poppins-400.woff") format('woff'), url("fonts/Poppins-400.ttf") format('truetype'); + src: url("#{$font-dir}/Poppins-400.woff2") format('woff2'), url("#{$font-dir}/Poppins-400.woff") format('woff'), url("#{$font-dir}/Poppins-400.ttf") format('truetype'); font-weight: 400; font-style: normal; } @font-face { font-family: 'Poppins'; - src: url("fonts/Poppins-700.woff2") format('woff2'), url("fonts/Poppins-700.woff") format('woff'), url("fonts/Poppins-700.ttf") format('truetype'); + src: url("#{$font-dir}/Poppins-700.woff2") format('woff2'), url("#{$font-dir}/Poppins-700.woff") format('woff'), url("#{$font-dir}/Poppins-700.ttf") format('truetype'); font-weight: 700; font-style: normal; } @font-face { font-family: 'Anonymous Pro'; - src: url("fonts/AnonymousPro-400.woff2") format('woff2'), url("fonts/AnonymousPro-400.woff") format('woff'), url("fonts/AnonymousPro-400.ttf") format('truetype'); + src: url("#{$font-dir}/AnonymousPro-400.woff2") format('woff2'), url("#{$font-dir}/AnonymousPro-400.woff") format('woff'), url("#{$font-dir}/AnonymousPro-400.ttf") format('truetype'); font-weight: 700; font-style: normal; }