#2607·sass

Forbid multiple !global and/or !default flags

Author: nex3Created Feb 21, 2019Updated Jan 6, 2026
Labelsenhancementrequires deprecationproposal acceptedblocked

Currently, variable assignments can have any number of !default or !global flags. Multiple instances of the same flag don't do anything, though. They should be rejected by implementations.

Since this is technically a breaking change, it will need a deprecation period. The spec already requires at most one of each flag, so it won't need to be updated.