mirror of
https://github.com/tabler/tabler-icons.git
synced 2025-08-31 17:42:15 +02:00
Remove sass deprecation warnings (#1289)
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
* Tabler Icons <%= v %> by tabler - https://tabler.io
|
||||
* License - https://github.com/tabler/tabler-icons/blob/master/LICENSE
|
||||
*/
|
||||
@use "sass:string";
|
||||
|
||||
$ti-font-family: '<%= fileName %>' !default;
|
||||
$ti-font-path: 'fonts' !default;
|
||||
$ti-font-display: null !default;
|
||||
@@ -42,7 +44,7 @@ $ti-prefix: 'ti' !default;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
@function unicode($str) {
|
||||
@return unquote("\"")+unquote(str-insert($str, "\\", 1))+unquote("\"")
|
||||
@return string.unquote("\"")+string.unquote(string.insert($str, "\\", 1))+string.unquote("\"")
|
||||
}
|
||||
|
||||
<% glyphs.forEach(function(glyph) { %>
|
||||
|
@@ -3,6 +3,8 @@
|
||||
* Tabler Icons <%= v %> by tabler - https://tabler.io
|
||||
* License - https://github.com/tabler/tabler-icons/blob/master/LICENSE
|
||||
*/
|
||||
@use "sass:string";
|
||||
|
||||
$ti-font-family: '<%= fileName %>' !default;
|
||||
$ti-font-path: './fonts' !default;
|
||||
$ti-font-display: null !default;
|
||||
@@ -33,7 +35,7 @@ $ti-prefix: 'ti' !default;
|
||||
}
|
||||
|
||||
@function unicode($str) {
|
||||
@return unquote("\"")+unquote(str-insert($str, "\\", 1))+unquote("\"")
|
||||
@return string.unquote("\"")+string.unquote(string.insert($str, "\\", 1))+string.unquote("\"")
|
||||
}
|
||||
|
||||
<% glyphs.forEach(function(glyph) { %>
|
||||
|
Reference in New Issue
Block a user