Skip to content

feat: add option to follow system color scheme - #39

Merged
cachebag merged 2 commits into
freedesktop-rs:masterfrom
hacel:feat/system-color-scheme
Aug 2, 2026
Merged

feat: add option to follow system color scheme#39
cachebag merged 2 commits into
freedesktop-rs:masterfrom
hacel:feat/system-color-scheme

Conversation

@hacel

@hacel hacel commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Add a System appearance option that tracks GTK preference changes.

Read the GTK 4.20 setting dynamically so builds retain compatibility with older GTK releases.

Add a System appearance option that tracks GTK preference changes. Read
the GTK 4.20 setting dynamically so builds retain compatibility with
older GTK releases.

@cachebag cachebag left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Do you mind testing / sending screenshots of how it looks?

Synchronize forced light and dark modes with GTK settings so native
widgets use the matching theme variant. Reset the override for System
mode, inherit the active scheme in dialogs and file choosers, and apply
theme colors to loading and detail icons.
@hacel

hacel commented Aug 2, 2026

Copy link
Copy Markdown
Contributor Author
image Screenshot from 2026-08-02 19-07-29

I pushed a new commit because there were some theme consistency problems when GTK prefers a different mode than the one selected. The diff to patch that turned out bigger than I expected sorry. The pictures are with the 2nd commit applied.

@cachebag cachebag left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cachebag
cachebag merged commit 9ff7f8f into freedesktop-rs:master Aug 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants