diff options
| -rw-r--r-- | ios/MullvadVPN/NotificationBannerView.swift | 4 | ||||
| -rw-r--r-- | ios/MullvadVPN/UIColor+Palette.swift | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/ios/MullvadVPN/NotificationBannerView.swift b/ios/MullvadVPN/NotificationBannerView.swift index 3e857df849..e8b14a2988 100644 --- a/ios/MullvadVPN/NotificationBannerView.swift +++ b/ios/MullvadVPN/NotificationBannerView.swift @@ -38,7 +38,7 @@ class NotificationBannerView: UIView { let textLabel = UILabel() textLabel.translatesAutoresizingMaskIntoConstraints = false textLabel.font = UIFont.systemFont(ofSize: 17, weight: .bold) - textLabel.textColor = .white + textLabel.textColor = UIColor.InAppNotificationBanner.titleColor textLabel.numberOfLines = 0 textLabel.lineBreakMode = .byWordWrapping return textLabel @@ -48,7 +48,7 @@ class NotificationBannerView: UIView { let textLabel = UILabel() textLabel.translatesAutoresizingMaskIntoConstraints = false textLabel.font = UIFont.systemFont(ofSize: 17) - textLabel.textColor = UIColor(white: 1, alpha: 0.6) + textLabel.textColor = UIColor.InAppNotificationBanner.bodyColor textLabel.numberOfLines = 0 textLabel.lineBreakMode = .byWordWrapping return textLabel diff --git a/ios/MullvadVPN/UIColor+Palette.swift b/ios/MullvadVPN/UIColor+Palette.swift index 2e74649f35..755b058cd0 100644 --- a/ios/MullvadVPN/UIColor+Palette.swift +++ b/ios/MullvadVPN/UIColor+Palette.swift @@ -105,6 +105,9 @@ extension UIColor { static let errorIndicatorColor = dangerColor static let successIndicatorColor = successColor static let warningIndicatorColor = warningColor + + static let titleColor = UIColor.white + static let bodyColor = UIColor(white: 1.0, alpha: 0.6) } // Common colors |
