This gem helps designers start a project that follows JapMag design language. It consists of several CSS definations, Rails helpers and view templates. Think this gem as an UI kit similar to Twitter's Bootstrap, but more tightly integrated with Ruby on Rails.
Please note JapMag only supports Rails 3+.
Add this line to your application's Gemfile:
gem 'jap_mag', git: "git://github.com/felixding/JapMag.git"
And then execute:
In your CSS manifest (application.css in default):
*= require jap_mag
//= require jquery //= require jquery_ujs //= require jap_mag
In your app/controllers/application_controll.rb, add
For a new Rails app, delete app/views/layout/application.html.erb.
Done! Now start your Rails app and you will see a JapMag-powered website!
Documentation is on the way. Stay tuned!
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request