Use new variable to provide fonts directory

This commit is contained in:
benjamin melançon 2018-08-20 16:38:21 -04:00
parent 1e7b776e4b
commit 0b44e6b583

View file

@ -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;
}