From 07b46b11bf393d0c3cdba92c9c9a8d9b278d09a4 Mon Sep 17 00:00:00 2001 From: Rasmus Tauts Date: Thu, 5 Oct 2023 10:51:23 +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+VisitorCode.swift | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/GliaWidgets/Sources/Theme/Theme+VisitorCode.swift b/GliaWidgets/Sources/Theme/Theme+VisitorCode.swift index 609d20cc9..aff09be1e 100644 --- a/GliaWidgets/Sources/Theme/Theme+VisitorCode.swift +++ b/GliaWidgets/Sources/Theme/Theme+VisitorCode.swift @@ -4,7 +4,7 @@ extension Theme { var visitorCodeStyle: VisitorCodeStyle { let numberSlot = NumberSlotStyle( backgroundColor: .fill(color: color.baseLight), - borderColor: UIColor.ultraLightGray, + borderColor: color.baseNeutral, borderWidth: 1, cornerRadius: 8, numberFont: font.header1, @@ -39,7 +39,3 @@ extension Theme { ) } } - -private extension UIColor { - static let ultraLightGray = UIColor(red: 0.953, green: 0.953, blue: 0.953, alpha: 1) -}