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
On the latest version of sass, we now get deprecation warnings about certain syntax that is quite present in the code base:
Deprecation Warning: Sass's behavior for declarations that appear after nested
rules will be changing to match the behavior specified by CSS in an upcoming
version. To keep the existing behavior, move the declaration above the nested
rule. To opt into the new behavior, wrap the declaration in `& {}`.
The solution
Update syntax to fix warnings. Either of the suggested approaches in the warning should be amenable in our code, but may need case-by-case consideration for which is more readable and so on. In very rare cases, changes may create a specificity issue—we should lean on Chromatic to let us know.
The problem
On the latest version of
sass
, we now get deprecation warnings about certain syntax that is quite present in the code base:The solution
Update syntax to fix warnings. Either of the suggested approaches in the warning should be amenable in our code, but may need case-by-case consideration for which is more readable and so on. In very rare cases, changes may create a specificity issue—we should lean on Chromatic to let us know.
Additional information
Sass docs
The text was updated successfully, but these errors were encountered: