wonders/ios/WonderousWidget/Colors.swift

12 lines
524 B
Swift
Raw Normal View History

2023-10-23 18:06:39 -06:00
import Foundation
import SwiftUI
/// Define some custom extensions on the Color class, so we can use the shorthand syntax `..myColor`
2023-10-23 21:40:55 -06:00
extension Color {
public static let accent = Color(red: 0.89, green: 0.58, blue: 0.36)
public static let offWhite = Color(red: 0.97, green: 0.92, blue: 0.9)
public static let mediumGrey = Color(red: 0.62, green: 0.6, blue: 0.58)
public static let darkGrey = Color(red: 0.15, green: 0.15, blue: 0.15)
public static let body = Color(red: 0.32, green: 0.31, blue: 0.3);
2023-10-23 18:06:39 -06:00
}