TypeScript 61.9%
HTML 37.2%
SQL 0.7%
1import { divergingColor } from './scale';23/** Inline style for heat-table cells (diverging change). */4export function heatStyle(change: number | null | undefined, limit = 0.1): React.CSSProperties {5 if (change === null || change === undefined) return {};6 return { background: divergingColor(change, limit) };7}8