tabler / tabler-icons

A set of over 5700 free MIT-licensed high-quality SVG icons for you to use in your web projects.
https://tabler.io/icons
MIT License
18.33k stars 919 forks source link

Deprecation warnings for Sass global built-in functions #1255

Open ethancrawford opened 4 weeks ago

ethancrawford commented 4 weeks ago

When building the css for a project that makes use of the tabler-icons webfont and the sass javascript package, several warnings are generated about deprecated functions:

yarn build:css --watch
Deprecation Warning: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
Use string.unquote instead.

More info and automated migrator: https://sass-lang.com/d/import

   ╷
36 │   @return unquote("\"")+unquote(str-insert($str, "\\", 1))+unquote("\"")
   │           ^^^^^^^^^^^^^
   ╵
    @tabler/icons-webfont/dist/tabler-icons.scss 36:11  unicode()
    @tabler/icons-webfont/dist/tabler-icons.scss 40:15  @use
    app/assets/stylesheets/application.sass.scss 18:1   root stylesheet

Deprecation Warning: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
Use string.insert instead.

More info and automated migrator: https://sass-lang.com/d/import

   ╷
36 │   @return unquote("\"")+unquote(str-insert($str, "\\", 1))+unquote("\"")
   │                                 ^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
    @tabler/icons-webfont/dist/tabler-icons.scss 36:33  unicode()
    @tabler/icons-webfont/dist/tabler-icons.scss 40:15  @use
    app/assets/stylesheets/application.sass.scss 18:1   root stylesheet

Deprecation Warning: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
Use string.unquote instead.

More info and automated migrator: https://sass-lang.com/d/import

   ╷
36 │   @return unquote("\"")+unquote(str-insert($str, "\\", 1))+unquote("\"")
   │                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
    @tabler/icons-webfont/dist/tabler-icons.scss 36:25  unicode()
    @tabler/icons-webfont/dist/tabler-icons.scss 40:15  @use
    app/assets/stylesheets/application.sass.scss 18:1   root stylesheet

Deprecation Warning: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
Use string.unquote instead.

More info and automated migrator: https://sass-lang.com/d/import

   ╷
36 │   @return unquote("\"")+unquote(str-insert($str, "\\", 1))+unquote("\"")
   │                                                            ^^^^^^^^^^^^^
   ╵
    @tabler/icons-webfont/dist/tabler-icons.scss 36:60  unicode()
    @tabler/icons-webfont/dist/tabler-icons.scss 40:15  @use
    app/assets/stylesheets/application.sass.scss 18:1   root stylesheet