Skip to content
This repository has been archived by the owner on Aug 5, 2021. It is now read-only.

yuya-matsushima/middleman-pure

Repository files navigation

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

About

middleman-pure

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages