@railzai/railz-visualizations
Version:
Railz.ai Visualizations
8 lines (7 loc) • 345 B
TypeScript
/**
* Check if colors passed are accessibility friendly
* @param backgroundColor: background color
* @param foregroundColor: foreground color
* @param message: extra message if needed to describe the warning if any
*/
export declare const checkAccessibility: (backgroundColor: string, foregroundColor: string, message?: string) => boolean;