Adds fa-content() function to preserve unicode values in CSS output. Fixes #139

This commit is contained in:
Vladimir Anokhin 2019-02-16 13:46:51 +03:00
parent ea10916556
commit e905ec92d4
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 "mixins";
@import "functions";
@import "path";
@import "core";
@import "larger";