Move towards using selector over class
Tailwind v3.4.1 utilises the selector method instead of the class method.
This commit is contained in:
parent
61a86ead7f
commit
121abe7d0b
@ -1,5 +1,5 @@
|
|||||||
/** @type {import('tailwindcss').Config} */
|
/** @type {import('tailwindcss').Config} */
|
||||||
export default {
|
module.exports = {
|
||||||
content: ["./index.html", "./src/**/*.{html,js,svelte,ts}"],
|
content: ["./index.html", "./src/**/*.{html,js,svelte,ts}"],
|
||||||
theme: {
|
theme: {
|
||||||
extend: {},
|
extend: {},
|
||||||
@ -8,4 +8,5 @@ export default {
|
|||||||
daisyui: {
|
daisyui: {
|
||||||
themes: ["night", "winter"],
|
themes: ["night", "winter"],
|
||||||
},
|
},
|
||||||
|
darkMode: "selector",
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user