Remove gradient in some places for visibility

Changelog-Changed: Remove gradient in some places for visibility
This commit is contained in:
ericholguin
2023-03-29 15:19:11 -06:00
committed by William Casarin
parent f2ce146e98
commit 39f39c7382
4 changed files with 4 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ struct WebsiteLink: View {
}, label: { }, label: {
Text(link_text) Text(link_text)
.font(.footnote) .font(.footnote)
.foregroundStyle(LINEAR_GRADIENT) .foregroundColor(.accentColor)
}) })
} }
} }

View File

@@ -47,7 +47,7 @@ struct TabButton: View {
.frame(width: 10, height: 10, alignment: .topTrailing) .frame(width: 10, height: 10, alignment: .topTrailing)
.alignmentGuide(VerticalAlignment.center) { a in a.height + 2.0 } .alignmentGuide(VerticalAlignment.center) { a in a.height + 2.0 }
.alignmentGuide(HorizontalAlignment.center) { a in a.width - 12.0 } .alignmentGuide(HorizontalAlignment.center) { a in a.width - 12.0 }
.foregroundStyle(LINEAR_GRADIENT) .foregroundColor(.accentColor)
} }
} }
} }

View File

@@ -541,7 +541,7 @@ struct KeyView: View {
} icon: { } icon: {
Image(systemName: "square.on.square.dashed") Image(systemName: "square.on.square.dashed")
.contentShape(Rectangle()) .contentShape(Rectangle())
.foregroundColor(.gray) .foregroundColor(.accentColor)
.frame(width: 20, height: 20) .frame(width: 20, height: 20)
} }
.labelStyle(IconOnlyLabelStyle()) .labelStyle(IconOnlyLabelStyle())

View File

@@ -33,7 +33,7 @@ struct SearchHomeView: View {
if(!search.isEmpty) { if(!search.isEmpty) {
Text("Cancel", comment: "Cancel out of search view.") Text("Cancel", comment: "Cancel out of search view.")
.foregroundStyle(LINEAR_GRADIENT) .foregroundColor(.accentColor)
.padding(EdgeInsets(top: 0.0, leading: 0.0, bottom: 0.0, trailing: 10.0)) .padding(EdgeInsets(top: 0.0, leading: 0.0, bottom: 0.0, trailing: 10.0))
.onTapGesture { .onTapGesture {
self.search = "" self.search = ""