react-native-ui-lib
Version:
<p align="center"> <img src="https://user-images.githubusercontent.com/1780255/105469025-56759000-5ca0-11eb-993d-3568c1fd54f4.png" height="250px" style="display:block"/> </p> <p align="center">UI Toolset & Components Library for React Native</p> <p a
45 lines (44 loc) • 1.34 kB
TypeScript
export declare class ThemeManager {
theme: {
primaryColor: string;
CTA: {
textColor: string;
disabledColor: string;
backgroundColor: string;
};
titleColor: string;
subtitleColor: string;
dividerColor: string;
components: Extendable;
};
forcedTheme: {
components: Extendable;
};
getTheme(): {
primaryColor: string;
CTA: {
textColor: string;
disabledColor: string;
backgroundColor: string;
};
titleColor: string;
subtitleColor: string;
dividerColor: string;
components: Extendable;
};
setItem(key: string, value: any): void;
getItem(key: string): any;
setComponentTheme(componentName: string, overrides: Dictionary<any> | Function): void;
setComponentForcedTheme(componentName: string, overrides: Dictionary<any> | Function): void;
get components(): Extendable;
get forcedThemeComponents(): Extendable;
get primaryColor(): string;
get CTATextColor(): string;
get CTADisabledColor(): string;
get CTABackgroundColor(): string;
get titleColor(): string;
get subtitleColor(): string;
get dividerColor(): string;
}
declare const _default: ThemeManager;
export default _default;