Cindori / FluidGradient

A fluid, animated gradient implemented with CoreAnimation and SwiftUI.
http://cindori.com/developer/animated-gradient
MIT License
292 stars 14 forks source link

Blob colors used in gradient do not change for dark mode #9

Open nathaliemerdan opened 5 months ago

nathaliemerdan commented 5 months ago

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.