Skip to content

Add support for XDG accent color changes - #705

Open
shaakunuigurumi wants to merge 2 commits into
material-foundation:mainfrom
shaakunuigurumi:change-notifications
Open

shaakunuigurumi wants to merge 2 commits into
material-foundation:mainfrom
shaakunuigurumi:change-notifications

Conversation

@shaakunuigurumi

@shaakunuigurumi shaakunuigurumi commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Description

This PR adds the foundation for accent color change events. It currently only implements it for XDG. Native code, tests and examples were updated. It is important to note that I could not run the tests myself as they depend on each other and there were no dependency overrides nor a Dart workspace available. Code using accent colors was also not updated yet to react to changes, such as the builder widget.

Tests

Tests for the runtime change notifications were added. Behavior was tested successfully on KDE (GNOME should behave the same).

Issues

Partially fixes #300

Checklist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Listen to platform color changes

1 participant