Skip to content

Conversation

mohamad4j
Copy link

Summary

This PR replaces all deprecated @import statements with the new @use and @forward syntax introduced in Dart Sass.
The change removes deprecation warnings during build and aligns the codebase with the current Sass best practices.

Changes

  • Replaced @import statements with @use or @forward.
  • Namespaced variables and mixins where necessary.
  • Resolved duplicate variable conflicts (e.g., $trans-cubic-bezier) by making global mixins.
  • Verified that all styles compile correctly without warnings.

Why

  • @import is officially deprecated and will be removed in future Sass versions. Also there were many warning errors in build project
  • @use/@forward provide better scoping, prevent global leaks, and improve maintainability.

Notes

  • All tests and style builds pass successfully.
  • No breaking changes for consumers of the package.

@guhweb
Copy link

guhweb commented Sep 16, 2025

@Maronato approve this pr plz?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants