UNPKG

apphouse

Version:

Component library for React that uses observable state management and theme-able components.

18 lines (17 loc) 582 B
import { ApphouseTheme } from './defaults/themes.interface'; declare class AppTheme { id: 'light' | 'dark' | 'custom' | string; theme: ApphouseTheme; createdBy: string | undefined; createdAt: Date | undefined; updatedAt: Date | undefined; constructor(); setCustomTheme: (theme: ApphouseTheme, id: string) => void; setUpdatedAt: (updatedAt: Date) => void; setCreatedBy: (createdBy: string) => void; setCreatedAt: (createdAt: Date) => void; private setId; private setTheme; private applyThemeColorsToDOM; } export default AppTheme;