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
After a LibSass 3.6.4 update I started receiving deprecation warnings, an example follows:
DEPRECATION WARNING on line 120 of foundation-sites/scss/util/_color.scss:
!global assignments won’t be able to declare new variables in future versions.
Consider adding $secondary-color: null at the top level.
Compatibility: Dart Sass since 2.0.0 LibSass✗Ruby Sass✗
Older Sass versions allowed !global to be used for a variable that doesn’t exist yet. This behavior was deprecated to make sure each stylesheet declares the same variables no matter how it’s executed.
The !global flag may only be used to set a variable that has already been declared at the top level of a file. It may not be used to declare a new variable.
The text was updated successfully, but these errors were encountered:
Downgrading sassc from 2.40 to 2.2.1 is NOT a solution since it creates incompatibilities with the current version of nodejs (12.x), version installed by default when building a project in docker using the ruby-2.7.2-alpine image.
Waiting for Foundation 7 is not the solution either, the last update on the Project's board dates from November 26th 2019, that's 14 months without any activity. It seems that the Sun will run out of its hydrogen before the Foundation 7 release.
I have managed to fix the problem locally. So, this is what I'll do: I will fork the project, add the patches, commit and submit a pull-request. As we say in French: "On est jamais mieux servis que par soi-même".
foundation-sites 6.6.3
After a LibSass 3.6.4 update I started receiving deprecation warnings, an example follows:
DEPRECATION WARNING on line 120 of foundation-sites/scss/util/_color.scss:
!global assignments won’t be able to declare new variables in future versions.
Consider adding $secondary-color: null at the top level.
snippet reference https://sass-lang.com/documentation/variables
⚠️ Heads up!
Compatibility: Dart Sass since 2.0.0 LibSass✗Ruby Sass✗
Older Sass versions allowed !global to be used for a variable that doesn’t exist yet. This behavior was deprecated to make sure each stylesheet declares the same variables no matter how it’s executed.
The !global flag may only be used to set a variable that has already been declared at the top level of a file. It may not be used to declare a new variable.
The text was updated successfully, but these errors were encountered: