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. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||