Any plans to support sass as well as less?
Permalink 1 user found helpful
Hi I've recently been using Gumby Framework quite a lot which makes use of sass and i see in your video you will be using less for 5.7 would you consider supporting sass as well at some point?
I did a bit more reading about PHP and Sass - I don't think there's a PHP port of Compass, Ruby would have to be installed. You wouldn't would want to offer Sass compiling without Compass.
Also Less has a mature client side compiler (Javascript), and Sass lacks this, removing another option to integrate Sass.
So I don't think we'll see Sass integrated anytime soon, while Less is much more straightforward.
Also Less has a mature client side compiler (Javascript), and Sass lacks this, removing another option to integrate Sass.
So I don't think we'll see Sass integrated anytime soon, while Less is much more straightforward.
I think with LESS the compiler in javascript is the primary development and php compilers are ports from that, so the php compilers can lag behind with what they are capable of. Six months or so ago php was way behind, but seems to have caught up with the jsavscript more recently.
i know this is an old thread, - i guess prior to 5.7
but my question today is the same:
is 5.7 supporting sass? are there any themes in sass (scss)?
how would i convert the elemental less int sass?
thanks for any information.
blink.
but my question today is the same:
is 5.7 supporting sass? are there any themes in sass (scss)?
how would i convert the elemental less int sass?
thanks for any information.
blink.
I do prefer scss as well, I read somewhere they were going to support this if I'm not mistaken. Could't find it unfortunately. So, anyone got some info about this? :)
@blinkdesign
There is a Sass and Less section on this page that covers converting Sass to Less manually and with automated tasks.
https://www.concrete5.org/community/forums/5-7-discussion/5.7-theme-...
There is a Sass and Less section on this page that covers converting Sass to Less manually and with automated tasks.
https://www.concrete5.org/community/forums/5-7-discussion/5.7-theme-...
@ramonleenders
@MrKDilkington
thank you for the feedback.
converting less to scss is no option. client requires bootstrap scss because their other sites run on scss.
is it possible to build a pure sass concrete5 theme (v.5.74) ?
regards
blink
@MrKDilkington
thank you for the feedback.
converting less to scss is no option. client requires bootstrap scss because their other sites run on scss.
is it possible to build a pure sass concrete5 theme (v.5.74) ?
regards
blink
LESS or SASS only makes a difference if you want to be able to adjust the theme from the dashboard.
Otherwise you just use the compiled css and who cares what it was compiled with.
Otherwise you just use the compiled css and who cares what it was compiled with.
If someone is still interested in compiling Sass (specifically SCSS) on the server side, we have implemented an installable concrete5 package for this purpose:
https://github.com/mainio/c5_asset_pipeline...
It allows the developers to use any preprocessor there is to write their CSS. And it all works within concrete5 without any external tools. It also allows developers to use preprocessors for JS in case they need to use them (e.g. CoffeeScript).
We would love to hear some feedback on this package! Possible bug reports can be directly reported into the GitHub repository's issues.
We are also hoping to get these features integrated into the core. If you have some thoughts on this, feel free to share them at this related GitHub issue:
https://github.com/concrete5/concrete5/issues/2061...
https://github.com/mainio/c5_asset_pipeline...
It allows the developers to use any preprocessor there is to write their CSS. And it all works within concrete5 without any external tools. It also allows developers to use preprocessors for JS in case they need to use them (e.g. CoffeeScript).
We would love to hear some feedback on this package! Possible bug reports can be directly reported into the GitHub repository's issues.
We are also hoping to get these features integrated into the core. If you have some thoughts on this, feel free to share them at this related GitHub issue:
https://github.com/concrete5/concrete5/issues/2061...
OK, this is awesome. I have yet to try it, I will schedule that in.
One question though, the readme says:
"This will reference three CSS files (specified above) within your theme's css folder, preprocess them and combine them into a single CSS file that is downloaded by the client.".
For each client, the code will be generated? Or will there be a file made and stored (cached), and this package outputs the URL to this cached file (or multiple files if you are using CSS, Less, Javascript)?
One question though, the readme says:
"This will reference three CSS files (specified above) within your theme's css folder, preprocess them and combine them into a single CSS file that is downloaded by the client.".
For each client, the code will be generated? Or will there be a file made and stored (cached), and this package outputs the URL to this cached file (or multiple files if you are using CSS, Less, Javascript)?
I do prefer Sass over Less, it's more powerful and it appears to have more activity in terms of libraries and future development. Less is still great, but i'm a bit more confident with the future of Sass.
My guess though is that Less's PHP compiler is perhaps a bit easier to integrate than the PHP version of the Sass compiler, so it could come down more to technical limitations than pre-processor choice. I reckon it might get a bit messy when you need to include Compass and other libraries, whereas I think Less would be more straightforward. (I know there is a decent PHP SCSS compiler out there though)
Personally if I ever do look to build a heavily configurable theme that uses Sass, I'd probably roll my own dashboard page to make the edits and worry about what is needed to get that to work for Sass then. Editing colours is one thing, but I also like the idea of being able to turn things on and off, change sizes, etc.