mirror of
https://github.com/ForkAwesome/Fork-Awesome.git
synced 2024-12-26 21:41:31 +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
|
@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
|
||||||
* -------------------------------------------------------
|
* -------------------------------------------------------
|
||||||
|
12
sass/font-awesome.scss
vendored
12
sass/font-awesome.scss
vendored
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user