graypegg / chromatism

:rainbow: A simple set of utility functions for colours.
1.78k stars 37 forks source link

Refactoring to tiny functions #11

Closed TehShrike closed 7 years ago

TehShrike commented 7 years ago

Goal: expose a bunch of tiny operation functions that people can bundle into their webapps without unnecessary byte-size-guilt

Work is happening in the refactor branch.

Longer shots that can wait for another version:

graypegg commented 7 years ago

@TehShrike Will be working on this! Currently in the UK at the moment with intermittent internet :(

TehShrike commented 7 years ago

I have pull requests open for the tests and splitting the helpers out. Once those are merged, I'll make the switch to ESM and we can bikeshed the best conversion path solution.

graypegg commented 7 years ago

@TehShrike Merged! Thanks again for all of this! Sorry I've been so absent, holiday's getting in the way.

TehShrike commented 7 years ago

Once #20 is merged we just have to decide what to do with convert-to-type.js. We can chat about that in Discord

graypegg commented 7 years ago

Merged #20! Also fixed HSV=>RGB inefficiency in #25!