[Koha-bugs] [Bug 35314] New: yarn css:build generates deprecation warnings
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Nov 11 15:52:18 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35314
Bug ID: 35314
Summary: yarn css:build generates deprecation warnings
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: koha-bugs at lists.koha-community.org
Reporter: jonathan.druart+koha at gmail.com
QA Contact: testopia at bugs.koha-community.org
DEPRECATION WARNING: Using / for division outside of calc() is deprecated and
will be removed in Dart Sass 2.0.0.
Recommendation: math.div($spacer, 2) or calc($spacer / 2)
More info and automated migrator: https://sass-lang.com/d/slash-div
╷
302 │ $headings-margin-bottom: $spacer / 2 !default;
│ ^^^^^^^^^^^
╵
node_modules/bootstrap/scss/_variables.scss 302:31 @import
koha-tmpl/opac-tmpl/bootstrap/css/src/_common.scss 38:9 @import
koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss 1: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($input-padding-y, 2) or calc($input-padding-y / 2)
More info and automated migrator: https://sass-lang.com/d/slash-div
╷
498 │ $input-height-inner-quarter: add($input-line-height * .25em,
$input-padding-y / 2) !default;
│
^^^^^^^^^^^^^^^^^^^^
╵
node_modules/bootstrap/scss/_variables.scss 498:73 @import
koha-tmpl/opac-tmpl/bootstrap/css/src/_common.scss 38:9 @import
koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss 1: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($custom-control-indicator-size, 2) or
calc($custom-control-indicator-size / 2)
More info and automated migrator: https://sass-lang.com/d/slash-div
╷
568 │ $custom-switch-indicator-border-radius:
$custom-control-indicator-size / 2 !default;
│
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
node_modules/bootstrap/scss/_variables.scss 568:49 @import
koha-tmpl/opac-tmpl/bootstrap/css/src/_common.scss 38:9 @import
koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss 1: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($spacer, 2) or calc($spacer / 2)
More info and automated migrator: https://sass-lang.com/d/slash-div
╷
713 │ $nav-divider-margin-y: $spacer / 2 !default;
│ ^^^^^^^^^^^
╵
node_modules/bootstrap/scss/_variables.scss 713:37 @import
koha-tmpl/opac-tmpl/bootstrap/css/src/_common.scss 38:9 @import
koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss 1: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($spacer, 2) or calc($spacer / 2)
More info and automated migrator: https://sass-lang.com/d/slash-div
╷
718 │ $navbar-padding-y: $spacer / 2 !default;
│ ^^^^^^^^^^^
╵
node_modules/bootstrap/scss/_variables.scss 718:37 @import
koha-tmpl/opac-tmpl/bootstrap/css/src/_common.scss 38:9 @import
koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss 1:9 root stylesheet
WARNING: 45 repetitive deprecation warnings omitted.
DEPRECATION WARNING: Using / for division outside of calc() is deprecated and
will be removed in Dart Sass 2.0.0.
Recommendation: math.div($spacer, 2) or calc($spacer / 2)
More info and automated migrator: https://sass-lang.com/d/slash-div
╷
302 │ $headings-margin-bottom: $spacer / 2 !default;
│ ^^^^^^^^^^^
╵
node_modules/bootstrap/scss/_variables.scss 302:31 @import
koha-tmpl/opac-tmpl/bootstrap/css/src/_common.scss 38:9 @import
koha-tmpl/opac-tmpl/bootstrap/css/src/sco.scss 1: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($input-padding-y, 2) or calc($input-padding-y / 2)
More info and automated migrator: https://sass-lang.com/d/slash-div
╷
498 │ $input-height-inner-quarter: add($input-line-height * .25em,
$input-padding-y / 2) !default;
│
^^^^^^^^^^^^^^^^^^^^
╵
node_modules/bootstrap/scss/_variables.scss 498:73 @import
koha-tmpl/opac-tmpl/bootstrap/css/src/_common.scss 38:9 @import
koha-tmpl/opac-tmpl/bootstrap/css/src/sco.scss 1: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($custom-control-indicator-size, 2) or
calc($custom-control-indicator-size / 2)
More info and automated migrator: https://sass-lang.com/d/slash-div
╷
568 │ $custom-switch-indicator-border-radius:
$custom-control-indicator-size / 2 !default;
│
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
node_modules/bootstrap/scss/_variables.scss 568:49 @import
koha-tmpl/opac-tmpl/bootstrap/css/src/_common.scss 38:9 @import
koha-tmpl/opac-tmpl/bootstrap/css/src/sco.scss 1: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($spacer, 2) or calc($spacer / 2)
More info and automated migrator: https://sass-lang.com/d/slash-div
╷
713 │ $nav-divider-margin-y: $spacer / 2 !default;
│ ^^^^^^^^^^^
╵
node_modules/bootstrap/scss/_variables.scss 713:37 @import
koha-tmpl/opac-tmpl/bootstrap/css/src/_common.scss 38:9 @import
koha-tmpl/opac-tmpl/bootstrap/css/src/sco.scss 1: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($spacer, 2) or calc($spacer / 2)
More info and automated migrator: https://sass-lang.com/d/slash-div
╷
718 │ $navbar-padding-y: $spacer / 2 !default;
│ ^^^^^^^^^^^
╵
node_modules/bootstrap/scss/_variables.scss 718:37 @import
koha-tmpl/opac-tmpl/bootstrap/css/src/_common.scss 38:9 @import
koha-tmpl/opac-tmpl/bootstrap/css/src/sco.scss 1:9 root stylesheet
WARNING: 45 repetitive deprecation warnings omitted.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list