middleman-pure
CSS Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app/assets/stylesheets
features
fixtures
lib
.gitignore
.travis.yml
Gemfile
LICENSE.md
README.md
Rakefile
bower.json
middleman-pure.gemspec

README.md

Middleman::Pure

This library provide Pure into Middleman Project.

Usage

$ middleman init PROJECT
$ cd PROJECT 
$ vi Gemfile 

Add a postscript:

gem 'middleman-pure', :github => 'yterajima/middleman-pure'
gem 'font-awesome-middleman' # if you want to use font-icon

NOTICE: font-awesome-middleman provides `font-awesome' CSS and Fonts file your Middleman Project.

$ bundle install --path vendor/bundle

For example, You can use to add these text in top of source/stylesheets/all.css:

//= require 'pure-min'
//= require 'font-awesome'

Or if you would use sass:

@import 'pure-min'
@import 'font-awesome'

And wake up middleman server.

$ bundle exec middleman server 

Namespaces

From >= v0.5.2, you can use namespace (pure and pure-min). For example:

//= require 'pure/base'
//= require 'pure/buttons'
//= require 'pure-min/menues'

How To "Install or Update Pure"

Install or Update

$ rake

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