You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since March 2019, Dart Sass supports @use at-rule to import modules and is slowly deprecating @import. The projet is still using @import which makes it impossible to use with @use. For example :
Updating the project to the new Dart Sass module system will allow people to load Spectre.css code using @use.
Does anyone in the community has already gave a try to such a migration on Spectre.css project ? Does anyone has already met some issues with migrating the code ? I can give it a go and propose PR if everything work fine.
Cheers 🤙
The text was updated successfully, but these errors were encountered:
Since March 2019, Dart Sass supports
@use
at-rule to import modules and is slowly deprecating@import
. The projet is still using@import
which makes it impossible to use with@use
. For example :This code leads to an error when preprocessing it because the variable
$line-height
is not found in typography while it is defined in variables. The thing is@import
loads all the code from the other file and this way makes variables global, while@use
don't.Updating the project to the new Dart Sass module system will allow people to load Spectre.css code using
@use
.Does anyone in the community has already gave a try to such a migration on Spectre.css project ? Does anyone has already met some issues with migrating the code ? I can give it a go and propose PR if everything work fine.
Cheers 🤙
The text was updated successfully, but these errors were encountered: