Kevin Clark's Avatar

Kevin Clark

17 Apr, 2012 07:06 PM

I don't know if it's possible, but I'd like to be able to output the rendered CSS file as a template.


  1. Support Staff 1 Posted by Wouter Vervloet on 17 Apr, 2012 07:10 PM

    Wouter Vervloet's Avatar

    Hi Kevin,

    Maybe a silly question, but why would you want to do that?

    – Wouter

  2. 2 Posted by Kevin Clark on 17 Apr, 2012 07:17 PM

    Kevin Clark's Avatar

    I have an $accent color mixin which is used throughout the stylesheet and basically, what I want to do is manually change that color on each page. My initial thought was to put a {if segment_1 == 'foo'}$accent = #hex;{/if}. Maybe there's an easier way to do this, but you can't seem to use ee tags the way it works now. Am I wrong?

  3. Support Staff 3 Posted by Wouter Vervloet on 18 Apr, 2012 09:04 PM

    Wouter Vervloet's Avatar

    I'm afraid it is not possible to output to a template from Sassee.

    And alternative would be to use an id-attribute on the body and put all the necessary colors in 1 file.

    <body id="{segment_1}-page">


    #contact-page .accent {

    – Wouter

  4. Wouter Vervloet closed this discussion on 14 Jul, 2012 11:16 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

11 May, 2020 02:18 PM
16 Apr, 2020 06:39 AM
04 Apr, 2020 06:12 PM
30 Mar, 2020 07:50 PM
24 Mar, 2020 05:10 PM