assemble / assemble-less

Grunt task for compiling LESS to CSS. This task does for less what Assemble does for HTML, making it much easier to modularize and reduce repetition in stylesheets.
http://github.com/assemble/assemble/
MIT License
66 stars 20 forks source link

Undefined variable event after importing variables file #35

Open fpoirier1 opened 9 years ago

fpoirier1 commented 9 years ago

I wanna use semantic-ui for my project. I've copy the less files in the semanticfolder and I have my less where I customize the theme. My src/assets folder looks like this :

- images
- less
  - main.less
- semantic
  - definitions
  - themes
  - semantic.less
  - theme.config
  - theme.less

My gruntFile.js for the less module looks like this :

less: {
  development: {
    files: {
      '<%= config.assets %>/css/main.css' : '<%= config.assets %>/less/main.less',
    }
  }
}

Am I missing something here ?

fpoirier1 commented 9 years ago

Here is a reproduction.

https://github.com/fpoirier1/assemble-semantic