fix: color issues
This commit is contained in:
parent
9cc9d5224a
commit
3b0834a87a
|
@ -5,15 +5,16 @@
|
||||||
// Created by Yhanco Grey Esteban on 6/5/22.
|
// Created by Yhanco Grey Esteban on 6/5/22.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
import UIKit
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
|
|
||||||
public extension Color {
|
public extension Color {
|
||||||
|
|
||||||
static var background: Color {
|
static var background: Color {
|
||||||
return Color("Background")
|
return Color(UIColor(named: "Background", in: .module, compatibleWith: .current)!)
|
||||||
}
|
}
|
||||||
|
|
||||||
static var foreground: Color {
|
static var foreground: Color {
|
||||||
return Color("Foreground")
|
return Color(UIColor(named: "Foreground", in: .module, compatibleWith: .current)!)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue