Der Systemfarbknopf zeigt, welche Farbe er nimmt
Er tut, was draufsteht — nur weiß niemand auswendig, welche Farbe das System gerade führt. Dann wirkt das Ergebnis wie ein Fehler statt wie eine Übernahme. Jetzt sitzt der Farbfleck daneben. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -42,8 +42,16 @@ struct ColorSettingsView: View {
|
|||||||
Spacer(minLength: 0)
|
Spacer(minLength: 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Mit dem Farbfleck daneben: welche Farbe das System gerade
|
||||||
|
// führt, weiß man nicht auswendig — und dann wirkt das
|
||||||
|
// Ergebnis wie ein Fehler statt wie eine Übernahme.
|
||||||
Button { theme.adoptSystemAccent() } label: {
|
Button { theme.adoptSystemAccent() } label: {
|
||||||
Text("color.adoptSystem")
|
HStack(spacing: 6) {
|
||||||
|
Text("color.adoptSystem")
|
||||||
|
Circle()
|
||||||
|
.fill(Color(nsColor: .controlAccentColor))
|
||||||
|
.frame(width: 11, height: 11)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Text("color.accent.hint")
|
Text("color.accent.hint")
|
||||||
.font(.caption).foregroundStyle(.secondary)
|
.font(.caption).foregroundStyle(.secondary)
|
||||||
|
|||||||
Reference in New Issue
Block a user