0.1.0 • Published 5 months ago
is-os-dark-mode v0.1.0
is-os-dark-mode
Detect if operating system uses dark mode. Useful for CLI or non-browser based applications.
Detect OS Dark Mode
import { isOsInDarkMode } from 'is-os-dark-mode'
await isOsInDarkMode()
// true, if Dark Theme is selected
Contributing
Contributions are welcome! If you have any issues or suggestions, please open an issue on GitLab.
License
This project is licensed under the MIT License.
0.1.0
5 months ago