Merge pull request #157 from vanokhin/#139

Add fa-content() function to preserve unicode values in CSS output
This commit is contained in:
Julien Deswaef 2019-02-16 12:14:43 -05:00 committed by GitHub
commit 3750335274
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1555 additions and 1543 deletions

11
scss/_functions.scss Normal file
View 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}\"");
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -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";