macos-interface-style
v1.0.1
Published
This package can be used to detect dark mode in macOS
Downloads
5
Readme
macos-interface-style
npm package which can be used to check if dark mode is enabled on macOS
Usage
const macOSInterface = require('macos-interface-style');
console.log(macOSInterface.isDarkModeEnabled()); // returns true or false