diff --git a/Package.swift b/Package.swift index 875647b..a2720ba 100644 --- a/Package.swift +++ b/Package.swift @@ -16,7 +16,10 @@ let package = Package( // Targets are the basic building blocks of a package, defining a module or a test suite. // Targets can depend on other targets in this package and products from dependencies. .target( - name: "Vortex"), + name: "Vortex", + resources: [ + .process("Resources/Assets.xcassets"), + ]), .testTarget( name: "VortexTests", dependencies: ["Vortex"]) diff --git a/Sources/Vortex/Views/VortexView.swift b/Sources/Vortex/Views/VortexView.swift index 8294e90..50532ff 100644 --- a/Sources/Vortex/Views/VortexView.swift +++ b/Sources/Vortex/Views/VortexView.swift @@ -43,11 +43,11 @@ public struct VortexView: View where Symbols: View { @ViewBuilder symbols: () -> Symbols = { Group { Image.circle - .frame(width: 16).blendMode(.plusLighter).tag("circle") + .frame(width: 16).blendMode(BlendMode.plusLighter).tag("circle") Image.confetti - .frame(width: 16, height: 16).blendMode(.plusLighter).tag("confetti") + .frame(width: 16, height: 16).blendMode(BlendMode.plusLighter).tag("confetti") Image.sparkle - .frame(width: 16, height: 16).blendMode(.plusLighter).tag("sparkle") + .frame(width: 16, height: 16).blendMode(BlendMode.plusLighter).tag("sparkle") } } ) {