Refactor appConfig component, update layoutService and implement Angular signals
This commit is contained in:
@@ -97,15 +97,15 @@ export class AppLayoutComponent implements OnDestroy {
|
||||
|
||||
get containerClass() {
|
||||
return {
|
||||
'layout-theme-light': this.layoutService.config.colorScheme === 'light',
|
||||
'layout-theme-dark': this.layoutService.config.colorScheme === 'dark',
|
||||
'layout-overlay': this.layoutService.config.menuMode === 'overlay',
|
||||
'layout-static': this.layoutService.config.menuMode === 'static',
|
||||
'layout-static-inactive': this.layoutService.state.staticMenuDesktopInactive && this.layoutService.config.menuMode === 'static',
|
||||
'layout-theme-light': this.layoutService.config().colorScheme === 'light',
|
||||
'layout-theme-dark': this.layoutService.config().colorScheme === 'dark',
|
||||
'layout-overlay': this.layoutService.config().menuMode === 'overlay',
|
||||
'layout-static': this.layoutService.config().menuMode === 'static',
|
||||
'layout-static-inactive': this.layoutService.state.staticMenuDesktopInactive && this.layoutService.config().menuMode === 'static',
|
||||
'layout-overlay-active': this.layoutService.state.overlayMenuActive,
|
||||
'layout-mobile-active': this.layoutService.state.staticMenuMobileActive,
|
||||
'p-input-filled': this.layoutService.config.inputStyle === 'filled',
|
||||
'p-ripple-disabled': !this.layoutService.config.ripple
|
||||
'p-input-filled': this.layoutService.config().inputStyle === 'filled',
|
||||
'p-ripple-disabled': !this.layoutService.config().ripple
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user