mirror of
https://github.com/danbee/julep
synced 2025-03-04 08:59:10 +00:00
| images | ||
| includes | ||
| _julep.scss | ||
| README.md | ||
Julep
SASS/SCSS mixins for building mobile web applications. Designed to keep your markup clean and semantic and free of cruft.
Requirements
- Bourbon (http://bourbon.io)
Installation
-
Clone the repository to your stylesheets directory.
-
Add
@import "julep/julep"to your SASS/SCSS.
Usage
Simply include the appropriate mixin in your stylesheet. E.g.
Header
<header>
<h1>App Name</h1>
</header>
header {
@include header($color);
}
Tab Bar
Pass the number of buttons in your tab bar to the mixin.
<footer>
<ul>
<li><a href="#" id="one">One</a></li>
<li><a href="#" id="two">Two</a></li>
</ul>
</footer>
footer {
@include tabbar(2);
}
Lists
<ul>
<li>First Item</li>
<li>Second Item</li>
<li>Third Item</li>
</ul>
ul {
@include list;
}
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Added some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request