From f926caedf944b2a853fe18c969084fc325f79b73 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Tue, 21 May 2024 11:03:15 +0300 Subject: [PATCH] Fixed TW dark mode --- tailwind.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tailwind.config.js b/tailwind.config.js index 4bf670323..b46658ce5 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -5,7 +5,7 @@ module.exports = { corePlugins: { preflight: false }, - darkMode: 'class', + darkMode: ['selector', '[class="p-dark"]'], content: ['./pages/**/*.vue', './layouts/**/*.vue', './components/doc/**/*.{js,vue,ts}', './components/landing/**/*.{js,vue,ts}', './components/template/**/*.{js,vue,ts}', './doc/**/*.{js,vue,ts}', './error.vue'], plugins: [primeui] };