README
@44north/toggle-tailwindcss-darkmode
A Module to aid in managing toggle-tailwindcss-darkmode in your applications
Install
npm install @44north/toggle-tailwindcss-darkmode
or
yarn add @44north/toggle-tailwindcss-darkmode
Usage
import {
toggleDarkMode,
setDarkMode,
getDarkMode,
getDarkModePref,
getSystemDarkModePref
} from "@44north/toggle-tailwindcss-darkmode";
setDarkMode(true);