mindctrl/alienship

LESS files

Closed this issue · 4 comments

ckdt commented

Maybe you can provide the .LESS files for easy customization?

This is something I've considered. For dev purposes the theme includes the full Bootstrap load. When developing new sites I do one of two things:

  • I use the Bootstrap Customizer to make customizations and grab only the pieces I need.
  • I do my own customizations in the LESS files, compile them, and drop them into my theme when done.

@ckdt How would you work with the LESS files if they were included in the theme?

ckdt commented

@mindctrl i normally would use grunt.js to compile the less files from bootstrap. I make an _source folder which contains the latest version of bootstrap. Then i make a theme.less which includes only the less files of bootstrap needed for that specific project, so i won't have css i am not using.

'+' for grunt.js (of course you can always include others as well, but Grunt.js is the king of the hill).
Good starting point. http://eamann.com/tech/automated-wordpress-development/

Have just started using Grunt, and, wow, it's been changing my whole workflow.

For some reason I'm not getting notifications on this.

I've used Sass in another project and liked it. Now Bootstrap has an official Sass port, I'd likely use that over LESS.

I've dabbled in Grunt a little and would like to adopt it more. Do you guys have Grunt file examples you can share? @ckdt @Deluxive