diff --git a/Sources/CoffeeUI/Color+Extension.swift b/Sources/CoffeeUI/Color+Extension.swift index b71f476..340994f 100644 --- a/Sources/CoffeeUI/Color+Extension.swift +++ b/Sources/CoffeeUI/Color+Extension.swift @@ -5,15 +5,16 @@ // Created by Yhanco Grey Esteban on 6/5/22. // +import UIKit import SwiftUI public extension Color { static var background: Color { - return Color("Background") + return Color(UIColor(named: "Background", in: .module, compatibleWith: .current)!) } static var foreground: Color { - return Color("Foreground") + return Color(UIColor(named: "Foreground", in: .module, compatibleWith: .current)!) } }