font-face arguments deprecated, not removed

This commit is contained in:
Eric Meyer 2010-07-19 11:46:45 -06:00
parent 4bd0570fee
commit f291845004

View File

@ -7,7 +7,10 @@
// for best results use this order: woff, opentype/truetype, svg
// * $eot is required by IE, and is a relative location of the eot file.
@mixin font-face($name, $font-files, $eot: false) {
@mixin font-face($name, $font-files, $eot: false, $postscript: false, $style: false) {
@if $postscript or $style {
@warn "The $postscript and $style variables have been deprecated in favor of the Paul Irish smiley bulletproof technique.";
}
@font-face {
font-family: "#{$name}";
@if $eot {