add Thin
This commit is contained in:
@@ -65,6 +65,35 @@ $category: "sans-serif";
|
||||
}
|
||||
}
|
||||
|
||||
$Thin: "Montserrat-Thin";
|
||||
$family: "Montserrat/webfonts";
|
||||
$file-Thin: "Montserrat-Thin";
|
||||
$category: "sans-serif";
|
||||
|
||||
@mixin Montserrat-Thin($Thin, $file-Thin, $family, $category:"") {
|
||||
$filepath: "../fonts/" + $family + "/" + $file-Thin;
|
||||
@font-face {
|
||||
font-family: "#{$Thin}";
|
||||
src: url($filepath + ".eot");
|
||||
src: url($filepath + ".eot?#iefix") format('embedded-opentype'),
|
||||
url($filepath + ".woff") format('woff'),
|
||||
url($filepath + ".ttf") format('truetype'),
|
||||
url($filepath + ".svg#" + $Thin + "") format('svg');
|
||||
}
|
||||
|
||||
%#{$Thin} {
|
||||
font: {
|
||||
@if $category != "" {
|
||||
family: "#{$Thin}", #{$category};
|
||||
}
|
||||
@else {
|
||||
family: "#{$Thin}";
|
||||
weight: normal;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// font-size
|
||||
$font16: 1rem;
|
||||
$font18: 1.134rem;
|
||||
|
||||
Reference in New Issue
Block a user