Skip to content

Commit 2fca2db

Browse files
committed
Update Color+Extensions.swift
1 parent 1d6520c commit 2fca2db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/RefdsShared/Extension/Color+Extensions.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ public extension Color {
6666

6767
static func background(for colorScheme: ColorScheme) -> Self {
6868
#if os(macOS)
69-
colorScheme == .light ? Color(hex: "F2F2F7") : Color(nsColor: .windowBackgroundColor)
69+
colorScheme == .light ? Color.white : Color(nsColor: .windowBackgroundColor)
7070
#elseif os(iOS)
71-
colorScheme == .light ? Color(hex: "F2F2F7") : .black
71+
colorScheme == .light ? Color.white : .black
7272
#else
7373
colorScheme == .light ? Color.white : Color.black
7474
#endif

0 commit comments

Comments
 (0)