Skip to content

Dark or light mode detection #2190

@marcelohdez

Description

@marcelohdez

Hello, is there any way to detect light or dark mode on the system an application is running on to change themes respectively?

After looking for a while I can't find any mention of it in Druid, and no Druid example seems to adhere to the dark/light mode setting (at least on MacOS) despite its theme containing keys for dark and light colors?

Should I just rely on the dark-light crate for now and check periodically?

Screen Shot 2022-05-18 at 10 48 09 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementadds or requests a new featurehelp wantedhas no one working on it yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions