It's possible that the color math will re-emerge in a later release as color operations that make sense. For instance *, +, and - could be the color math similar to what photoshop does for multiply, add, and subtract instead of rgb-component based algorithms.
But mostly because having features that people don't/shouldn't use creates more to learn and understand and can add to a negative impression of the language. chris On Sun, Aug 8, 2010 at 1:14 PM, Lorin Tackett <[email protected]>wrote: > Is there a reason color math should be deprecated? Is it holding back the > development of Sass? > > -- > Lorin Tackett > http://lorintackett.com > > On Aug 8, 2010, at 10:15 AM, Chris Eppstein wrote: > > Now that sass has the color functions, we are considering deprecating color > math syntax which is not very useful in our experience. This means that the > following syntax would be slated for removal: > > #abc + #321 => #ddd > > #abc - #321 => #79b > > #333 * 3 => #999 > > #999 / 3 => #333 > > The full set of color arithmetic that would be deprecated are documented > here: > http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#color_operations > > If you are using these features, you'd be given deprecation warnings so > that you could find and change those expressions to functional > transformations documented here: > http://sass-lang.com/docs/yardoc/Sass/Script/Functions.html > > If you feel this shouldn't be done or that there's a reason to keep any of > the existing color arithmetic please let us know. > > Chris > > -- > You received this message because you are subscribed to the Google Groups > "Haml" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/haml?hl=en. > > > -- > You received this message because you are subscribed to the Google Groups > "Haml" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected] <haml%[email protected]>. > For more options, visit this group at > http://groups.google.com/group/haml?hl=en. > -- You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/haml?hl=en.
