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] };