Use sass interpolation instead of concatenation for -path
This commit is contained in:
committed by
David Baumgold
parent
5d64f9a80b
commit
c0856232e1
@@ -135,52 +135,52 @@ $palettes: (
|
||||
// typography: config
|
||||
@include font-face(
|
||||
'Open Sans',
|
||||
$static-path + '/../fonts/OpenSans/OpenSans-Light-webfont',
|
||||
'#{$static-path}/../fonts/OpenSans/OpenSans-Light-webfont',
|
||||
300,
|
||||
$file-formats: woff woff2 ttf
|
||||
);
|
||||
@include font-face(
|
||||
'Open Sans',
|
||||
$static-path + '/../fonts/OpenSans/OpenSans-LightItalic-webfont',
|
||||
'#{$static-path}/../fonts/OpenSans/OpenSans-LightItalic-webfont',
|
||||
300,
|
||||
italic,
|
||||
$file-formats: woff woff2 ttf
|
||||
);
|
||||
@include font-face(
|
||||
'Open Sans',
|
||||
$static-path + '/../fonts/OpenSans/OpenSans-Regular-webfont',
|
||||
'#{$static-path}/../fonts/OpenSans/OpenSans-Regular-webfont',
|
||||
400,
|
||||
$file-formats: woff woff2 ttf
|
||||
);
|
||||
@include font-face(
|
||||
'Open Sans',
|
||||
$static-path + '/../fonts/OpenSans/OpenSans-Italic-webfont',
|
||||
'#{$static-path}/../fonts/OpenSans/OpenSans-Italic-webfont',
|
||||
400,
|
||||
italic,
|
||||
$file-formats: woff woff2 ttf
|
||||
);
|
||||
@include font-face(
|
||||
'Open Sans',
|
||||
$static-path + '/../fonts/OpenSans/OpenSans-Semibold-webfont',
|
||||
'#{$static-path}/../fonts/OpenSans/OpenSans-Semibold-webfont',
|
||||
600,
|
||||
$file-formats: woff woff2 ttf
|
||||
);
|
||||
@include font-face(
|
||||
'Open Sans',
|
||||
$static-path + '/../fonts/OpenSans/OpenSans-SemiboldItalic-webfont',
|
||||
'#{$static-path}/../fonts/OpenSans/OpenSans-SemiboldItalic-webfont',
|
||||
600,
|
||||
italic,
|
||||
$file-formats: woff woff2 ttf
|
||||
);
|
||||
@include font-face(
|
||||
'Open Sans',
|
||||
$static-path + '/../fonts/OpenSans/OpenSans-Bold-webfont',
|
||||
'#{$static-path}/../fonts/OpenSans/OpenSans-Bold-webfont',
|
||||
700,
|
||||
$file-formats: woff woff2 ttf
|
||||
);
|
||||
@include font-face(
|
||||
'Open Sans',
|
||||
$static-path + '/../fonts/OpenSans/OpenSans-BoldItalic-webfont',
|
||||
'#{$static-path}/../fonts/OpenSans/OpenSans-BoldItalic-webfont',
|
||||
700,
|
||||
italic,
|
||||
$file-formats: woff woff2 ttf
|
||||
|
||||
Reference in New Issue
Block a user