linebender/druid

Dark or light mode detection

Open

#2190 aperta il 18 mag 2022

Vedi su GitHub
 (2 commenti) (1 reazione) (0 assegnatari)Rust (567 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (9091 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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?

Guida contributor