frewsxcv / rust-dark-light

Rust crate to detect if dark mode or light mode is enabled
https://crates.io/crates/dark-light
73 stars 12 forks source link

Remove `eprintln!()` from KDE configuration read error #27

Closed CosmicHorrorDev closed 1 year ago

CosmicHorrorDev commented 1 year ago

It's bad practice to print out things like this from a library. It could make sense to add in some logging to give more insight into what methods work or fail considering the amount of different detection methods and fallbacks used for freedesktop though