Skip to content

Default color theme to System to follow OS dark/light mode - #108

Merged
Marc-André Moreau (mamoreau-devolutions) merged 3 commits into
masterfrom
copilot/devolutions-visual-style-analysis
Nov 17, 2026
Merged

Marc-André Moreau (mamoreau-devolutions) merged 3 commits into
masterfrom
copilot/devolutions-visual-style-analysis

Conversation

@mamoreau-devolutions

Copy link
Copy Markdown
Contributor

Summary

  • Default the shared color theme preference to "System" (settings::DEFAULT_THEME) when no explicit "theme" value is stored in jiffshot.json, matching the Linux default so Jiffshot automatically follows the operating system's dark or light mode on first launch.
  • Update prefs::dialog, prefs::apply_editor, App::sync, App::cycle_theme, and MainViewModelSink::new to use "System" as the unset default.
  • Unify main_window::follow_theme with parts::dark_theme and refresh native Windows DWM title-bar colors whenever the requested theme changes.

Relates to #95

Verification

  • cargo test -p jiffshot (125 passed)
  • Isolated JIFFSHOT_UITEST_WIDGET self-test verifying "System" theme startup and live theme switching

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…t mode

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@mamoreau-devolutions
Marc-André Moreau (mamoreau-devolutions) merged commit f75e553 into master Nov 17, 2026
16 checks passed
@mamoreau-devolutions
Marc-André Moreau (mamoreau-devolutions) deleted the copilot/devolutions-visual-style-analysis branch November 17, 2026 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant