summaryrefslogtreecommitdiff
path: root/pyssg.xyz/live/static/fork-awesome/scss/_functions.scss
diff options
context:
space:
mode:
Diffstat (limited to 'pyssg.xyz/live/static/fork-awesome/scss/_functions.scss')
-rw-r--r--pyssg.xyz/live/static/fork-awesome/scss/_functions.scss11
1 files changed, 11 insertions, 0 deletions
diff --git a/pyssg.xyz/live/static/fork-awesome/scss/_functions.scss b/pyssg.xyz/live/static/fork-awesome/scss/_functions.scss
new file mode 100644
index 0000000..7ef2336
--- /dev/null
+++ b/pyssg.xyz/live/static/fork-awesome/scss/_functions.scss
@@ -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}\"");
+}