More contrast on the share extension buttons and text

This commit is contained in:
Jackson Harper
2022-09-23 17:50:07 +08:00
parent fbd6e97be6
commit b4ae822199
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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
}