diff --git a/YDS-SwiftUI/Source/Foundation/YDSSemanticColor.swift b/YDS-SwiftUI/Source/Foundation/YDSSemanticColor.swift index fb1f1591..dce9eaa7 100644 --- a/YDS-SwiftUI/Source/Foundation/YDSSemanticColor.swift +++ b/YDS-SwiftUI/Source/Foundation/YDSSemanticColor.swift @@ -6,7 +6,7 @@ // import SwiftUI -public struct YDSColor { +public enum YDSColor { private static func color(light: Color, dark: Color? = nil) -> Color { if let dark = dark { return Color(uiColor: UIColor { $0.userInterfaceStyle == .dark ? UIColor(dark) : UIColor(light) })