When using ColorSets with configured dark mode, the gradient uses only the light mode variant. This is due to using CGColor for the CAGradientLayer.
Is it possible to implement the light and dark mode color variants? Currently we have to define two separate ColorSets for the light and dark versions.
When using
ColorSets
with configured dark mode, the gradient uses only the light mode variant. This is due to usingCGColor
for theCAGradientLayer
.Is it possible to implement the light and dark mode color variants? Currently we have to define two separate
ColorSets
for the light and dark versions.