Repository navigation
style: apply Lagebuch's dispatch-console theme - #9
Merged
Merged
Conversation
Freizeichen opens from inside Lagebuch, on the same ELW laptop, so it now looks like part of it: dark charcoal background, Oswald headings and overlines, Barlow body text, the number in JetBrains Mono, signal-red primary actions (Wählen, Speichern), the blocking red for errors and the cyan keyboard focus ring, with Lagebuch's red brand bar across the top. Theme/Tokens.axaml and Theme/Styles.axaml are a trimmed copy of Lagebuch's, keeping its token names; the fonts (SIL OFL 1.1) are embedded and Inter is dropped. Both windows get a dark title bar on Windows 10 through Lagebuch's WindowsTitleBar helper. Theme tests pin the tokens, the embedded fonts and the signal-red primary buttons, since a missing resource falls back to Fluent's defaults without an error. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Thomas Müller <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Freizeichen opens from inside Lagebuch, on the same ELW laptop, so it now looks like part of it: Lagebuch's "dispatch console" theme instead of plain light Fluent. Visual only; no behaviour change. Targets
main.Theme/Tokens.axamlandTheme/Styles.axaml, a trimmed copy ofLageBuch.App.Shared/Theme/*with the same token names, so a change there carries across by diff. No dependency on Lagebuch.RequestedThemeVariant="Dark", plus Lagebuch'sWindowsTitleBar.ApplyDarkModeon both windows (Windows 10 has no dark title bar otherwise), with its tests.Button.signal, and section heads as overlines.ApplyDarkMode.Left out on purpose: a green "success" status. The view models don't tell success from neutral; „Verbinde …“ and „Über das Telefon wählen?“ also have
IsError == false. Neutral text stays white, failures turn red.Screenshots (before / after)
Settings window:
Dial window, ready:
Dial window, phone not answering:
Dial window, refused link:
New, keyboard focus on Wählen (cyan ring, as in Lagebuch):
Tests
make clean ci: 190 tests green.ThemeTestscheck that the app runs dark and that the Lagebuch tokens resolve. They also check that Oswald, Barlow and JetBrains Mono are really embedded (a missing font falls back silently), that Wählen and Speichern aresignal, and that the number uses the mono class.WindowsTitleBarTestsare copied from Lagebuch.🤖 Generated with Claude Code