UNPKG

@railzai/railz-visualizations

Version:
8 lines (7 loc) 345 B
/** * 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;