UNPKG

norma-library

Version:

Olos/Norma-DS. Design System based on Material UI, developed with TypeScript and Styled Components to create reusable and consistent components in web applications.

12 lines (11 loc) 735 B
declare function getSize(size: string): "text-sm" | "text-lg" | "text-xl" | "text-base"; declare function getBtnSize(size: string): "px-3 py-2 text-xs font-medium" | "px-5 py-2.5 text-sm font-medium " | "px-6 py-3.5 text-base font-medium font-semibold" | "h-10 py-2 px-4 text-lg"; declare function getPaddingSize(size: string): "px-4 py-2.5" | "px-5 py-2.5" | "px-6 py-3"; declare function getHeightSize(size: string): "h-6" | "h-10" | "10" | "h-12"; declare function getIconSize(size: string): "px-1.5 py-0 h-6 w-6" | "px-1.5 py-0 h-8 w-8" | "px-1.5 py-0 h-10 w-10"; declare const sizes: { small: string; medium: string; large: string; }; export { sizes, getBtnSize, getSize, getPaddingSize, getHeightSize, getIconSize };