Skip to content
This repository was archived by the owner on Apr 8, 2022. It is now read-only.

[BUG] Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0. #336

@simonschaufi

Description

@simonschaufi

Description

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

Recommendation: math.div($size, 2) or calc($size / 2)

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

   ╷
13 │   background-position: 0 0, $size/2 $size/2;
   │                                     ^^^^^^^
   ╵
    node_modules/bootstrap-colorpicker/src/sass/colorpicker.scss 13:37  bgCheckerBox()
    node_modules/bootstrap-colorpicker/src/sass/colorpicker.scss 213:3  @import

Context

  • bootstrap-colorpicker version: 2.4.0

Expected behavior

No deprecation warning

Use instead

Recommendation: math.div($size, 2) or calc($size / 2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions