fix(theme): use p-dark as PrimeNG darkModeSelector to prevent fallback to light styles
This commit is contained in:
committed by
Aditya Chandel
parent
6a0b3a5814
commit
8e0aea6fcd
@@ -33,7 +33,10 @@ bootstrapApplication(AppComponent, {
|
|||||||
provideAnimationsAsync(),
|
provideAnimationsAsync(),
|
||||||
providePrimeNG({
|
providePrimeNG({
|
||||||
theme: {
|
theme: {
|
||||||
preset: Aura
|
preset: Aura,
|
||||||
|
options: {
|
||||||
|
darkModeSelector: '.p-dark'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user