Skip to content

Commit

Permalink
Update Color+Extensions.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelesantos committed Sep 6, 2024
1 parent 1d6520c commit 2fca2db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/RefdsShared/Extension/Color+Extensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ public extension Color {

static func background(for colorScheme: ColorScheme) -> Self {
#if os(macOS)
colorScheme == .light ? Color(hex: "F2F2F7") : Color(nsColor: .windowBackgroundColor)
colorScheme == .light ? Color.white : Color(nsColor: .windowBackgroundColor)
#elseif os(iOS)
colorScheme == .light ? Color(hex: "F2F2F7") : .black
colorScheme == .light ? Color.white : .black
#else
colorScheme == .light ? Color.white : Color.black
#endif
Expand Down

0 comments on commit 2fca2db

Please sign in to comment.