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

Fix of deprecation in bootstrap4 theme with sass 1.63.3 #2015

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kkozlik
Copy link

@kkozlik kkozlik commented Jun 13, 2023

Fixing these two deprecation warnings:

Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($fs, $fs * 0 + calc(1 / $rfs-rem-value)) or calc($fs / ($fs * 0 + calc(1 / $rfs-rem-value)))

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

   ╷
85 │       $fs: $fs / ($fs * 0 + calc(1 / $rfs-rem-value));
   │            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
    node_modules/@selectize/selectize/dist/lib/bootstrap4/vendor/_rfs.scss 85:12      rfs()
    node_modules/@selectize/selectize/dist/lib/bootstrap4/vendor/_rfs.scss 199:3      font-size()
    node_modules/@selectize/selectize/dist/lib/bootstrap4/mixins/_buttons.scss 106:3  button-size()
    src/scss/custom.scss 48:5                                                         @import
    src/scss/gui.scss 116:9                                                           root stylesheet

Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($fs, $rfs-rem-value) or calc($fs / $rfs-rem-value)

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

   ╷
90 │       $rfs-static: #{$fs / $rfs-rem-value}rem#{$rfs-suffix};
   │                      ^^^^^^^^^^^^^^^^^^^^
   ╵
    node_modules/@selectize/selectize/dist/lib/bootstrap4/vendor/_rfs.scss 90:22      rfs()
    node_modules/@selectize/selectize/dist/lib/bootstrap4/vendor/_rfs.scss 199:3      font-size()
    node_modules/@selectize/selectize/dist/lib/bootstrap4/mixins/_buttons.scss 106:3  button-size()
    src/scss/custom.scss 48:5                                                         @import
    src/scss/gui.scss 116:9                                                           root stylesheet

…ated and will be removed in Dart Sass 2.0.0.
@github-actions
Copy link
Contributor

This pull request is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days

@kkozlik
Copy link
Author

kkozlik commented Oct 12, 2023

bump

Copy link
Contributor

This pull request is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days

@kkozlik
Copy link
Author

kkozlik commented Apr 22, 2024

PR still needs to be accepted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant