Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LESS Hat 101 #138

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

LESS Hat 101 #138

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Dec 11, 2014

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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants