krypton-ui
Version:
<h1 align="center"> <p align="center"><a href="https://krypton-ui.com"><img src="https://user-images.githubusercontent.com/7073241/224507377-395bffc0-9ff7-4d74-865b-f734394a7e7e.png" alt="Krypton" width="200"></a></p> </h1>
9 lines (8 loc) • 382 B
TypeScript
type RGB = `rgb(${number}, ${number}, ${number})`;
type HEX = `#{string}`;
export type ColorCodes = RGB | HEX;
export type Color = "primary" | "dark" | "secondary" | "danger" | "warning" | "info" | "white" | "success";
export type Size = "sm" | "md" | "lg" | "xl";
export type ColorMetricProps = Record<Color, string>;
export type SizeMetricProps = Record<Size, number>;
export {};