Official Sass port of Bootstrap 2 and 3.
Go to file
Gleb Mazovetskiy 1356701ad7 fix typo 2013-08-01 02:01:02 +02:00
lib Add version file so version can be programatically accessed. 2013-07-27 09:33:44 +01:00
tasks fix typo 2013-08-01 02:01:02 +02:00
templates/project Remove Glyphicon sprites from Compass manifest. 2013-07-28 19:22:24 -04:00
test Merge branch 'master' into 3 2013-04-13 16:16:40 +01:00
vendor/assets Converting more upstream changes 2013-07-30 15:43:51 -07:00
.gitignore Added bundler dirs to gitignore. 2013-05-23 14:48:27 -07:00
.travis.yml Ah, finally got the travis config. Updated for gem version bump. 2012-11-01 09:59:36 -04:00
CHANGELOG.md Updates to README files to reflect correct repo 2013-07-30 16:46:15 -07:00
CONTRIBUTING.md Updates to README files to reflect correct repo 2013-07-30 16:46:15 -07:00
Gemfile Add bundler for easy install of gem dependencies 2012-09-01 17:06:54 +01:00
LICENSE Extracted Bootstrap from QA 2011-09-06 20:08:31 +01:00
README.md Updates to README files to reflect correct repo 2013-07-30 16:46:15 -07:00
Rakefile Ported converter rake task from compass-twitter-bootstrap gem. 2013-05-23 14:51:56 -07:00
bootstrap-sass.gemspec Add version file so version can be programatically accessed. 2013-07-27 09:33:44 +01:00

README.md

Bootstrap for Sass

bootstrap-sass is an Sass-powered version of Twitter's Bootstrap, ready to drop right into your Sass powered applications.

Usage

Rails

In your Gemfile:

gem 'sass-rails',   '~> 3.2.3'
gem 'bootstrap-sass', :git => 'git://github.com/thomas-mcdonald/bootstrap-sass.git', :branch => '3'

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

Upstream Converter

Keeping bootstrap-sass in sync with upsteam changes from Bootstrap is an error prone and time consuming manual process. This branch is specifically concerned with automating that process as much as possible to allow a much faster release cycle.

Upsteam changes to the Twitter Bootstrap project can now be pulled in using the convert rake task.

Here's an example run that would pull down the 3.0.0-wip branch from the main twitter/bootstrap repo:

% bundle exec rake 'convert[3.0.0-wip]'

The latest converter script is located here and does the following:

  • Converts upsteam bootstrap Less files to its matching Scss file.
  • Copies all upstream javascripts into vendor/assets/javascripts/bootstrap
  • Generates a javascript manifest at vendor/assets/javascripts/bootstrap.js
  • Copies all upstream font files into vendor/assets/fonts

This less to scss conversion is pretty good, but not perfect. So manual fixes to the resulting Scss will necessary for now. Please submit Github issues tagged with conversion to help track current shortcomings of the conversion process.

Who

bootstrap-sass is a project by Thomas McDonald, with support from other awesome people.