Results 1 to 2 of 2

Thread: How do I get Contao to recognize my .scss file

  1. #1
    New user
    Join Date
    11-20-13.
    Posts
    3

    Default How do I get Contao to recognize my .scss file

    I'm trying to learn Sass and use it with Contao 3.3.3. I've set up a .scss file and have added it to my page layout in the additional style sheets field, but it's not working. I'm probably missing something. Does anyone know how to make this work?

  2. #2
    New user
    Join Date
    11-20-13.
    Posts
    3

    Default Got it to work

    I think my overall concept of how it should work was off. I was treating the .scss file like the variables in the Contao's css system. For example, i added $blue: #296dc1; to my .scss file, assuming that everywhere I have $blue in the Contao css manager it would apply it. But that was not the case. I have to add the selectors to my .scss as well. It's not using the .scss file to inform the other css files, it's just adding the outputted css file to the mix.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •