@vuesax-alpha/nightly
Version:
A Component Library for Vue 3
17 lines (16 loc) • 1.14 kB
TypeScript
export declare const rgbRE: RegExp;
export declare const rgbNumberRE: RegExp;
export declare const leadingHashRE: RegExp;
export declare const hexShorthandRE: RegExp;
export declare const hexFullRE: RegExp;
export declare type RGB = `rgb(${number},${number},${number})`;
export declare type RGBA = `rgba(${number},${number},${number},${number})`;
export declare type HEX = `#${string}`;
export declare const componentColors: readonly ["primary", "success", "danger", "warn", "dark", "text"];
export declare type ComponentColor = (typeof componentColors)[number];
export declare type ColorProviderContext = {
[T in ComponentColor]?: Color;
};
export declare const vuesaxColors: readonly ["primary", "success", "danger", "warn", "dark", "text", "light", "secondary", "facebook", "twitter", "youtube", "pinterest", "linkedin", "snapchat", "whatsapp", "tumblr", "reddit", "spotify", "amazon", "medium", "vimeo", "skype", "dribbble", "slack", "yahoo", "twitch", "discord", "telegram", "google-plus", "messenger"];
export declare type VuesaxColor = (typeof vuesaxColors)[number];
export declare type Color = RGB | RGBA | HEX | VuesaxColor;