mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-27 14:01:30 +08:00
Merge pull request #259 from Anahkiasen/master
Update SASS files to unify variable names
This commit is contained in:
commit
c3b59a2ef2
@ -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
|
||||
* -------------------------------------------------------
|
||||
|
12
sass/font-awesome.scss
vendored
12
sass/font-awesome.scss
vendored
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user