Sass, as CSS, is a markup, not programming language. The business logic of your app belongs to your app, not stylesheets. Theming is best done by loading separate stylesheets or putting everything in a single one and then using classnames/id on BODY.
On Thu, Mar 27, 2008 at 12:37 AM, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > Is there a way to import a sass file based on a Rails environment > variable? > > I have multiple themes I use for the same code base which mean I need > to do something like: > > - if theme1 > @import theme_1.sass > - elsif theme2 > @import theme_2.sass > > Thanks, > > -- Joe > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
