We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d6520c commit 2fca2dbCopy full SHA for 2fca2db
Sources/RefdsShared/Extension/Color+Extensions.swift
@@ -66,9 +66,9 @@ public extension Color {
66
67
static func background(for colorScheme: ColorScheme) -> Self {
68
#if os(macOS)
69
- colorScheme == .light ? Color(hex: "F2F2F7") : Color(nsColor: .windowBackgroundColor)
+ colorScheme == .light ? Color.white : Color(nsColor: .windowBackgroundColor)
70
#elseif os(iOS)
71
- colorScheme == .light ? Color(hex: "F2F2F7") : .black
+ colorScheme == .light ? Color.white : .black
72
#else
73
colorScheme == .light ? Color.white : Color.black
74
#endif
0 commit comments