diff --git a/Package.swift b/Package.swift index da9a616..aa46b3b 100644 --- a/Package.swift +++ b/Package.swift @@ -19,8 +19,8 @@ let package = Package( .library(name: "Showcase", type: .dynamic, targets: ["Showcase"]), ], dependencies: [ - fuse ? .package(url: "https://source.skip.tools/skip-fuse-ui.git", from: "1.0.0") - : .package(url: "https://source.skip.tools/skip-ui.git", from: "1.0.0"), + fuse ? .package(url: "https://github.com/fhasse95/skip-fuse-ui.git", branch: "Added-Angular-Gradient-Support") + : .package(url: "https://github.com/fhasse95/skip-ui.git", branch: "Added-Angular-Gradient-Support"), .package(url: "https://source.skip.tools/skip.git", from: "1.7.7"), .package(url: "https://source.skip.tools/skip-kit.git", from: "1.0.0"), .package(url: "https://source.skip.tools/skip-av.git", "0.6.2"..<"2.0.0"), 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" : {