Skip to content

[Feature request] Update widget color when system theme colors change #553

Description

@OneNot

Describe your suggested feature

The dynamically created colors that the widget uses seem to only get generated when the widget is created or when the settings are changed manually.
I would like the widget to dynamically change color to match the new colors as the theme changes.

I have a wallpaper changer and the phone's theme colors are based on the wallpaper. As the wallpaper changes, the system theme colors get updated with it. (e.g. app icon colors change along with the wallpaper)

Other details

I'm not sure how doable this is.
I assume you don't want to poll for the color constantly, so you'd have to be able to respond to the colors changing via some event that the Android theme system triggers I guess...
Or maybe you can just code it to use a sort of reference... Something like color: $theme-color-1, and then when the theme color changes, the value the reference points to has changed to the new color or whatever. I don't know how the Android theme system works. Maybe it offers something like that?

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • I will fill out all of the requested information in this form.

Activity

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions