UNPKG

@nativescript-community/ui-material-core

Version:
43 lines (42 loc) 1.75 kB
import { Color } from '@nativescript/core'; import { ShapeProperties } from '.'; import { applyMixins } from './index.common'; export * from './cssproperties'; export { applyMixins }; export declare class Themer { primaryColor: string | Color; onPrimaryColor: string | Color; accentColor: string | Color; secondaryColor: string | Color; primaryColorVariant: string | Color; surfaceColor: string | Color; onSurfaceColor: string | Color; getOrcreateAppColorScheme(): void; getAppColorScheme(): void; setPrimaryColor(value: string | Color): void; getPrimaryColor(): string | Color; setOnPrimaryColor(value: any): void; getOnPrimaryColor(): string | Color; setAccentColor(value: string | Color): void; getAccentColor(): string | Color; setSurfaceColor(value: string | Color): void; getSurfaceColor(): string | Color; setOnSurfaceColor(value: string | Color): void; getOnSurfaceColor(): string | Color; setPrimaryColorVariant(value: string | Color): void; getPrimaryColorVariant(): string | Color; setSecondaryColor(value: string | Color): void; getSecondaryColor(): string | Color; controlHighlightColor: Color; getControlHighlightColor(): Color; _shapes: { [k: string]: com.google.android.material.shape.ShapeAppearanceModel; }; getShape(key: string): com.google.android.material.shape.ShapeAppearanceModel; createShape(key: string, options: ShapeProperties): void; } export declare const themer: Themer; export declare function install(): void; export declare function getRippleColor(color: string | Color, alpha?: number): number; export declare function overrideViewBase(): void; export declare function installMixins(): void;