Fix deprecated '@elseif' syntax #600
Merged
+7
−7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
READY FOR REVIEW
Summary
Fixes a few instances in Sass of
@elseif
syntax and replaces it with the support@else if
syntax. Newer versions of Sass have deprecated the@elseif
syntax and it will be dropped in future versions.Needed By (Date)
No specific date
Urgency
Nothing is broken now. For those using the latest version of Sass, there are deprecation warning in every build which can cause lots of noise and make it hards to see other errors. The old syntax will probably continue to be supported for 6 months to a year or more.
Steps to Test
Affected Projects or Products
The H&S Drupal 8 project is currently getting these deprecation errors with new themes that are currently in development. This is because we are using the latest version of Dart Sass.
Associated Issues and/or People
Accessibility Checks
See Also