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

Prepare for Dart Sass 3.0.0 – Resolve Deprecations #2119

Open
krishana7911 opened this issue Feb 19, 2025 · 0 comments
Open

Prepare for Dart Sass 3.0.0 – Resolve Deprecations #2119

krishana7911 opened this issue Feb 19, 2025 · 0 comments

Comments

@krishana7911
Copy link
Contributor

krishana7911 commented Feb 19, 2025

Description

Dart Sass 3.0.0 will introduce breaking changes by removing deprecated features. While we still have time, our build commands already show deprecation warnings, meaning we need to fix them before the release to prevent potential breakages.

Impact

  • Future updates (v3.x.x) to Dart Sass will break our styles if these issues are unresolved.
  • Deprecation warnings are already visible in the build process.

Reference

Next Steps

  • Identify and fix all deprecated Sass features in our codebase.
  • Replace @import with @use and @forward.
  • Update division operations (/) to use math.div().
  • The .length property on lists is deprecated; we should use list.length() instead.
  • Ensure proper scoping for variables and mixins.
  • Check for other deprecated functions & syntax
    • Update any deprecated functions (like unquote(), which should be replaced with quote()).
    • Review any third-party dependencies that rely on outdated Sass syntax.

cc: @Pradeep1308

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

No branches or pull requests

1 participant