forestui icon indicating copy to clipboard operation
forestui copied to clipboard

Theme setting does nothing

Open flipbit03 opened this issue 3 months ago • 0 comments

Settings offers a THEME control (Dark / Light / System). Changing it writes "theme" to ~/.config/forestui/settings.json and changes nothing on screen.

It has never worked. In the Python build app.py only ever imported the static APP_CSS and never read settings.theme; in the Rust build theme.rs is a table of hardcoded constants. The value is stored, round-tripped and ignored by both.

Verified on the Rust build: saved "theme": "dark", captured before and after, zero pixels changed.

Options

  1. Wire it up — the palette is already centralised in theme.rs, so this is mostly picking a light set of values and threading the choice through. "System" would need a terminal background probe (OSC 11) or an env heuristic.
  2. Drop the control and keep the key in the settings schema so existing files still load.

Either is fine, but a setting that silently does nothing is worse than not offering it. Leaning toward (2) unless a light palette is actually wanted.

flipbit03 avatar Aug 15 '26 02:08 flipbit03