Remove gradient in some places for visibility
Changelog-Changed: Remove gradient in some places for visibility
This commit is contained in:
committed by
William Casarin
parent
f2ce146e98
commit
39f39c7382
@@ -22,7 +22,7 @@ struct WebsiteLink: View {
|
||||
}, label: {
|
||||
Text(link_text)
|
||||
.font(.footnote)
|
||||
.foregroundStyle(LINEAR_GRADIENT)
|
||||
.foregroundColor(.accentColor)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@ struct TabButton: View {
|
||||
.frame(width: 10, height: 10, alignment: .topTrailing)
|
||||
.alignmentGuide(VerticalAlignment.center) { a in a.height + 2.0 }
|
||||
.alignmentGuide(HorizontalAlignment.center) { a in a.width - 12.0 }
|
||||
.foregroundStyle(LINEAR_GRADIENT)
|
||||
.foregroundColor(.accentColor)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -541,7 +541,7 @@ struct KeyView: View {
|
||||
} icon: {
|
||||
Image(systemName: "square.on.square.dashed")
|
||||
.contentShape(Rectangle())
|
||||
.foregroundColor(.gray)
|
||||
.foregroundColor(.accentColor)
|
||||
.frame(width: 20, height: 20)
|
||||
}
|
||||
.labelStyle(IconOnlyLabelStyle())
|
||||
|
||||
@@ -33,7 +33,7 @@ struct SearchHomeView: View {
|
||||
|
||||
if(!search.isEmpty) {
|
||||
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))
|
||||
.onTapGesture {
|
||||
self.search = ""
|
||||
|
||||
Reference in New Issue
Block a user