• Stars
    star
    111
  • Rank 314,510 (Top 7 %)
  • Language
    CSS
  • License
    MIT License
  • Created over 11 years ago
  • Updated almost 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Yahoo's Pure CSS library ported to SASS.

Pure::Sass

pure-sass is a port of Yahoo!'s Pure CSS framework to SASS.

Build Status

Plea

To be honest, I don't really know that much about CSS, I just wanted this Gem to exist so that I could use it on a project. I will gladly accept almost any contribution to help with maintaining this Gem and will give commit rights to anyone who asks for it.

In the long run, I expect that maintainership will be handed to someone else, but I'm happy to incubate it here for now.

Usage

Add pure-sass to your applications Gemfile

gem 'pure-sass'

Then in your app/assets/stylesheets/application.css you can use

 *= require pure/all

or in your Sass or SCSS files you can use

@import 'pure/all'

If you don't want all of Pure then you can manually include

  • pure/defaults - default theme
  • pure/base - base styles based on normalize.css
  • pure/buttons - Pure's button module
  • pure/forms - Pure's form module
  • pure/grids - Pure's grid layout
  • pure/menus - Pure's menu module
  • pure/tables - Pure's table module

Contributing

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