Twitter Bootstrap using Stylus instead of the default Less.
A port of Twitter Bootstrap from Less to Stylus.
$ npm install bootstylus
With a connect compatible framework, like express:
var connect = require'connect'stylus = require'stylus'bootstrap = require'bootstylus';var server = connect;return stylusstrset'filename' pathset'compress' trueusenib;serverusestylusmiddlewaresrc: __dirnamecompile: compile;
To get everything(except the responsive grid)
Using individual parts:
@import 'bootstylus/grid' If you need the responsive grid:@import 'bootstylus/responsive'
- Use Nib for gradients and the like
- Get rid of Stylus warnings
- Clean up the Less to Stylus converter
Copyright 2012 Twitter, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.