Skip to content

Event listener for isDarkMode #66

@rphillips-nz

Description

@rphillips-nz

The current static method works great, but I'd have to poll in order to respond to users changing the system preference. It would be great to have a callback method (or something similar) in order to change light/dark themes on the fly like I see some other applications doing.

At the moment my app just reads it on load rather than polling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions