Skip to content

style: apply Lagebuch's dispatch-console theme - #9

Merged
DeepDiver1975 merged 1 commit into
mainfrom
style/lagebuch-theme
Oct 26, 2026
Merged

DeepDiver1975 merged 1 commit into
mainfrom
style/lagebuch-theme

Conversation

@DeepDiver1975

@DeepDiver1975 DeepDiver1975 commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator

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: Theme/Tokens.axaml and Theme/Styles.axaml, a trimmed copy of LageBuch.App.Shared/Theme/* with the same token names, so a change there carries across by diff. No dependency on Lagebuch.
    • Kept: charcoal surfaces, signal red, the blocking red for errors, cyan focus.
    • Dropped: Amber, Meldung, Atemschutz and DataGrid styling.
  • Fonts: Oswald (headings, overlines, buttons), Barlow (text), JetBrains Mono (the number), embedded with their SIL OFL 1.1 notes; Inter is dropped.
  • Dark theme: RequestedThemeVariant="Dark", plus Lagebuch's WindowsTitleBar.ApplyDarkMode on both windows (Windows 10 has no dark title bar otherwise), with its tests.
  • Views: a signal-red brand bar across the top, Wählen and Speichern as Button.signal, and section heads as overlines.
    • Names, bindings and keys are unchanged, so the 19 existing view tests pass untouched.
  • AGENTS.md: use the tokens and classes, never a hard-coded colour in a view; every window calls 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:

Settings before
Settings after

Dial window, ready:

Dial ready before
Dial ready after

Dial window, phone not answering:

Dial no response before
Dial no response after

Dial window, refused link:

Dial refused before
Dial refused after

New, keyboard focus on Wählen (cyan ring, as in Lagebuch):

Dial keyboard focus

Tests

make clean ci: 190 tests green.

  • New ThemeTests check 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 are signal, and that the number uses the mono class.
  • WindowsTitleBarTests are copied from Lagebuch.

🤖 Generated with Claude Code

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]>
@DeepDiver1975
DeepDiver1975 merged commit b322c88 into main Oct 26, 2026
4 checks passed
@DeepDiver1975
DeepDiver1975 deleted the style/lagebuch-theme branch October 26, 2026 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant