refactor(settings): 改用常规关于选项卡并统一蓝色强调色

This commit is contained in:
2026-11-03 20:55:11 +08:00
parent 418fc360c6
commit 7bf8cfff19
15 changed files with 108 additions and 487 deletions
+2 -2
View File
@@ -143,7 +143,7 @@ struct MenuPanelView: View {
Button { presentation.isPinned.toggle() } label: {
Image(systemName: presentation.isPinned ? "pin.fill" : "pin")
.frame(width: 20, height: 20)
.foregroundStyle(presentation.isPinned ? preferences.tintColor : Color.primary)
.foregroundStyle(presentation.isPinned ? Color.blue : Color.primary)
}
.help(Text(presentation.isPinned ? "panel.unpin" : "panel.pin"))
.accessibilityLabel(Text(presentation.isPinned ? "panel.unpin" : "panel.pin"))
@@ -151,7 +151,7 @@ struct MenuPanelView: View {
Button { keepAwake.toggle() } label: {
Image(systemName: keepAwake.isEnabled ? "cup.and.saucer.fill" : "cup.and.saucer")
.frame(width: 20, height: 20)
.foregroundStyle(keepAwake.isEnabled ? preferences.tintColor : Color.primary)
.foregroundStyle(keepAwake.isEnabled ? Color.blue : Color.primary)
}
.help(keepAwake.didFail ? Text("awake.failed") : (keepAwake.isEnabled ? Text("awake.disable") : Text("awake.enable")))
.accessibilityLabel(keepAwake.isEnabled ? Text("awake.disable") : Text("awake.enable"))