Previously, this was all just a background-color
and background-image
. When we restored the gradients though, we had two background-image
s competing on the same element, causing rendering glitches. This refactors that code, creating a mixin to simplify things, so we can we easily use two background-image
s (SVG icon and gradient) when $enable-gradients
is set to true.
Fixes #24598 (closed).
Todo
-
Remove variable changes -
Double check validation states of custom checks