mirror of
https://github.com/ForkAwesome/Fork-Awesome.git
synced 2024-12-25 21:11:32 +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 "mixins";
|
||||
@import "functions";
|
||||
@import "path";
|
||||
@import "core";
|
||||
@import "larger";
|
||||
|
Loading…
Reference in New Issue
Block a user