Move towards using selector over class

Tailwind v3.4.1 utilises the selector method instead of the class method.
This commit is contained in:
Nick Bland 2024-04-08 23:04:31 +10:00
parent 61a86ead7f
commit 121abe7d0b

View File

@ -1,5 +1,5 @@
/** @type {import('tailwindcss').Config} */
export default {
module.exports = {
content: ["./index.html", "./src/**/*.{html,js,svelte,ts}"],
theme: {
extend: {},
@ -8,4 +8,5 @@ export default {
daisyui: {
themes: ["night", "winter"],
},
darkMode: "selector",
};