Builds client SSR approach, sunsets old cljs.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
|
||||
const plugin = require('tailwindcss/plugin');
|
||||
module.exports = {
|
||||
darkMode: "class",
|
||||
content: ["./src/**/*.{cljs,clj,cljc}",
|
||||
@@ -103,6 +105,12 @@ module.exports = {
|
||||
}
|
||||
} ,
|
||||
plugins: [
|
||||
require('flowbite/plugin')
|
||||
require('flowbite/plugin'),
|
||||
plugin(function ({ addVariant }) {
|
||||
addVariant('htmx-settling', ['&.htmx-settling', '.htmx-settling &'])
|
||||
addVariant('htmx-request', ['&.htmx-request', '.htmx-request &'])
|
||||
addVariant('htmx-swapping', ['&.htmx-swapping', '.htmx-swapping &'])
|
||||
addVariant('htmx-added', ['&.htmx-added', '.htmx-added &'])
|
||||
}),
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user