Anyone have drupal 7 plans for this module. It would be create combination with something like the Sweaver project. Where as Sweaver atm cannot change classes this could be something that we could do here in the dcss project?

Any ideas plans would love to hear the thoughts

Comments

danmasq’s picture

Hey cmcintosh, I think you should look into using http://drupal.org/project/less instead of dcss. It appears to already have a d7 port and the actual variable implementation of LESS (among the other awesome things LESS can do) is much classier than in dcss. I imagine it would be trivial to use php to generate variables on a .less page then have LESS compile that.

cmcintosh’s picture

thats not exactly the only thing im looking for and there is somethings in dcss that dont look like they exist in the less module, gradients, etc. maybe a possibility to merge the two project's features then?

danmasq’s picture

eh, you can pretty much do anything with Less, including gradients. I redid most of the stuff that I built for dcss using less over here: https://github.com/dancrew32/less-zen/blob/master/helpers.less#L43-48 . A lot of the color stuff is also built in: http://lesscss.org/#-color-functions

You'll find using Less is much easier than dcss in the long run. Let me know if you have any more questions about translating dcss stuff into Less!

cmcintosh’s picture

Do you know if their solution supports PHP in the CSS/LESS files? The reason i am looking into dcss was to allow some styling options via the UX to a user. It does not look like from the Less Lib documentation that php is in any of the files, just pre-defining of a less variable and reusing it, which is not a useful as one would probably think.

cmcintosh’s picture

correction towards the very bottom there is a little php, so i guess i could use it for my needs.