From 069558de3610eac3a84a542c775bd8100201af6f Mon Sep 17 00:00:00 2001 From: Rasmus Tauts Date: Fri, 22 Sep 2023 11:51:42 +0300 Subject: [PATCH] fixup! Apply Global colors to all views Global colors were not applied to all views and this PR fixes this issue MOB-2679 --- GliaWidgets/Sources/Theme/Theme+Gva.swift | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/GliaWidgets/Sources/Theme/Theme+Gva.swift b/GliaWidgets/Sources/Theme/Theme+Gva.swift index fad3481ca..6f7fd7e70 100644 --- a/GliaWidgets/Sources/Theme/Theme+Gva.swift +++ b/GliaWidgets/Sources/Theme/Theme+Gva.swift @@ -26,7 +26,7 @@ extension Theme { borderColor: .clear, button: .init( textFont: font.caption, - textColor: .black, + textColor: color.baseDark, backgroundColor: .fill(color: color.baseLight), cornerRadius: 5, borderColor: .clear, @@ -40,7 +40,7 @@ extension Theme { textColor: color.primary, backgroundColor: .fill(color: color.baseLight), cornerRadius: 10, - borderColor: Color.primary, + borderColor: color.primary, borderWidth: 1 ) @@ -59,18 +59,18 @@ extension Theme { ), title: .init( font: font.mediumSubtitle1, - textColor: .black, + textColor: color.baseDark, textStyle: .body ), subtitle: .init( font: font.caption, - textColor: .black, + textColor: color.baseDark, textStyle: .caption1 ), button: .init( title: .init( font: font.caption, - textColor: .black, + textColor: color.baseDark, textStyle: .caption1 ), background: .init(