Skip to content
This repository has been archived by the owner on Feb 16, 2018. It is now read-only.
/ icing Public archive

Custom Bootstrap CSS

License

Notifications You must be signed in to change notification settings

tent/icing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Customized Bootstrap CSS.

Usage

Basic

require 'sprockets'
require 'icing'

environment = Sprockets::Environment.new
Icing::Sprockets.setup(environment)
//= require icing

Compiling

require 'icing/compiler'

# Compile assets
Icing::Compiler.compile_assets(
  :compress => true, # optional, defaults to false
  :logfile => '/dev/null', # optional, defaults to STDOUT
  :assets_dir => "./public/assets" # optional, defaults to {icing_gem_root}/public/assets
)

# Compile and gzip assets
Icing::Compiler.gzip_assets(
  :compress => true, # optional, defaults to true
  :logfile => '/dev/null', # optional, defaults to STDOUT
  :assets_dir => "./public/assets" # optional, defaults to {icing_gem_root}/public/assets
)

OR

# Rakefile

namespace :icing do
  require 'icing/tasks/assets'
end

namespace :assets do
  task :precompile => ['icing:assets:precompile'] do
  end
end

Development

Setup

git clone git://github.com/tent/icing.git
cd custom-bootstrap
bundle
bundle exec puma

Editing

  • HTML:lib/views/*.erb
  • CSS: assets/stylesheets/*
  • Images: assets/images/*

Assets are processed though sprockets.

Releases

No releases published

Packages

No packages published