@pbroom/color-kit/reactPerformance

ColorPlanePerformanceProfile

How eagerly useAdaptiveQuality trades detail for speed. 'quality' always stays at 'high'; 'auto', 'balanced' and 'performance' lower the level when frames are slow, with progressively earlier degradation (and 'performance' starts at 'medium').

typeimport type { ColorPlanePerformanceProfile } from '@pbroom/color-kit/react';use-adaptive-quality.ts:9
type ColorPlanePerformanceProfile =
  | 'auto'
  | 'quality'
  | 'balanced'
  | 'performance';