const DEFAULT_COLORS_SCALE = { 0: 'hsl(var(--primary))', 1: 'hsl(var(--primary))', 2: 'hsl(var(--primary))', }; export function BackgroundHue({ className, opacity = 0.03, colorsScale = DEFAULT_COLORS_SCALE, }: { className?: string; opacity?: number; colorsScale?: Record; }) { const colors = Object.values(colorsScale).map((color, index, array) => { const offset = array.length > 1 ? index / (array.length - 1) : 0; const stopOpacity = 1 - index / (array.length - 1); return ( ); }); return ( ); }