Skip to content

Commit e2e3d64

Browse files
committed
Add Mesh Color Customization
1 parent 3e04191 commit e2e3d64

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

.swiftpm/configuration/Package.resolved

Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Sources/SwiftNEW/SwiftNEW.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ public struct SwiftNEW: View {
120120
.init(0, 1), .init(0.5, 1), .init(1, 1)
121121
], colors: [
122122
Color(.clear), Color(.clear), Color(.clear),
123-
.accentColor.opacity(0.1), .accentColor.opacity(0.1), .accentColor.opacity(0.2),
124-
.accentColor.opacity(0.5), .accentColor.opacity(0.6), .accentColor.opacity(0.7)
123+
color.opacity(0.1), color.opacity(0.1), color.opacity(0.2),
124+
color.opacity(0.5), color.opacity(0.6), color.opacity(0.7)
125125
])
126126
.ignoresSafeArea(.all)
127127
.overlay(

0 commit comments

Comments
 (0)