0.02
No commit activity in last 3 years
No release in over 3 years
metro-ui-rails project integrates Metro-UI CSS toolkit for Rails 3.1 Asset Pipeline
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 3.1

Runtime

> 2.2.3
 Project Readme

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 these lines to your application's Gemfile:

gem 'therubyracer'
gem 'metro-ui-rails'

And then execute in command line:

$ bundle

Installing to Rails project:

Run rails generator:

rails generate metro:install

Or install it manually

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.