design-system icon indicating copy to clipboard operation
design-system copied to clipboard

Sass: fix deprecated mixed declarations

Open gfellerph opened this issue 1 year ago • 0 comments

We're receiving the following deprecation warning when building our styles. Mixed declarations are being deprecated to match CSS behavior in the future. More info: https://sass-lang.com/documentation/breaking-changes/mixed-decls/

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 `& {}`.
### Tasks
- [ ] Check the warnings and update code to match new behavior

gfellerph avatar Jul 24 '24 13:07 gfellerph