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 81c3ac2 commit 069558d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions GliaWidgets/Sources/Theme/Theme+Gva.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -40,7 +40,7 @@ extension Theme {
textColor: color.primary,
backgroundColor: .fill(color: color.baseLight),
cornerRadius: 10,
borderColor: Color.primary,
borderColor: color.primary,
borderWidth: 1
)

Expand All @@ -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(
Expand Down

0 comments on commit 069558d

Please sign in to comment.