forked from unom/punktfunk
fix(client/apple): take the accent wash off the scope menu too
Same cause as the host grid's sort menu: a Menu draws its label — and the icons of everything inside it — in the accent colour, so a control whose only meaningful colour is the profile chips came out purple throughout. The chips are unaffected because they are rendered bitmaps rather than tinted symbols (see MenuIcon), so the colour that means something keeps it and the decoration loses its. The red trash stays red for the same reason. macOS only, as before — iOS menus already draw their icons in the label colour. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -395,6 +395,12 @@ extension SettingsView {
|
||||
}
|
||||
.menuStyle(.button)
|
||||
.fixedSize()
|
||||
// Same reason as the host grid's sort menu: a Menu draws its label — and the
|
||||
// icons of everything inside it — in the ACCENT colour, which put a purple wash
|
||||
// over a control whose only meaningful colour is the profile chips. Those are
|
||||
// rendered bitmaps (see MenuIcon), so they keep their colour; the decoration
|
||||
// loses its. macOS only — iOS menus already draw their icons in the label colour.
|
||||
.tint(.primary)
|
||||
Text(scopeCaption)
|
||||
.font(.geist(12, relativeTo: .caption))
|
||||
.foregroundStyle(.secondary)
|
||||
|
||||
Reference in New Issue
Block a user