@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
27 lines (23 loc) • 520 B
TypeScript
declare module 'color-rgba' {
const rgba: (value: string) => [number, number, number, number];
export = rgba;
}
declare module 'rgba-convert' {
const rgba: {
arr: (value: string) => number[];
css: (value: string) => string;
hex: (value: string) => string;
};
export = rgba;
}
interface ContrastColor {
bgColor?: string;
fgDarkColor?: string;
fgLightColor?: string;
customNamedColors?: {
water: string;
};
}
declare const contrastColor: {
contrastColor: (contrastColor: ContrastColor) => string;
};