-
Notifications
You must be signed in to change notification settings - Fork 36
Closed
Description
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/culori@4.0.0/node_modules/culori/src/index.js:274:28
Seems like we forgot modeItp in ./itp/definition.js.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels