EffectCraft: An open-source motion graphics and compositing tool written by scratch in pure Rust
Merge pull request #826 from luniiya/feat/theme-favorites
Brandon Thomas30f7ce8ae54f
diff --cc docs/preferences.mdindex 42acd9318,8d35f9d8b..c9e47f480--- a/docs/preferences.md+++ b/docs/preferences.md@@@ -57,11 -57,11 +57,12 @@@ Commands (CLI, MCP, control channel)- `appearance.appearanceMode`: Appearance Mode (`auto` / `dark` / `light`). `auto` (Sync with System) follows the operating system's light or dark appearance while the app runs: on Linux the desktop app reads the XDG desktop portal (`org.freedesktop.appearance` `color-scheme`) once and then listens for its `SettingChanged` signal on a worker thread, repainting only when the value changes (nothing polls); `gsettings` runs at most once at start-up, by absolute path, when the portal gives no answer. Elsewhere it uses what the window system reports. With no answer it shows the dark theme. New installs stay `dark`; Sync with System is opt-in. The Tools bar's appearance button (a monitor, sun or moon) cycles Sync with System, Light and Dark (`view.theme.toggle`, Next Appearance Mode).- `appearance.darkTheme`: Dark Theme (`dark` / `darker`), shown in dark appearance- `appearance.lightTheme`: Light Theme (`light`), shown in light appearance. Settings ▸ Appearance shows the mode above a light and a dark theme card, each with a preview of the EffectCraft window in that theme.+ - `appearance.favoriteThemes`: a list of unique theme ids (`dark`, `darker`, `light`), empty by default. Hover a theme row to star it; saved favorites keep an accent-colored star. Right-click the appearance button for Appearance Settings and favorites grouped light first, then dark. Selecting a favorite fixes its appearance family and preserves the opposite family choice; left-click still cycles modes. Settings OK saves favorites and Cancel restores them. Unknown or duplicate ids are rejected by `prefs.set` and removed when loading old settings.- `appearance.theme`: the single theme from before appearance modes, kept for older settings files and automation. A saved file with only `theme` loads as a fixed Dark or Light mode showing it; setting it (`prefs.set`, `ui.set {"theme": …}`, `view.theme.dark|darker|light`) selects that theme and fixes the mode to its family. While the mode is Dark or Light it mirrors the theme in use.- `appearance.brightness`: Brightness-- `appearance.uiScale`: UI Scale, the size of the whole interface (75–200 %, on top of the- display's own scaling), applied as soon as it is chosen+- `appearance.uiScale`: UI Scale, the size of the whole interface (any whole percentage from+ 75 to 200, on top of the display's own scaling), dragged or typed; it applies as soon as it is+ dragged or entered- `appearance.useLabelColorForHandles`: Use Label Color for Layer Handles and Paths- `grids.gridColor`: Color- `grids.gridSpacing`: Gridline Every