[elm-discuss] Re: Moving Color to evancz/graphics

2016-09-30 Thread Richard Feldman
I wrote up an issue for elm-css proposing switching to use it. The issue summarizes the pros and cons, and gives an idea of why I didn't use it in the first place. :) -- You received this message because you are subscribed to the Google Groups

[elm-discuss] Re: Moving Color to evancz/graphics

2016-09-30 Thread Zinggi
As Matthew already said, I think it would be a bad idea to put Color in elm-graphics. Color is a general concept and very useful also outside elm-graphics. In my 2d game library I'm also making use of Color for drawing colored rectangles. I wouldn't want t

Re: [elm-discuss] Re: Moving Color to evancz/graphics

2016-09-30 Thread OvermindDL1
Why is Gradient not public so other libraries can use it anyway? On Friday, September 30, 2016 at 5:33:35 AM UTC-6, Matthew Griffith wrote: > > > Yeah, I'd be fine with that. Not being able to read out gradient values > means I can't really use it. > > > > On Friday, September 30, 2016 at 1:23:

Re: [elm-discuss] Re: Moving Color to evancz/graphics

2016-09-30 Thread Matthew Griffith
Yeah, I'd be fine with that. Not being able to read out gradient values means I can't really use it. On Friday, September 30, 2016 at 1:23:11 AM UTC-4, Janis Voigtländer wrote: > > Given this: > > The Gradient type is opaque, so it’s impossible for anyone but > evancz/graphics to use it. > >

Re: [elm-discuss] Re: Moving Color to evancz/graphics

2016-09-29 Thread Janis Voigtländer
Given this: The Gradient type is opaque, so it’s impossible for anyone but evancz/graphics to use it. How about moving the Gradient type and functions related to it to evancz/elm-graphics? ​ -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To un

[elm-discuss] Re: Moving Color to evancz/graphics

2016-09-29 Thread Matthew Griffith
elm-style-animation accepts the Color types from core as arguments for color property animations. So does my color mixing library (though who knows how many people use that :) I'm working on another library that utilizes it as well. Having a centralized idea of color seems like a pretty basic

[elm-discuss] Re: Moving Color to evancz/graphics

2016-09-29 Thread Nick H
P.S. If this sounds like a good idea, I am happy to do the work. On Thu, Sep 29, 2016 at 1:16 PM, Nick H wrote: > Hi everybody, > > Since 0.18 is going to involve some module juggling in core, I thought > this would be a good time to bring this up. > > This is a follow-up to an elm-discuss threa