From d078d3ca0a75b05c8b5b1167a5d72bfaaeb3a636 Mon Sep 17 00:00:00 2001 From: Mingshen Sun Date: Fri, 10 Mar 2023 20:34:30 -0800 Subject: [PATCH] Use system colors (fix #608) --- passKit/Helpers/Colors.swift | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/passKit/Helpers/Colors.swift b/passKit/Helpers/Colors.swift index 51aabc0..2442af1 100644 --- a/passKit/Helpers/Colors.swift +++ b/passKit/Helpers/Colors.swift @@ -7,15 +7,15 @@ // public enum Colors { - public static let label: UIColor = .black + public static let label: UIColor = .label - public static let secondaryLabel: UIColor = .init(red: 60.0, green: 60.0, blue: 67.0, alpha: 0.6) + public static let secondaryLabel: UIColor = .secondaryLabel - public static let systemBackground: UIColor = .white + public static let systemBackground: UIColor = .systemBackground - public static let secondarySystemBackground: UIColor = .init(red: 242.0, green: 242.0, blue: 247.0, alpha: 1.0) + public static let secondarySystemBackground: UIColor = .secondarySystemBackground - public static let systemRed = UIColor.systemRed + public static let systemRed: UIColor = .systemRed - public static let systemBlue = UIColor.systemBlue + public static let systemBlue: UIColor = .systemBlue }