linebender/druid

Dark or light mode detection

Open

#2.190 aberto em 18 de mai. de 2022

Ver no GitHub
 (2 comments) (1 reaction) (0 assignees)Rust (567 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (9.091 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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?

Guia do colaborador