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

@import is deprecated (warnings starting from Sass 1.8) #231

Open
stefanv opened this issue Dec 18, 2024 · 0 comments
Open

@import is deprecated (warnings starting from Sass 1.8) #231

stefanv opened this issue Dec 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@stefanv
Copy link

stefanv commented Dec 18, 2024

Describe the bug

https://sass-lang.com/documentation/breaking-changes/import/

We should transition to @use.

I think the syntax we need is:

@use "badge" as *;

Reproduce the bug

Compile Scientific Python Hugo theme with Hugo 1.140:

themes/scientific-python-hugo-theme/assets/theme-css/spht/index.scss:0:8: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

List your environment

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant