1
0
mirror of https://github.com/danbee/julep synced 2025-03-04 08:59:10 +00:00
Go to file
2013-02-26 18:06:38 +00:00
images Add new loaders with 2x version. 2013-02-12 13:32:02 +00:00
includes Set font size for buttons and inputs. 2013-02-26 18:06:38 +00:00
_julep.scss Add some base input styles. 2013-02-26 16:46:45 +00:00
README.md Update README.md 2013-02-12 22:03:12 +00:00

Julep

SASS/SCSS mixins for building mobile web applications. Designed to keep your markup clean and semantic and free of cruft.

Requirements

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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request