update to tailwind 4+

First step to install postcss and tailwindcss

npm install tailwindcss @tailwindcss/postcss postcss postcss-import postcss-load-config

npm i hexo-postcss

reference to new hexo plugin

https://github.com/siraisisatoru/hexo-postcss

#1. create/change .postcssrc.js in root folder

module.exports = {
from: undefined,
plugins: {
"@tailwindcss/postcss": {},
}
}

#2. Add main.css to your themes//source/css/ folder.

# main.css content

@import "tailwindcss";

#3. make sure add css file to your theme header or layout

<%- css(['css/main.css']) %>

hexo server
happy running