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
+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"pins" : [
3+
{
4+
"identity" : "drops",
5+
"kind" : "remoteSourceControl",
6+
"location" : "https://github.com/omaralbeik/Drops.git",
7+
"state" : {
8+
"revision" : "a183ee6f79f21c940092a19c2cba756555422371",
9+
"version" : "1.7.0"
10+
}
11+
},
12+
{
13+
"identity" : "swiftvbkit",
14+
"kind" : "remoteSourceControl",
15+
"location" : "https://github.com/1998code/SwiftVBKit.git",
16+
"state" : {
17+
"revision" : "efd706f9b2522cb8f08c75a012c3c5478757379c",
18+
"version" : "1.4.0"
19+
}
20+
}
21+
],
22+
"version" : 2
23+
}

Sources/SwiftNEW/SwiftNEW.swift

+2-2
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)