Settings module: the wallpaper chooser moves in, and a Dark mode switch
CI / test (push) Failing after 16s
CI / test (push) Failing after 16s
- The session settings module becomes the panel's "Settings" button. Its popup lists the session switches, then a "Wallpaper" heading and the wallpapers (current one ticked); a click on a wallpaper shows it at once, as the old chooser did. Up/Down skip the heading. - The standalone wallpaper module and its world are removed. A saved panel.edn that lists "wallpaper" gets the settings module in its place (or just drops it when Settings is there). - New "Dark mode" setting (on by default). Off swaps the compositor to the Moon Day palette (ThemeTokens::moon_day, the values of config/themes/moon-day.json) for the shell, panel modules, window decorations and the switcher; on goes back to the configured theme. Saved in state.edn as :theme :light (absent or :dark: dark) and applied at startup by restore_state. - Tests: the native wallpaper test drives the settings module, the settings test flips Dark mode and checks the theme, the state.edn round trip covers :theme, panel migration unit test, and the host-wasm test covers the switches and the wallpaper rows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DPL5hgxf6exeYrDGcy4WW3
This commit is contained in:
26 files changed
+295
-878
No files matched your search
@@ -1,2 +1,3 @@
|
||||
Session settings: how the login session starts and what it remembers. The shell keeps them in
|
||||
state.edn; a module with this capability lists them as on/off switches and flips them.
|
||||
Session settings: how the login session starts, what it remembers and how it looks (dark or
|
||||
light). The shell keeps them in state.edn; a module with this capability lists them as on/off
|
||||
switches and flips them.
|
||||
@@ -1,2 +1,3 @@
|
||||
The desktop wallpaper. The shell draws a fixed set of wallpapers (from draw ops, coloured by the
|
||||
theme); a module with this capability lists them and picks which one is on the desktop.
|
||||
theme); a module with this capability (the settings module) lists them and picks which one is on
|
||||
the desktop.
|
||||
Reference in new issue
Block a user