Jump to:

1384 Posts in 493 Topics by 522 members

Themes

SilverStripe Forums » Themes » PHP based SASS.. ?

Discuss SilverStripe Themes.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 801 Views
  • DsX
    Avatar
    Community Member
    178 Posts

    PHP based SASS.. ? Link to this post

    I am working on a Foundation based theme.. however I would like to not use ruby.
    Does anyone have experience/recommendations on how to go about using one of the available PHP based compilers rather than ruby with Foundation and Silverstripe?
    I know Foundation uses SASS, so I imagine I need a PHP SASS complier like : http://www.phpsass.com/
    Just unsure how this can integrate with silverstripe.

  • Bambii7
    Avatar
    Community Member
    254 Posts

    Re: PHP based SASS.. ? Link to this post

    Depends on how you want to integrate. Full integration would be nice so SS builds and caches the files. But this could be involved. I would use it outside of SS, code in sass and use your preferred compiler. Checkout grunt.js you can set it to watch a directory and perform tasks on file change. So it can auto compile sass to css with what ever compiler you like, although this will be breaking out of a strictly php set up

    801 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.