@lax-wp/design-system
Version:
A comprehensive React + TypeScript design system built with Vite, providing reusable UI components for the LAX web portal applications. Features a complete set of form components, data display elements, and interactive controls with full TypeScript suppor
13 lines (12 loc) • 372 B
TypeScript
/**
* Generate a consistent hash color from a string
*/
export declare const getHashColor: (str: string) => string;
/**
* Lighten a hex color by a percentage
*/
export declare const getLighterColor: (hex: string, percent?: number) => string;
/**
* Darken a hex color by a percentage
*/
export declare const getDarkerColor: (hex: string, percent?: number) => string;