Skip to content

Commit

Permalink
fixup! Apply Global colors to all views
Browse files Browse the repository at this point in the history
Global colors were not applied to all views and this PR fixes this issue

MOB-2679
  • Loading branch information
rasmustautsglia committed Oct 5, 2023
1 parent 069558d commit 07b46b1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions GliaWidgets/Sources/Theme/Theme+VisitorCode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -39,7 +39,3 @@ extension Theme {
)
}
}

private extension UIColor {
static let ultraLightGray = UIColor(red: 0.953, green: 0.953, blue: 0.953, alpha: 1)
}

0 comments on commit 07b46b1

Please sign in to comment.