feat(app): add flow diagnostics and refine interface
CI / Validate manifests (push) Has been cancelled
CI / SwiftLint (push) Has been cancelled
CI / iOS / Extension (push) Has been cancelled
CI / macOS (push) Has been cancelled

Improve failure recovery visibility, strengthen account-session handling, and make the cross-platform interface more consistent.
This commit is contained in:
Rocky
2026-08-26 14:40:06 +08:00
parent 1ee032bdb9
commit 39002336c0
78 changed files with 2737 additions and 735 deletions
+11 -3
View File
@@ -43,7 +43,11 @@ struct KeyboardBrandLogo: View {
.resizable()
.renderingMode(.template)
.scaledToFit()
.foregroundStyle(colorScheme == .dark ? Color.white : Color.black)
.foregroundStyle(
colorScheme == .dark
? OSGColor.fixedLightContent
: OSGColor.fixedDarkContent
)
.frame(
width: KeyboardTopBarMetrics.logoWidth,
height: KeyboardTopBarMetrics.logoHeight
@@ -222,13 +226,17 @@ struct KeyboardTopControls: View {
}
private var pressedFill: Color {
colorScheme == .dark ? Color(white: 0.22) : Color(white: 0.84)
colorScheme == .dark
? OSGColor.keyboardDarkControlFill
: OSGColor.keyboardLightKeyPressed
}
/// NativeKeyboardKeyColors.fill
/// 宿
private var tabTrackFill: Color {
colorScheme == .dark ? Color(white: 0.12) : Color.black.opacity(0.12)
colorScheme == .dark
? OSGColor.keyboardDarkControlBorder
: OSGColor.keyboardLightControlBorder
}
private func isSelected(_ tab: KeyboardInputTab) -> Bool {