Merge pull request #259 from Anahkiasen/master

Update SASS files to unify variable names
This commit is contained in:
davegandy 2012-06-13 13:37:45 -07:00
commit c3b59a2ef2
2 changed files with 7 additions and 9 deletions

View File

@ -22,9 +22,9 @@
@import compass/css3/font-face @import compass/css3/font-face
$font_path: "../font/fontawesome-webfont" !default $fontAwesomePath: "../font/fontawesome-webfont" !default
+font-face("FontAwesome", font-files("#{$font_path}.woff", woff, "#{$font_path}.ttf", truetype, "#{$font_path}.otf", opentype, "#{$font_path}.svgz#FontAwesomeRegular", svg, "#{$font_path}.svg#FontAwesomeRegular", svg), "#{$font_path}.eot", normal, normal) +font-face("FontAwesome", font-files("#{$fontAwesomePath}.woff", woff, "#{$fontAwesomePath}.ttf", truetype, "#{$fontAwesomePath}.svg#FontAwesomeRegular", svg), "#{$fontAwesomePath}.eot", normal, normal)
/* Font Awesome styles /* Font Awesome styles
* ------------------------------------------------------- * -------------------------------------------------------

View File

@ -23,17 +23,15 @@
*/ */
@import "compass/css3/font-face"; @import "compass/css3/font-face";
$font_path: "../font/fontawesome-webfont" !default; $fontAwesomePath: "../font/fontawesome-webfont" !default;
@include font-face( @include font-face(
'FontAwesome', 'FontAwesome',
font-files( font-files(
"#{$font_path}.woff", woff, "#{$fontAwesomePath}.woff", woff,
"#{$font_path}.ttf", truetype, "#{$fontAwesomePath}.ttf", truetype,
"#{$font_path}.otf", opentype, "#{$fontAwesomePath}.svg#FontAwesomeRegular", svg),
"#{$font_path}.svgz#FontAwesomeRegular", svg, '#{$fontAwesomePath}.eot',
"#{$font_path}.svg#FontAwesomeRegular", svg),
'#{$font_path}.eot',
normal, normal,
normal); normal);