Skip to content
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.

himynameisdave/Lesslie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

###Lesslie Bower

A (Modular) LESS Library For The Rest of Us!

Lesslie

We all need a good LESS library to simplify stupid things like vendor prefixes and just general annoyances we all face. And no one has ever thought of building a LESS library before, so I guess I'll build it (you're welcome, world).

Please steal/alter any part of this for your own Less library. I've found that the best pre-processor/CSS libraries are the ones that you make yourself, which is how I got to creating Lesslie.


####Howcanigetit?

Clone this repo, or through the good ol' Bowers:

bower install lesslie

By default, it's gunna throw that in your ./bower_components/lesslie/dist/ directory.

####Usage

Common usage would be like adding this to the top of your less file. This brings in the reset as well as all of Lesslie's modules

@import "./bower_components/lesslie/dist/reset.less";
@import "./bower_components/lesslie/dist/lesslie.less";

But maybe you just want to use all of the stuff in the Lesslie library, such as all the mixins with none of the modules showing up in the exported stylesheet. No problem, just reference the lesslie.less instead of importing it.

@import "./bower_components/lesslie/dist/reset.less";
@import (reference) "./bower_components/lesslie/dist/lesslie.less";

####Licence

The MIT License (MIT)

Copyright (c) 2015 Dave Lunny

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


Created by Dave Lunny in the beautiful year 2015.