Commit 04a97076 authored by Jose Blaya's avatar Jose Blaya
Browse files

Update style values

parent a82c0a4d
......@@ -195,6 +195,15 @@ public extension TextStyle {
lineHeight: 15
)
public static let textStyle21 = TextStyle(
font: UIFont.regularFontWith(size: 12),
color: UIColor.piaGrey4,
foregroundColor: nil,
backgroundColor: nil,
tintColor: nil,
lineHeight: 16
)
public static let versionNumberStyle = TextStyle(
font: UIFont.regularFontWith(size: 14),
color: UIColor.piaGrey4,
......
......@@ -48,7 +48,7 @@ public class Theme {
/// The light background color.
public var lightBackground: UIColor
/// The solid light background color.
public var solidLightBackground: UIColor
......@@ -290,6 +290,11 @@ public class Theme {
public func applyLightBackground(_ view: UIView) {
view.backgroundColor = palette.lightBackground
}
/// :nodoc:
public func applySettingsBackground(_ view: UIView) {
view.backgroundColor = palette.lightBackground
}
/// :nodoc:
public func applyTransparentButton(_ button: PIAButton,
......@@ -612,7 +617,7 @@ public class Theme {
guard let hfv = view as? UITableViewHeaderFooterView, let label = hfv.textLabel else {
return
}
label.textColor = palette.emphasis
label.style(style: TextStyle.textStyle14)
}
/// :nodoc:
......@@ -620,7 +625,7 @@ public class Theme {
guard let hfv = view as? UITableViewHeaderFooterView, let label = hfv.textLabel else {
return
}
label.textColor = palette.textColor(forRelevance: 3, appearance: .dark)
label.style(style: TextStyle.textStyle21)
}
/// :nodoc:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment