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

is it possible to not parse / exclude a custom syntax? #30

Closed jackblackCH closed 10 years ago

jackblackCH commented 10 years ago

the case I have is the framework skrollr. to work with stylesheets i need to add

@-skrollr-keyframes animation-name {
  anchor-target {.welcome}
  top {
    opacity:0
  }
}

the less parser of course breaks at anchor-target {.welcome}

is there a way to get it work with a syntax like that. maybe to whitelist some syntax? for example whitelist @-my-custom-name { and everything here }

jonschlinkert commented 10 years ago

this would be something more appropriate for the less.js repo, if you'd like to make a feature request there.