mirror of
https://github.com/booklore-app/booklore.git
synced 2026-02-18 00:17:53 +01:00
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
@@ -11,8 +11,8 @@ import { bootstrapApplication } from '@angular/platform-browser';
|
||||
import { AppComponent } from './app/app.component';
|
||||
import Aura from '@primeng/themes/aura';
|
||||
import { routes } from './app/app.routes';
|
||||
import {AuthInterceptorService} from './app/auth-interceptor.service';
|
||||
import {AuthService} from './app/core/service/auth.service';
|
||||
import { AuthInterceptorService } from './app/auth-interceptor.service';
|
||||
import { AuthService } from './app/core/service/auth.service';
|
||||
|
||||
bootstrapApplication(AppComponent, {
|
||||
providers: [
|
||||
@@ -33,7 +33,10 @@ bootstrapApplication(AppComponent, {
|
||||
provideAnimationsAsync(),
|
||||
providePrimeNG({
|
||||
theme: {
|
||||
preset: Aura
|
||||
preset: Aura,
|
||||
options: {
|
||||
darkModeSelector: '.p-dark'
|
||||
}
|
||||
}
|
||||
})
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user