Skip to content

Commit

Permalink
Merge pull request FortAwesome#259 from Anahkiasen/master
Browse files Browse the repository at this point in the history
Update SASS files to unify variable names
  • Loading branch information
davegandy committed Jun 13, 2012
2 parents 1926e46 + db9dd90 commit c3b59a2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
4 changes: 2 additions & 2 deletions sass/font-awesome.sass
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
@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
* -------------------------------------------------------
Expand Down
12 changes: 5 additions & 7 deletions sass/font-awesome.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,15 @@
*/

@import "compass/css3/font-face";
$font_path: "../font/fontawesome-webfont" !default;
$fontAwesomePath: "../font/fontawesome-webfont" !default;

@include 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',
"#{$fontAwesomePath}.woff", woff,
"#{$fontAwesomePath}.ttf", truetype,
"#{$fontAwesomePath}.svg#FontAwesomeRegular", svg),
'#{$fontAwesomePath}.eot',
normal,
normal);

Expand Down

0 comments on commit c3b59a2

Please sign in to comment.