diff --git a/src/app/showcase/layout/app.main.component.ts b/src/app/showcase/layout/app.main.component.ts index 42e41aacd9a..8f763bf77bc 100644 --- a/src/app/showcase/layout/app.main.component.ts +++ b/src/app/showcase/layout/app.main.component.ts @@ -12,7 +12,7 @@ import { AppTopBarComponent } from './topbar/app.topbar.component'; @Component({ selector: 'app-main', template: ` -
+
@@ -52,6 +52,10 @@ export class AppMainComponent { return this.configService.state.menuActive; } + get theme(): string { + return this.configService.config.theme; + } + get containerClass() { return { 'layout-news-active': this.isNewsActive, diff --git a/src/app/showcase/layout/doc/app.docapitable.component.ts b/src/app/showcase/layout/doc/app.docapitable.component.ts index 6e28b847ff3..a380380cc78 100644 --- a/src/app/showcase/layout/doc/app.docapitable.component.ts +++ b/src/app/showcase/layout/doc/app.docapitable.component.ts @@ -1,6 +1,7 @@ import { Location } from '@angular/common'; -import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, ViewContainerRef } from '@angular/core'; +import { ChangeDetectionStrategy, Component, Input, ViewContainerRef } from '@angular/core'; import { Router } from '@angular/router'; +import { AppConfigService } from '../../service/appconfigservice'; @Component({ selector: 'app-docapitable', @@ -53,8 +54,8 @@ import { Router } from '@angular/router';