diff --git a/Sources/Showcase/GradientPlayground.swift b/Sources/Showcase/GradientPlayground.swift index d2dfdc3..071cd82 100644 --- a/Sources/Showcase/GradientPlayground.swift +++ b/Sources/Showcase/GradientPlayground.swift @@ -30,6 +30,12 @@ struct GradientPlayground: View { RadialGradient(colors: [.red, .blue], center: UnitPoint(x: 0.5, y: 0.5), startRadius: 25, endRadius: 50) .frame(width: 100, height: 100) } + HStack { + Text("AngularGradient") + Spacer() + AngularGradient(colors: [.red, .orange, .yellow, .green, .cyan, .blue, .purple, .red], center: .center) + .frame(width: 100, height: 100) + } } .padding() } @@ -38,4 +44,3 @@ struct GradientPlayground: View { } } } - diff --git a/Sources/Showcase/Resources/Localizable.xcstrings b/Sources/Showcase/Resources/Localizable.xcstrings index f9cf7c8..d5dddde 100644 --- a/Sources/Showcase/Resources/Localizable.xcstrings +++ b/Sources/Showcase/Resources/Localizable.xcstrings @@ -835,6 +835,9 @@ }, "Android: Disabled by default for performance" : { + }, + "AngularGradient" : { + }, "Animate All" : {