breadpad/breadpad-shared
Breadway 0c467d4928 Bind per-output app CSS for breadpad and breadman windows
The theme::bind_window helper used bind_window_auto, which attaches only
the per-output shared sheet. breadpad/breadman's own component rules
resolve @bg/@accent/@blue/... from the display-global @define-color block,
so on a monitor whose wallpaper differs those rules kept the
session-global palette while shared-sheet widgets followed the output — a
mixed palette on non-focused monitors.

Switch the helper to bind_window_auto_with_app_css, rebuilding build_css
(with the user's style.css override) against the per-output palette;
bread-theme inlines the named colours to hex for the bound tree.
apply_live stays as the display-level / SIGHUP fallback.

breadman called bread_theme::gtk::bind_window_auto directly for its main
and add-note windows; route both through the shared helper so they get
the same treatment.
2026-09-01 16:20:57 +08:00
..
src Bind per-output app CSS for breadpad and breadman windows 2026-09-01 16:20:57 +08:00
tests Switch classifier sessions onto bread-onnx v0.7.2 2026-08-23 14:42:57 +08:00
Cargo.toml Switch classifier sessions onto bread-onnx v0.7.2 2026-08-23 14:42:57 +08:00