Last active
August 29, 2015 14:06
-
-
Save philwilt/6f1c17ad68c0846fa715 to your computer and use it in GitHub Desktop.
Rails with bourbon neat with bitters and refills
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Gemfile | |
# styles and structure for bourbon | |
gem 'bitters' | |
# sass mixins | |
gem 'bourbon' | |
# grid framework for bourbon | |
gem 'neat' | |
# patterns for bourbon | |
gem 'refills' | |
group :development do | |
gem 'rails_layout' | |
end | |
$ echo "shell commands" | |
$ bundle install | |
$ rails generate layout:install simple --force | |
$ cd app/assets/stylesheets | |
$ bitters install | |
$ rails generate refills:list # lists available refills to add | |
// application.css.scss | |
@import "bourbon"; | |
@import "base/grid-settings"; | |
@import "base/base"; | |
@import "neat"; | |
$ echo "to install refill navigation" | |
$ rails g refills:navigation | |
<!-- application.html.erb --> | |
<%= render 'refills/navigation' %> | |
// application.css.scss | |
@import "bourbon"; | |
@import "base/grid-settings"; | |
@import "neat"; | |
@import "base/base"; | |
@import "refills/navigation" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
should line 31 be
rails generate refills:import navigation
?