Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Metro UI for Rails 3.1 Asset Pipeline
Ruby JavaScript CSS
tag: v0.15.8.3

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Metro-UI-CSS @ c43bc93
lib
vendor
.gitignore
.gitmodules
Gemfile
README.md
Rakefile
metro-ui-rails.gemspec

README.md

Metro UI for Rails 3.1 Asset Pipeline

This gem integrates Metro-UI-CSS toolkit into Rails 3.1 Asset Pipeline.

Code Climate

Installation

Add this line to your application's Gemfile:

gem 'metro-ui-rails'

And then execute:

$ bundle

Installing to Rails project:

Require metro-ui/metro.less in your application.less:

@import 'metro-ui/modern.less';
@import 'metro-ui/modern-responsive.less'; // for responsive design

And then require metro-ui in your js or coffee application file:

#= require metro-ui

Layout generator

You can generate Metro UI compatible .erb layout.

Usage:

rails generate metro:layout [LAYOUT_NAME]

Example:

rails generate metro:layout application

License

This project only integrates Metro-UI-CSS, thus all credits go to Sergey Pimenov, see his license.

Something went wrong with that request. Please try again.