Skip to content

Commit 19b5d79

Browse files
committed
Fix: Use system default dark appearance
- Changes the background and secondary background colors in `SettingTheme` to match the system’s default dark appearance
1 parent 33aece8 commit 19b5d79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/SettingTheme.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ public enum SettingTheme {
3030

3131
public static var backgroundColor: Color = {
3232
#if os(iOS)
33-
return Color(uiColor: .systemBackground)
33+
return Color(uiColor: .secondarySystemGroupedBackground)
3434
#else
3535
return Color(nsColor: .textBackgroundColor)
3636
#endif
3737
}()
3838

3939
public static var secondaryBackgroundColor: Color = {
4040
#if os(iOS)
41-
return Color(uiColor: .secondarySystemBackground)
41+
return Color(uiColor: .systemGroupedBackground)
4242
#else
4343
return Color(nsColor: .windowBackgroundColor)
4444
#endif

0 commit comments

Comments
 (0)