You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
320 B

export declare type Gradients = {
[percent: string]: string;
};
export declare type FromTo = {
from: string;
to: string;
};
export declare type LinearGradient = {
direction?: string;
} & (Gradients | FromTo);
export declare function getBackgroundColor(color: string | string[] | LinearGradient): string;