next step
This commit is contained in:
@@ -8,6 +8,9 @@ import SwiftUI
|
||||
struct RollSummaryView: View {
|
||||
@EnvironmentObject var current: Roll
|
||||
@State private var showFillView = false
|
||||
@Environment(\.dieColorSelected) var colorSelected
|
||||
@Environment(\.dieColorPrimary) var colorPrimary
|
||||
|
||||
|
||||
var body: some View {
|
||||
VStack{
|
||||
@@ -24,7 +27,7 @@ struct RollSummaryView: View {
|
||||
.padding(.vertical, 12)
|
||||
.clipShape(Circle())
|
||||
.foregroundColor(.black)
|
||||
.glassEffect(.clear.tint(Color.blue.opacity(0.7)))
|
||||
.glassEffect(.clear.tint(colorPrimary))
|
||||
}
|
||||
}
|
||||
.sheet(isPresented: $showFillView,
|
||||
@@ -51,7 +54,7 @@ struct RollSummaryView: View {
|
||||
.padding(.vertical, 12)
|
||||
.clipShape(Circle())
|
||||
.foregroundColor(.black)
|
||||
.glassEffect(.clear.tint(Color.red.opacity(0.7)))
|
||||
.glassEffect(.clear.tint(colorSelected))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user