OKLCH gradients for SwiftUI

OKLCH gradients for SwiftUI is a seamless integration designed to replace SwiftUI's standard LinearGradient, RadialGradient, EllipticalGradient, and AngularGradient shape styles. Leveraging OKLCH color blending techniques, these gradients offer enhanced visual appeal and aesthetic richness.

Implemented with iOS 17's Shader API, this solution ensures compatibility and future-proofing, as it utilizes official methods for custom rendering without relying on private APIs. By incorporating OKLCH gradients into your SwiftUI projects, you can elevate the visual experience and create more engaging and dynamic user interfaces.

Demonstration