A simple starter theme for WordPress that uses Tailwind CSS.
This theme uses the Tailwind CLI, which requires Node.js.
- Download or clone this repository
- Run
npm install
The default (and required) stylesheet will be compiled by Tailwind. See style.css
.
- Run
npm run watch
to watch for changes - Run
npm run build
to build the stylesheet - The
style.css
file will have all required information for your theme to be correctly identified as a valid theme by WordPress. - If you want to update the theme information, edit the
assets/css/tailwind.css
file and then runnpm run build
ornpm run watch
.