mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
More contrast on the share extension buttons and text
This commit is contained in:
parent
fbd6e97be6
commit
b4ae822199
2 changed files with 3 additions and 3 deletions
|
|
@ -110,7 +110,7 @@ public struct ShareExtensionView: View {
|
|||
VStack(alignment: .leading) {
|
||||
Text(viewModel.title ?? "")
|
||||
.lineLimit(1)
|
||||
.foregroundColor(.appGrayText)
|
||||
.foregroundColor(.appGrayTextContrast)
|
||||
.font(Font.system(size: 15, weight: .semibold))
|
||||
Text(viewModel.url ?? "")
|
||||
.lineLimit(1)
|
||||
|
|
@ -137,7 +137,7 @@ public struct ShareExtensionView: View {
|
|||
public var body: some View {
|
||||
VStack(alignment: .leading) {
|
||||
Text(titleText)
|
||||
.foregroundColor(.appGrayText)
|
||||
.foregroundColor(.appGrayTextContrast)
|
||||
.font(Font.system(size: 17, weight: .semibold))
|
||||
.frame(maxWidth: .infinity, alignment: .center)
|
||||
.padding(.top, 23)
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ public struct RoundedRectButtonStyle: ButtonStyle {
|
|||
let backgroundColor: Color
|
||||
let textColor: Color
|
||||
|
||||
public init(color: Color = .appButtonBackground, textColor: Color = .appGrayText) {
|
||||
public init(color: Color = .appButtonBackground, textColor: Color = .appGrayTextContrast) {
|
||||
self.backgroundColor = color
|
||||
self.textColor = textColor
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue