Is there a way in SASS to assign the value of a constant to another if the latter is nil? Something like:
!DARK_COLOR ||= !MAIN_COLOR Seems like it would be useful to be able to do something like: !MAIN_COLOR = red !LITE_COLOR = pink !DARK_COLOR = maroon !DARK_COLOR ||= !MAIN_COLOR !TABLE_BORDER_COLOR ||= !DARK_COLOR ||= !MAIN_COLOR !TABLE_CAPTION_BACKGROUND_COLOR ||= !DARK_COLOR ||= !MAIN_COLOR !TABLE_HEADING_BACKGROUND_COLOR ||= !DARK_COLOR ||= !MAIN_COLOR !TABLE_ALT_ROW_COLOR ||= !LITE_COLOR --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
