Custom, renamable groups for TailwindCSS
npm install tailwindcss-scoped-groupsjs
// tailwind.config.js
module.exports = {
mode: "jit",
// ...
plugins: [
require("tailwindcss-scoped-groups")({
groups: ["one", "two"],
}),
],
}
`
With this config, you can use group-one and group-two just like you'd use the normal group`.