import { useId } from 'react'; export interface DuotoneProps { src: string; alt: string; size?: number; /** `round` for a chat avatar, `tile` for a large portrait. */ shape?: 'round' | 'tile'; className?: string; } /** * A photograph pushed through the pack's green duotone: desaturated, then mapped * through three stops (the field, the phosphor, the pale ink). The table values are * those stops written as fractions; an SVG filter cannot read a custom property, so * they move with the tokens by hand (see the pack's Gotchas). */ export function Duotone({ src, alt, size = 112, shape = 'tile', className }: DuotoneProps) { const id = `ph-duo-${useId().replace(/:/g, '')}`; return ( {alt} ); }