Skip to content

Commit

Permalink
font weight and style default to false
Browse files Browse the repository at this point in the history
  • Loading branch information
lyuba committed Jul 15, 2011
1 parent 937a15a commit fce5269
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions frameworks/compass/stylesheets/compass/css3/_font-face.scss
Expand Up @@ -26,8 +26,8 @@
$name,
$font-files,
$eot: false,
$weight: normal,
$style: normal
$weight: false,
$style: false
) {
$iefont: unquote("#{$eot}?iefix");
@font-face {
Expand All @@ -37,8 +37,12 @@
$font-files: font-url($iefont) unquote("format('eot')"), $font-files;
}
src: $font-files;
font-weight: $weight;
font-style: $style;
@if $weight {
font-weight: $weight;
}
@if $style {
font-style: $style;
}
}
}

Expand Down

0 comments on commit fce5269

Please sign in to comment.