Detects if the system is using dark mode or light mode.
# Cargo.toml
[dependencies]
dark-light = "2.0.0"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Detects the current system theme (dark or light mode).
Check platform support; fallback to default if detection fails.
No dependency data recorded yet.