@revenuecat/purchases-ui-js
Version:
Web components for Paywalls. Powered by RevenueCat
32 lines (31 loc) • 895 B
TypeScript
/**
* All those colors get translated in --rc-color-<property_name> css variables.
* i.e. --rc-color-error or --rc-color-input-background
*/
export interface Colors {
error: string;
warning: string;
focus: string;
accent: string;
primary: string;
"primary-hover": string;
"primary-pressed": string;
"primary-text": string;
white: string;
"grey-text-dark": string;
"grey-text-light": string;
"grey-ui-dark": string;
"grey-ui-light": string;
"input-background": string;
background: string;
}
export declare const DEFAULT_FORM_COLORS: Colors;
export declare const DEFAULT_INFO_COLORS: Colors;
export declare const FormColorsToBrandingAppearanceMapping: {
"input-background": string;
background: string;
};
export declare const InfoColorsToBrandingAppearanceMapping: {
"input-background": string;
background: string;
};