@ducor/react
Version:
admin template ui interface
15 lines (14 loc) • 423 B
TypeScript
import type { Color, Variant } from "@ducor/color";
interface Colors {
borders: Record<Color, string>;
textColor: Record<Color, string>;
}
declare const colors: Colors;
interface GetColorProps {
variant: Variant;
color?: Color;
disabled?: boolean;
active?: boolean;
}
export declare const getColor: ({ variant, color: colorName, disabled, active, }: GetColorProps) => string;
export default colors;