Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Tailwind CSS Dark Mode Switch Pug Sample

Project Structure

/
├── src/
│     ├── index.pug
│     ├── _mixin/
│     │     └── _darkmodeswitch.pug
│     └── css/
│           └── styles.css
├── tailwind.config.cjs
├── bs-config.cjs (browser-sync config file)
└── package.json

Getting Started

View sample page

git clone https://github.com/burnworks/tailwindcss-dark-mode-switch.git
cd pug
npm install
npm run build
npm run dev

Usage

Copy src/_mixin/_darkmodeswitch.pug file to your project.

include mixin and use.

include /_mixin/_darkmodeswitch

+darkmodeswitch

Link