Seems like there is a regression in 4.0 with 'culori/fn' import because of new itp color space.
Both in Node.js and browser (after Vite):
import { useMode } from 'culori/fn'
Error:
Uncaught ReferenceError: Cannot access 'modeItp' before initialization
at file:///home/ai/Dev/oklch-picker/node_modules/.pnpm/[email protected]/node_modules/culori/src/index.js:274:28
Seems like we forgot modeItp in ./itp/definition.js.