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

Common CSS: Deprecated Usage of @import #5881

Open
texttechne opened this issue Jan 8, 2025 · 0 comments
Open

Common CSS: Deprecated Usage of @import #5881

texttechne opened this issue Jan 8, 2025 · 0 comments

Comments

@texttechne
Copy link

Describe the bug
When using the raw scss files of the common css package, SASS will show deprecation warnings:

Deprecation Warning: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import

We're using this in the context of React and sass-embedded.

To Reproduce
For us it boils down to having a _base.scss file with the following content:

@forward "@sap-ui/common-css/dist/sass/common-mixins";

And within the common-mixins there's the following statement @import "common-variables";

Expected behavior
No deprecation warnings. Project conforms to best practices of SASS.

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