mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-25 21:11:30 +08:00
Unify variable names
This commit is contained in:
parent
99b5966fb4
commit
db9dd90c2a
@ -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