middleman-pure
middleman-pure copied to clipboard
middleman-pure
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
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request