font-face arguments deprecated, not removed

This commit is contained in:
Eric Meyer 2010-07-19 11:46:45 -06:00 committed by Chris Eppstein
parent 150000fb05
commit f6d3480685

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: quote($name);
@if $eot {