elm-color icon indicating copy to clipboard operation
elm-color copied to clipboard

Make PRs to other packages that should (and/or have been waiting to) use Color

Open avh4 opened this issue 5 years ago • 3 comments

The goal of this package is to get all Elm packages that produce colors and all Elm packages that consume colors will use this type, so this is a checklist of existing 0.19 packages that might want to switch to using Color.

Guidelines:

Make sure to understand the package author's needs and perspective rather than assuming that using the standard Color type will be the right choice for their package.

  • [ ] https://package.elm-lang.org/packages/the-sett/elm-color/latest/ (can be deprecated)
  • [ ] https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/
  • [ ] https://package.elm-lang.org/packages/rtfeldman/elm-css/latest/
  • [ ] https://package.elm-lang.org/packages/dawehner/elm-colorbrewer/latest/ (current results Float triples--does it even make sense for their use to use Color? maybe not)
  • [ ] https://package.elm-lang.org/packages/terezka/elm-charts/latest/
    • [ ] https://package.elm-lang.org/packages/Bractlet/elm-plot/latest/
  • [ ] https://package.elm-lang.org/packages/gampleman/elm-mapbox/latest/Mapbox-Expression#Color
  • [ ] https://package.elm-lang.org/packages/Orasund/pixelengine/latest/ (Currently uses Css.Color)
  • [ ] https://package.elm-lang.org/packages/capitalist/elm-octicons/latest/Octicons#color
  • which is the fork?
    • [ ] https://package.elm-lang.org/packages/elm-community/typed-svg/latest/TypedSvg-Color (apparently copied the Elm 0.18 code)
    • [ ] https://package.elm-lang.org/packages/emptyflash/typed-svg/latest/TypedSvg-Color
  • [ ] https://package.elm-lang.org/packages/gicentre/elm-vegalite/latest/VegaLite
  • [ ] https://package.elm-lang.org/packages/kuon/elm-hsluv/latest/HSLuv (maybe not necessary--it can currently be used via toRgba)
  • [ ] https://package.elm-lang.org/packages/timjs/elm-collage/latest/

avh4 avatar Sep 12 '18 06:09 avh4

I updated my package to add conversion to the Color type.

I also simplified the API to leave some of the function I had to the Color package.

https://package.elm-lang.org/packages/kuon/elm-hsluv/latest

kuon avatar Sep 18 '18 10:09 kuon

Orasund/pixelengine now uses your package.

Orasund avatar Jan 11 '19 18:01 Orasund

Elm Collage switched to this package.

timjs avatar Jan 14 '19 13:01 timjs