@vuesax-alpha/nightly
Version:
A Component Library for Vue 3
44 lines (42 loc) • 919 B
JavaScript
const rgbRE = /^(rgb|rgba)/;
const rgbNumberRE = /^(0|255|25[0-4]|2[0-4]\d|1\d\d|0?\d?\d),(0|255|25[0-4]|2[0-4]\d|1\d\d|0?\d?\d),(0|255|25[0-4]|2[0-4]\d|1\d\d|0?\d?\d)$/;
const leadingHashRE = /^(#)/;
const hexShorthandRE = /^#?([a-f\d])([a-f\d])([a-f\d])$/i;
const hexFullRE = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;
const componentColors = [
"primary",
"success",
"danger",
"warn",
"dark",
"text"
];
const vuesaxColors = [
...componentColors,
"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 { componentColors, hexFullRE, hexShorthandRE, leadingHashRE, rgbNumberRE, rgbRE, vuesaxColors };
//# sourceMappingURL=color.mjs.map