nusserstudios / tailbliss

TailBliss is a Hugo Starter theme built on TailwindCSS 3, and Alpine.JS.
https://tailbliss.netlify.app/
Apache License 2.0
289 stars 134 forks source link

Include non-theme content in build pipeline? #95

Closed pehrlich2 closed 1 year ago

pehrlich2 commented 1 year ago

I found I had to add my non-theme html files to the build pipeline to get it working correctly:

# themes/tailbliss/tailwind.config.js
content: ['./layouts/**/*.html', './content/**/*.md', '../../layouts/**/*.html'],

as well as adding a blank tailwind.config.js in my root dir. This allowed me to switch from indigo to another color, and have the css file correctly rebuild with the watch command.

nusserstudios commented 1 year ago

Gotcha, and thank you. Submit a pull request and I'll merge it.