Skip to content

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

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

Activity

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

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

        Participants

        @stefanv

        Issue actions

          @import is deprecated (warnings starting from Sass 1.8) · Issue #231 · executablebooks/sphinx-design