Skip to content

SASS Depcrecation Warnings #127

Open
@FrostKiwi

Description

Right now SASS warns against 4 depcrecation, around darken(), lighten(), Global built-in functions and @import

@import

Deprecation Warning: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

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

   ╷
15 │ @import "main";
   │         ^^^^^^
   ╵
    node_modules\sakura.css\scss\sakura-vader.scss 15:9  root stylesheet

Global built-in functions

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

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

  ╷
2 │ $color-blossom: lighten($color-force, 20%);
  │                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
    node_modules\sakura.css\scss\sakura-vader.scss 2:17  root stylesheet

lighten()

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

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

  ╷
2 │ $color-blossom: lighten($color-force, 20%);
  │                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
    node_modules\sakura.css\scss\sakura-vader.scss 2:17  root stylesheet

darken()

Deprecation Warning: darken() is deprecated. Suggestions:

color.scale($color, $lightness: -13.1443298969%)
color.adjust($color, $lightness: -10%)

More info: https://sass-lang.com/d/color-functions

   ╷
78 │         color: darken($color-blossom, 10%);
   │                ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
    node_modules\sakura.css\scss\_main.scss 78:16        @import
    node_modules\sakura.css\scss\sakura-vader.scss 15:9  root stylesheet

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions