aboutsummaryrefslogtreecommitdiff
path: root/.build/iconfont.scss
diff options
context:
space:
mode:
authorcodecalm <codecalm@gmail.com>2021-01-26 14:19:20 +0100
committercodecalm <codecalm@gmail.com>2021-01-26 14:19:20 +0100
commit813d1224c144c146febf85a49862c20634a1aad1 (patch)
treecd0af3b3ff26c72dda28889d2777ad30da7635c3 /.build/iconfont.scss
parentMerge remote-tracking branch 'origin/master' (diff)
downloadtabler-icons-813d1224c144c146febf85a49862c20634a1aad1.tar.xz
`$ti-icon` SCSS prefix fix
Diffstat (limited to '.build/iconfont.scss')
-rw-r--r--.build/iconfont.scss6
1 files changed, 3 insertions, 3 deletions
diff --git a/.build/iconfont.scss b/.build/iconfont.scss
index 1e8f1d5d..d09a7ac1 100644
--- a/.build/iconfont.scss
+++ b/.build/iconfont.scss
@@ -5,7 +5,7 @@
$ti-font-family: '<%= fileName %>' !default;
$ti-font-path: 'fonts' !default;
$ti-font-display: null !default;
-$ti-icon-prefix: 'ti' !default;
+$ti-prefix: 'ti' !default;
@font-face {
font-family: $ti-font-family;
@@ -27,7 +27,7 @@ $ti-icon-prefix: 'ti' !default;
}
}
-.#{$ti-icon-prefix} {
+.#{$ti-prefix} {
font-family: $ti-font-family !important;
speak: none;
font-style: normal;
@@ -45,4 +45,4 @@ $ti-icon-prefix: 'ti' !default;
$ti-icon-<%= glyph.name %>: '\<%= glyph.unicode[0].codePointAt(0).toString(16) %>';<% }); %>
<% glyphs.forEach(function(glyph) { %>
-.#{$ti-icon-prefix}-<%= glyph.name %>:before { content: $ti-icon-<%= glyph.name %>; }<% }); %>
+.#{$ti-prefix}-<%= glyph.name %>:before { content: $ti-icon-<%= glyph.name %>; }<% }); %>