@sheyxneo/angular-material-theme-switcher
Version:
This library will help you to use multiple themes and easily switch between them in your project.
13 lines (12 loc) • 408 B
TypeScript
import { OnInit } from '@angular/core';
import { OverlayContainer } from '@angular/cdk/overlay';
export declare class CustomDirective implements OnInit {
private overlayContainer;
oldTheme: string;
colorTheme: string;
isDark: boolean;
themeActiveCssClass: any;
constructor(overlayContainer: OverlayContainer);
ngOnInit(): void;
setTheme(colorTheme: any, isDark: any): void;
}