UNPKG

apphouse

Version:

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

21 lines (20 loc) 941 B
import { ApphouseTheme, ExtendedApphouseTheme, ThemedExtendedTokensType } from './defaults/themes.interface'; /** * Helper function to extend theme colors and tokens * @param theme the Theme to extend * @param options the options to extend the theme with * @returns ApphouseTheme the extended theme */ export declare function extendTheme(theme: ApphouseTheme, options: ExtendedApphouseTheme): ApphouseTheme; /** * Extends the Apphouse Dark Theme with the provided color tokens * @param colorTokens color tokens to extend the theme with * @returns ApphouseTheme */ export declare function extendApphouseDarkTheme(colorTokens: ThemedExtendedTokensType): ApphouseTheme; /** * Extends the Apphouse Light Theme with the provided color tokens * @param colorTokens color tokens to extend the theme with * @returns ApphouseTheme */ export declare function extendApphouseLightTheme(colorTokens: ThemedExtendedTokensType): ApphouseTheme;