1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 | import { NbJSThemeOptions } from './js-themes/theme.options';
|
7 | export declare const BUILT_IN_THEMES: NbJSThemeOptions[];
|
8 |
|
9 |
|
10 |
|
11 |
|
12 | export declare class NbJSThemesRegistry {
|
13 | private themes;
|
14 | constructor(builtInThemes: NbJSThemeOptions[], newThemes?: NbJSThemeOptions[]);
|
15 | /**
|
16 | * Registers a new JS theme
|
17 | * @param config any
|
18 | * @param themeName string
|
19 | * @param baseTheme string
|
20 | */
|
21 | register(config: any, themeName: string, baseTheme: string): void;
|
22 | /**
|
23 | * Checks whether the theme is registered
|
24 | * @param themeName
|
25 | * @returns boolean
|
26 | */
|
27 | has(themeName: string): boolean;
|
28 | /**
|
29 | * Return a theme
|
30 | * @param themeName
|
31 | * @returns NbJSThemeOptions
|
32 | */
|
33 | get(themeName: string): NbJSThemeOptions;
|
34 | private combineByNames;
|
35 | private isObject;
|
36 | private mergeDeep;
|
37 | }
|