@sheyxneo/angular-material-theme-switcher
Version:
This library will help you to use multiple themes and easily switch between them in your project.
10 lines (9 loc) • 331 B
TypeScript
import { OnInit } from '@angular/core';
import { AmThemeService } from '../../service/am-theme.service';
export declare class DarkSwitcherComponent implements OnInit {
private amThemeService;
isDark: boolean;
constructor(amThemeService: AmThemeService);
ngOnInit(): void;
toggleIsDark(isDark: boolean): void;
}