Re: [haml] Re: ruby variables in sass

2010-06-03 Thread Yannis Jaquet
t it but > like you said, if the style wasn't just about the header then we're in > trouble. Also, was the link deliberate? page titles? we already use > that unless the link was wrong or there are other tips in the > screencast besides page titles? > > On Jun 3, 7

Re: [haml] Re: ruby variables in sass

2010-06-03 Thread Yannis Jaquet
iew > > if user1 > #header-for-user1 > elseif user2 > #header-for-user2 > > something like that? > > On Jun 3, 6:58 pm, Yannis Jaquet wrote: >> Would'nt be easier to dynamically set the class of this #header and >> change the background color of th

Re: [haml] ruby variables in sass

2010-06-03 Thread Yannis Jaquet
Would'nt be easier to dynamically set the class of this #header and change the background color of this header depending on this class? On 3 juin 2010, at 10:56, Eumir wrote: is there a way to access ruby variables in sass or do i have to make a custom function for it? what im trying to d