import { css } from '@remix-run/ui' /* * A comparison of color interpolation methods. * * The "dimming effect" in browser animations happens because sRGB is * gamma-encoded, so linear interpolation passes through desaturated colors. * * The OKLCH box uses the @property hack: register a custom property as , * animate it 0→1, then use color-mix(in oklch, ...) with that number. */ export function ColorInterpolation() { return () => (
sRGB
OKLCH
) }