fix(ios): dark-appearance-first + readable dirty badge (gold-on-light contrast)

Amber-gold accent is designed for the desktop's warm-dark background; on light
mode gold text/badges wash out. Match the desktop (dark theme by default):
.preferredColorScheme(.dark) at the root. DirtyBadge becomes a soft filled
capsule (amber on amber-18%) instead of amber-on-quaternary, readable in any mode.
This commit is contained in:
Yaojia Wang
2026-07-06 08:10:34 +02:00
parent a887638557
commit d36deb6922
2 changed files with 7 additions and 2 deletions

View File

@@ -24,6 +24,10 @@ struct RootView: View {
// DS tint Tokens.swift
// gate amber orange `.tint`
.tint(DS.Palette.accent)
// web DEFAULT_SETTINGS.theme = 'dark'
// --bg #100F0D
// accent/status
.preferredColorScheme(.dark)
}
}