0.0
No commit activity in last 3 years
No release in over 3 years
To mount Honoka on rails. Honoka is a simple and friendly japanese bootstrap-theme.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

 Project Readme

Honoka Rails

Build Status

Honoka is a bootstrap theme for Japanese.

honoka-rails mount Honoka on your rails application, and has been developed based on bootstrap-sass.

Usage

honoka-rails is easy to drop into Rails with the asset pipeline.

gem 'sass-rails', '>= 3.2'
gem 'honoka-rails'

bundle install and restart your server to make the files available through the pipeline.

Import Bootstrap(Honoka) styles in app/assets/stylesheets/application.scss:

$ mv app/assets/stylesheets/application.css app/assets/stylesheets/application.scss

"bootstrap-sprockets" must be imported before "honoka" and "honoka/variables"

@import "bootstrap-sprockets";
@import "honoka";

Then, remove all the

*= require_self and *= require_tree . statements from the sass file. Instead,use @import to import Sass files.

Do not use *= require in Sass or your other stylesheets will not be able to access the Bootstrap mixins or variables.

Require Bootstrap Javascripts in app/assets/javascripts/application.js:

//= require jquery
//= require bootstrap-sprockets

bootstrap-sprockets and bootstrap should not both be included in application.js.