diff --git a/Sources/App/RootView.swift b/Sources/App/RootView.swift index c8aeced..8bd0775 100644 --- a/Sources/App/RootView.swift +++ b/Sources/App/RootView.swift @@ -30,6 +30,15 @@ struct RootView: View { .tabItem { Label("Konto", systemImage: "person.circle") } .tag(AppTab.account) } + // Mac-Window-Hintergrund auf Paper-Theme setzen, damit der + // TabBar-/Title-Bar-Bereich oben nicht mit dem System-Grau + // gegen das Paper-Theme ausreißt. `windowToolbar`-Placement + // ist macOS-only. + .background(ZitareTheme.background.ignoresSafeArea()) + #if os(macOS) + .toolbarBackground(ZitareTheme.background, for: .windowToolbar) + .toolbarBackground(.visible, for: .windowToolbar) + #endif .task { await probeHealth() } diff --git a/Sources/Features/Account/AccountView.swift b/Sources/Features/Account/AccountView.swift index 6f5c03d..4671297 100644 --- a/Sources/Features/Account/AccountView.swift +++ b/Sources/Features/Account/AccountView.swift @@ -26,10 +26,15 @@ struct AccountView: View { } private var header: some View { - VStack(spacing: 8) { - Image(systemName: "quote.opening") - .font(.system(size: 48)) + VStack(spacing: 12) { + // Eigenes Anführungszeichen-Glyph in der gleichen Variante + // wie das App-Icon — sienna auf transparentem Hintergrund, + // serif. SF-Symbol "quote.opening" rendert zwei Glyphen + // asymmetrisch nebeneinander, das wirkt unsauber. + Text(verbatim: "\u{201C}") + .font(.custom("Georgia-Bold", size: 96)) .foregroundStyle(ZitareTheme.primary) + .frame(height: 64, alignment: .top) Text("Zitare") .font(.largeTitle) .fontWeight(.semibold) diff --git a/Sources/Features/WebShell/WebShellView.swift b/Sources/Features/WebShell/WebShellView.swift index 30ff0b1..e124765 100644 --- a/Sources/Features/WebShell/WebShellView.swift +++ b/Sources/Features/WebShell/WebShellView.swift @@ -33,6 +33,7 @@ struct WebShellView: View { navState: navState, openURL: openURL ) + .frame(maxWidth: .infinity, maxHeight: .infinity) .background(ZitareTheme.background) #elseif canImport(AppKit) MacWebViewRepresentable( @@ -40,12 +41,14 @@ struct WebShellView: View { navState: navState, openURL: openURL ) + .frame(maxWidth: .infinity, maxHeight: .infinity) .background(ZitareTheme.background) #endif if let error = navState.lastError { errorBar(error) } } + .frame(maxWidth: .infinity, maxHeight: .infinity) } private func errorBar(_ message: String) -> some View {