Packages
Advanced configurable navigation component for Phoenix LiveView with native DaisyUI integration, Tailwind CSS support, permissions filtering, dropdowns, mega menus, and modern responsive design. Optimized for Phoenix 1.8+ and LiveView 1.1+.
Current section
Files
Jump to
Current section
Files
assets/node_modules/culori/src/_prepare.js
import parse from './parse.js';
const prepare = (color, mode) =>
color === undefined
? undefined
: typeof color !== 'object'
? parse(color)
: color.mode !== undefined
? color
: mode
? { ...color, mode }
: undefined;
export default prepare;