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

Update SASS @import rule to @use #201

Open
chrisfalaska opened this issue Nov 25, 2024 · 2 comments
Open

Update SASS @import rule to @use #201

chrisfalaska opened this issue Nov 25, 2024 · 2 comments

Comments

@chrisfalaska
Copy link

chrisfalaska commented Nov 25, 2024

Please verify the version of auro-form you have installed

6.0.0

Please describe the bug

The SASS @import rule has been deprecated, leading to lots of warnings in the console.

nolimits4web/swiper#7771

@use 'libSupport/manageScope' as *;

Reproducing the error

When components that rely on the repository build, warnings are presented in the console:

@aurodesignsystem/webcorestylesheets/src/_breakpoints.scss 6:9  @use
@auro-formkit/auro-input:build:     src/styles/borders.scss 6:1   

Deprecation Warning: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

Expected behavior

There should be no deprecation warnings in the console.

@chrisfalaska
Copy link
Author

Switching from @import to @use has namespace implications, and can be a breaking change:

https://sass-lang.com/documentation/at-rules/use/

@chrisfalaska
Copy link
Author

See also: AlaskaAirlines/auro-formkit#63

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

No branches or pull requests

2 participants