Skip to content

fe: dress the app as windows 11 there, it read as a web page in a window - #265

Merged
landsman merged 1 commit into
mainfrom
worktree-windows-design
Nov 1, 2026
Merged

landsman merged 1 commit into
mainfrom
worktree-windows-design

Conversation

@landsman

@landsman landsman commented Nov 1, 2026

Copy link
Copy Markdown
Owner

On Windows the app wore the theme's own indigo and web-sized controls, so it read as a web page in a window. windows-os.css gives it Windows 11's colours, type, corners and control states, with values read from WinUI's resources rather than from guidelines or screenshots. Theme::cssMap() loads it on Windows only, right after our design and never over a gallery design.

make debug now asks which OS to look like, because that branch cannot otherwise run on a Mac. The choice is ignored without -debug, and it changes the look and the window only (Os::look()): data directories and printed commands stay on the real OS.

os-mac, os-windows and os-linux became mac-os, windows-os and linux-os, since one line builds all three.

Nothing here has run on Windows. It was checked in Chromium and through the debug simulation on macOS, where Segoe UI is missing, so the font and WebView2's scrollbars still need a look on a real machine. The accent is Windows' default until the launcher passes the user's, and the title bar still follows the OS rather than the in-app Light/Dark choice.

make qa, make check and make e2e pass on macOS. No e2e scenario covers windows-os.css.

@landsman
landsman merged commit 16eeeca into main Nov 1, 2026
5 checks passed
@landsman
landsman deleted the worktree-windows-design branch November 1, 2026 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant