fix(theme): use p-dark as PrimeNG darkModeSelector to prevent fallback to light styles

This commit is contained in:
Ruhan Monte
2025-04-15 11:10:19 -06:00
committed by Aditya Chandel
parent 6a0b3a5814
commit 8e0aea6fcd
+4 -1
View File
@@ -33,7 +33,10 @@ bootstrapApplication(AppComponent, {
provideAnimationsAsync(),
providePrimeNG({
theme: {
preset: Aura
preset: Aura,
options: {
darkModeSelector: '.p-dark'
}
}
})
]