Skip to content

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

@stefanv

Description

@stefanv

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions