Skip to content

Fix SCSS Deprecations for @import and Global Built-ins #94

Description

@levitin

The @import rule and global built-in functions are deprecated in Dart Sass 1.80.0 and will be removed in Dart Sass 3.0.0. These deprecations cause issues like conflicts, slow compilation, and difficulties tracing variables/functions.

Action Required:

  • Restructure base theme, defining all used variables.
  • Replace @import rules with @use and @forward as per the new Sass module system.
  • Migrate global built-in functions to scoped equivalents to avoid future issues.

Further information:

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions