From 813d1224c144c146febf85a49862c20634a1aad1 Mon Sep 17 00:00:00 2001 From: codecalm Date: Tue, 26 Jan 2021 14:19:20 +0100 Subject: `$ti-icon` SCSS prefix fix --- .build/iconfont.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.build/iconfont.scss') 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 %>; }<% }); %> -- cgit v1.2.1