HTML, CSS, and JS toolkit from Twitter
CSS JavaScript
Pull request Compare This branch is 15 commits ahead, 15340 commits behind twbs:v4-dev.
Latest commit d4c1068 Mar 26, 2015 @mikeyp mikeyp Bumping package


This package is deprecated. Please see bootstrap-styl.


A basic port of the Twitter Bootstrap CSS framework to stylus. Ideal for node.js apps using connect or express.

To learn more about using the framework see the bootstrap docs at


Javascript - add just like you'd use nib:

var bootstrap = require('bootstrap-stylus'),
       stylus = require('stylus');

function compile(str, path) {
  return stylus(str)
    .set('filename', path)

  src: __dirname + '/public',
  compile: compile

in your .style files:

@import bootstrap

or set variables before importing:

$linkColor = red
@import bootstrap

You can also import individual files by specifying their filename:

@import reset


Twitter Bootstrap by:

Mark Otto

Jacob Thornton

Port to stylus by

Michael Prasuhn


Copyright 2011 Twitter, Inc.

Licensed under the Apache License, Version 2.0: