Revert "Update primevue/themes to 4.0.0 (#378)" (#379)

This reverts commit d1d4324e57.
This commit is contained in:
Chenlei Hu
2024-08-11 19:39:55 -04:00
committed by GitHub
parent d1d4324e57
commit cf53e8df6a
3 changed files with 25 additions and 15 deletions

View File

@@ -27,7 +27,9 @@ app
options: {
prefix: 'p',
cssLayer: false,
darkModeSelector: '.dark-theme'
// This is a workaround for the issue with the dark mode selector
// https://github.com/primefaces/primevue/issues/5515
darkModeSelector: '.dark-theme, :root:has(.dark-theme)'
}
}
})