mirror of
https://github.com/ForkAwesome/Fork-Awesome.git
synced 2024-12-26 13:31:31 +08:00
Merge pull request #157 from vanokhin/#139
Add fa-content() function to preserve unicode values in CSS output
This commit is contained in:
commit
3750335274
11
scss/_functions.scss
Normal file
11
scss/_functions.scss
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
// Functions
|
||||||
|
// --------------------------
|
||||||
|
|
||||||
|
// Helper function which adds quotes to preserve unicode values in CSS output.
|
||||||
|
//
|
||||||
|
// See: https://github.com/sass/sass/issues/1395
|
||||||
|
// See: https://stackoverflow.com/questions/30421570/sass-unicode-escape-is-not-preserved-in-css-file
|
||||||
|
|
||||||
|
@function fa-content($fa-var) {
|
||||||
|
@return unquote("\"#{$fa-var}\"");
|
||||||
|
}
|
1428
scss/_icons.scss
1428
scss/_icons.scss
File diff suppressed because it is too large
Load Diff
1658
scss/_variables.scss
1658
scss/_variables.scss
File diff suppressed because it is too large
Load Diff
@ -14,6 +14,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|||||||
|
|
||||||
@import "variables";
|
@import "variables";
|
||||||
@import "mixins";
|
@import "mixins";
|
||||||
|
@import "functions";
|
||||||
@import "path";
|
@import "path";
|
||||||
@import "core";
|
@import "core";
|
||||||
@import "larger";
|
@import "larger";
|
||||||
|
Loading…
Reference in New Issue
Block a user