apphouse
Version:
Component library for React that uses observable state management and theme-able components.
10 lines (9 loc) • 367 B
TypeScript
import { ApphouseTheme } from '../../styles/defaults/themes.interface';
/**
* Function to decide current theme object
* @param theme
* @param themeMode
* @returns
*/
export declare const getTheme: (theme?: ApphouseTheme, themeMode?: string) => ApphouseTheme | undefined;
export declare const getThemeWithMode: (mode: string, customTheme?: ApphouseTheme) => any;