#mode #dark #light #detect #enabled

yanked rust-dark-light

Detect if dark mode or light mode is enabled

0.1.0 Feb 18, 2021

#26 in #dark

MIT/Apache

4KB
64 lines

Detect if dark mode or light mode is enabled.

Examples

fn main() {
    let mode = dark_light::detect();
}

Dependencies

~190KB