From ec1d79b189aa9d2035abdbed266484a8e52b8d6a Mon Sep 17 00:00:00 2001 From: Bart van den Burg Date: Wed, 6 Mar 2013 13:54:08 +0100 Subject: [PATCH 1/2] fixed @font-face --- stylesheets/compass/css3/font-face.scss | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/stylesheets/compass/css3/font-face.scss b/stylesheets/compass/css3/font-face.scss index bd3db34..88cffb5 100644 --- a/stylesheets/compass/css3/font-face.scss +++ b/stylesheets/compass/css3/font-face.scss @@ -23,6 +23,15 @@ // Order of the includes matters, and it is: normal, bold, italic, bold+italic. +@function font-files($args...) { + $ret: (); + @for $i from 1 through length($args)/2 { + $ret: append($ret, (url(nth($args, $i * 2 - 1)) format(quote(nth($args, $i * 2)))), comma); + } + + @return $ret; +} + @mixin font-face( $name, $font-files, @@ -34,8 +43,8 @@ @font-face { font-family: quote($name); @if $eot { - src: font-url($eot); - $font-files: font-url($iefont) unquote("format('eot')"), $font-files; + src: url($eot); + $font-files: url($iefont) unquote("format('eot')"), $font-files; } src: $font-files; @if $weight { From 320a9e7aa769ed829f75c70cae67b77c0768e003 Mon Sep 17 00:00:00 2001 From: Erik Trapman Date: Tue, 12 Aug 2014 13:04:38 +0200 Subject: [PATCH 2/2] use versioned scssphp --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index edc914a..a11af3b 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "Compass for scssphp", "homepage": "http://leafo.net/scssphp/", "require": { - "leafo/scssphp": "dev-master" + "leafo/scssphp": "~0.0.15" }, "authors": [ {