Skip to content
This repository was archived by the owner on Dec 4, 2025. It is now read-only.

Solved Deprecation Warning for Dart Sass 3.0.0 [Enhancement] - #243

Open
HrishiDhondge wants to merge 1 commit into
maximevaillancourt:mainfrom
HrishiDhondge:main
Open

Solved Deprecation Warning for Dart Sass 3.0.0 [Enhancement]#243
HrishiDhondge wants to merge 1 commit into
maximevaillancourt:mainfrom
HrishiDhondge:main

Conversation

@HrishiDhondge

Copy link
Copy Markdown

Hello,

The current style for importing _sass modules (in styles.scss) will be deprecated soon, resulting in the following deprecation warning. There are multiple such warnings. I updated the importing style to @use to get rid of these warnings.

This will prevent breaking of code when the support is completely stopped.

Deprecation Warning [import]: 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

  ╷
1 │ @import "../_sass/normalize";
  │         ^^^^^^^^^^^^^^^^^^^^
  ╵
    ~/digital-garden-jekyll-template/styles.scss 1:9  root stylesheet

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant