Closed prjctimg closed 1 month ago
The best way to allow developers to extend the palette generator functions is to use the built-in mapper
function in Culori allowing us to define the custom rules per color token
.
Probably we can pass the mapping rules per manipulation.
https://culorijs.org/api/#mapper
Above link references how the function works.
I need to setup a few things in prder to make sure that the intended channels are manipulated and that the output returned is displayable.
WIP
Just fixed the hueshift function... 2 more builtin utilities left
The
generators
module is in disrepair and is requiring a full refactor.The goals for this refactor are: