madebysource/lesshat — pull request #138 by naomik (2014-12-11 20:24:46+00:00)
Title: LESS Hat 101

Newcomers may have no idea how to actually add this mixin lib to their project and actually start using it. This update shows people how to use this library in their own files.

In addition to basics, we should demonstrate the difference between the regular lib and the prefixed lib with a usage example. I've provided such.

As a bonus, I've shown how to create a custom namespace which allows people to "prefix" the lib to their heart's content. Personally, I don't like the ".lh-" prefix and I don't think it's necessary for the build to bake two versions of the library. My simple example demonstrates how easy it is to avoid dependency naming collisions in LESS.