Skip to content

Theme change event #1

@kopach

Description

@kopach

Hi @DavidBriglio. Thanks for this cool plugin. I have feature suggestion :). Do you think, it could be possible to listen for some OS theme change event (or system configuration change, not sure) and broadcast it to JavaScript? Basically, I need to listen for dark mode change in my app in order to dynamically apply dark/light theme on OS theme change. What I did so far (as workaround) – is checking (via this plugin) what is the OS color schema every some time however I would like to avoid that.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions