Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sass deprecation warning #517

Closed
joostdebruijn opened this issue Nov 4, 2022 · 2 comments
Closed

Sass deprecation warning #517

joostdebruijn opened this issue Nov 4, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@joostdebruijn
Copy link

Describe the bug
Sass is throwing a depreciation warning during build time:

Deprecation Warning: $weight: Passing a number without unit % (0.8) is deprecated.

To preserve current behavior: $weight * 1%

More info: https://sass-lang.com/d/function-units

   ╷
31 │ $select-color-dropdown-border-top: mix($input-border-color, $input-bg, 0.8) !default;
   │                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
    node_modules/tom-select/src/scss/tom-select.bootstrap5.scss 31:36

To Reproduce
Do an import tom-select.bootstrap5.scss and build your project with Sass 1.56.0. The depreciation message above will be displayed.

Expected behavior
Don't receive any deprecation messages.

Additional context
It's happening with the latest release of this package: v2.2.2.

@joostdebruijn joostdebruijn added the bug Something isn't working label Nov 4, 2022
@mmarton
Copy link

mmarton commented Nov 28, 2022

same deprecation is present with BS4
@import '~tom-select/src/scss/tom-select.bootstrap4.scss';

@BariqDharmawan
Copy link

Already PR on #534 . Just have to wait owner accept the PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants