You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
frontend/src/app/app.component.ts

17 lines
408 B
TypeScript

4 years ago
import { Component, Renderer2 } from '@angular/core';
4 years ago
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class AppComponent {
title = 'flotte-frontend';
4 years ago
constructor(private renderer: Renderer2) {
this.renderer.addClass(document.body, 'mat-app-background');
this.renderer.addClass(document.body, 'dark-theme');
}
4 years ago
}