Crate rust_dark_light[−][src]
Detect if dark mode or light mode is enabled.
Examples
fn main() { let mode = dark_light::detect(); }
Enums
Mode |
Functions
detect | Detect if light mode or dark mode is enabled. If the mode can’t be detected, fall back to |