From 121abe7d0baf1bb9b9ad0a6bfba602fe62b99890 Mon Sep 17 00:00:00 2001 From: Nick Bland Date: Mon, 8 Apr 2024 23:04:31 +1000 Subject: [PATCH] Move towards using selector over class Tailwind v3.4.1 utilises the selector method instead of the class method. --- tailwind.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tailwind.config.js b/tailwind.config.js index 23222ce..c9b5a87 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -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", };