You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At this moment all the colors have fixed alpha channel. This makes the gem useless for some purposes (i.e. CSS). What is a reason to have css_rgba if it anyway substitutes 1 for alpha?
I started to add alpha channels to RGB and other classes, but there is one problem, so I want to ask first.
Is it OK if initialize functions will change its parameters? For example, for RGB:
For different reasons, I am going to be releasing one more Color 1.x release and then I hope to get back to color-2 in the new year. When I move that direction, I am probably moving toward making it support Ruby 2 only especially for new parameters so as to support keyword arguments.
At this moment all the colors have fixed alpha channel. This makes the gem useless for some purposes (i.e. CSS). What is a reason to have
css_rgba
if it anyway substitutes 1 for alpha?I started to add alpha channels to
RGB
and other classes, but there is one problem, so I want to ask first.Is it OK if initialize functions will change its parameters? For example, for
RGB
:Code depending on
radix
parameter will have to be updated then. Considering that color-2 is in development, I think that it's OK.Another approach is to create separate classes
RGBA
and so on. Since alpha channel can be applied to each color model, it is questionable way.What do you think or plan?
The text was updated successfully, but these errors were encountered: