From b4ae822199e12eca3fd7dbc347acb20216fbd357 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Fri, 23 Sep 2022 17:50:07 +0800 Subject: [PATCH] More contrast on the share extension buttons and text --- .../App/AppExtensions/Share/Views/ShareExtensionView.swift | 4 ++-- apple/OmnivoreKit/Sources/Views/Buttons/ButtonStyles.swift | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apple/OmnivoreKit/Sources/App/AppExtensions/Share/Views/ShareExtensionView.swift b/apple/OmnivoreKit/Sources/App/AppExtensions/Share/Views/ShareExtensionView.swift index 93093f2ff..a4d58cc84 100644 --- a/apple/OmnivoreKit/Sources/App/AppExtensions/Share/Views/ShareExtensionView.swift +++ b/apple/OmnivoreKit/Sources/App/AppExtensions/Share/Views/ShareExtensionView.swift @@ -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) diff --git a/apple/OmnivoreKit/Sources/Views/Buttons/ButtonStyles.swift b/apple/OmnivoreKit/Sources/Views/Buttons/ButtonStyles.swift index 336dd22d0..7fa9be7f5 100644 --- a/apple/OmnivoreKit/Sources/Views/Buttons/ButtonStyles.swift +++ b/apple/OmnivoreKit/Sources/Views/Buttons/ButtonStyles.swift @@ -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 }