font weight and style default to false
This commit is contained in:
parent
937a15a41a
commit
fce52690b9
@ -26,8 +26,8 @@
|
||||
$name,
|
||||
$font-files,
|
||||
$eot: false,
|
||||
$weight: normal,
|
||||
$style: normal
|
||||
$weight: false,
|
||||
$style: false
|
||||
) {
|
||||
$iefont: unquote("#{$eot}?iefix");
|
||||
@font-face {
|
||||
@ -37,9 +37,13 @@
|
||||
$font-files: font-url($iefont) unquote("format('eot')"), $font-files;
|
||||
}
|
||||
src: $font-files;
|
||||
@if $weight {
|
||||
font-weight: $weight;
|
||||
}
|
||||
@if $style {
|
||||
font-style: $style;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// EXAMPLE
|
||||
|
Loading…
Reference in New Issue
Block a user