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 Depcrecation Warnings #127

Open
FrostKiwi opened this issue Dec 6, 2024 · 0 comments
Open

SASS Depcrecation Warnings #127

FrostKiwi opened this issue Dec 6, 2024 · 0 comments

Comments

@FrostKiwi
Copy link
Contributor

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
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

No branches or pull requests

1 participant