UNPKG

1.19 kBTypeScriptView Raw
1/**
2 * @license
3 * Copyright Akveo. All Rights Reserved.
4 * Licensed under the MIT License. See License.txt in the project root for license information.
5 */
6import { ModuleWithProviders } from '@angular/core';
7import { NbThemeOptions } from './theme.options';
8import { NbJSThemeOptions } from './services/js-themes/theme.options';
9import { NbMediaBreakpoint } from './services/breakpoints.service';
10import { NbLayoutDirection } from './services/direction.service';
11export declare function windowFactory(platformId: Object): Window | undefined;
12export declare class NbThemeModule {
13 /**
14 * Main Theme Module
15 *
16 * @param nbThemeOptions {NbThemeOptions} Main theme options
17 * @param nbJSThemes {NbJSThemeOptions[]} List of JS Themes, will be merged with default themes
18 * @param nbMediaBreakpoints {NbMediaBreakpoint} Available media breakpoints
19 * @param layoutDirection {NbLayoutDirection} Layout direction
20 *
21 * @returns {ModuleWithProviders}
22 */
23 static forRoot(nbThemeOptions?: NbThemeOptions, nbJSThemes?: NbJSThemeOptions[], nbMediaBreakpoints?: NbMediaBreakpoint[], layoutDirection?: NbLayoutDirection): ModuleWithProviders<NbThemeModule>;
24}