The benefit of doing it now is that there'll be fewer uses of it to fix
later when we remove it ;)

How do you use the color math? I don't find it useful beyond adding and
subtracting gray which could be replaced by calls to lighten() and darken().

chris

On Sun, Aug 8, 2010 at 2:37 PM, Lorin Tackett <[email protected]>wrote:

> I can get behind that. But I'm in conflict about the right course of
> action.
>
> I don't like the idea of removing features just to re-implement them in a
> different way at a later date. I'm not opposed to shepherding the user into
> using the awesome color functions vs. the color math, but I'm not seeing the
> benefit of removing them at this time.
>
> I still use color math sometimes when I'm feeling lazy (mostly :hover
> states).
>
> --
> Lorin Tackett
> http://lorintackett.com
>
> On Aug 8, 2010, at 2:19 PM, Chris Eppstein wrote:
>
> 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.
>
>
>  --
> 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.

Reply via email to