1.0.0 • Published 1 year ago
vue-darkmode-toggle v1.0.0
vue-darkmode-toggle
- a simple toggle button which uses tailwind library by default
- just simply write your css in tailwind with :dark classes
- when toggled it will automatically switches the modes
Installation
npm i vue-darkmode-toggle
Usage
import { DarkModeToggle } from 'vue-darkMode-toggle'
<template>
<DarkModeToggle class='h-4 w-4' />
</template>