Skip to content

Commit

Permalink
Update Color.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
eonist committed Mar 7, 2024
1 parent 288206f commit b428679
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions Sources/HybridColor/Color.swift
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,4 @@ extension Color {
public static let tertiaryBackground = Color(UIColor.tertiarySystemBackground)
#endif
}
//extension Color {
// static func dynamicColor(light: UIColor, dark: UIColor) -> Color {
//
//}
//extension Color {
// // ref: https://stackoverflow.com/a/65200509/5389500
// static var primaryColor: Color {
// Color(UIColor { $0.userInterfaceStyle == .dark ? UIColor(red: 255, green: 255, blue: 255, alpha: 1) : UIColor(red: 200, green: 200, blue: 200, alpha: 1) })
// }
//
//}
// self = Color(nsColor: NSColor(name: "DynamicColor")!)

0 comments on commit b428679

Please sign in to comment.