Sage-Bionetworks/bootswatch

Name: bootswatch

Owner: Sage Bionetworks

Description: Themes for Bootstrap

Forked from: thomaspark/bootswatch

Created: 2015-04-29 17:04:05.0

Updated: 2016-04-14 17:39:21.0

Pushed: 2016-04-14 17:39:16.0

Homepage: http://bootswatch.com

Size: 27346

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Bootswatch

Bootswatch is a collection of free themes for Bootstrap. Check it out at bootswatch.com.

Usage

Download the bootstrap.min.css file associated with a theme and replace Bootstrap's default stylesheet.

The themes are also hosted on BootstrapCDN.

Rails users should check out twitter-bootswatch-rails.

Customization

Bootswatch is open source and you?re welcome to modify the themes.

Each theme consists of two LESS files. variables.less, which is included by default in Bootstrap, allows you to customize these settings. bootswatch.less introduces more extensive structural changes.

These files are also available in SASS.

Synapse customized

Download this forked repo: git clone https://github.com/Sage-Bionetworks/bootswatch.git

Synapse customizations to the paper theme are made in a branch version that corresponds to the bootstrap version that's being used in the product. At the time of writing, this is v3.3.2-customized

Following the steps from Bootswatch to configure npm and grunt.

Build the bootswatch project to create a new bootstrap.min.css

Rename bootstrap.min.css to bootstrap-paper-theme.min.css

Replace the file in our gwtbootstrap3 project (gwtbootstrap3/src/main/resources/org/gwtbootstrap3/client/resource/css/bootstrap-paper-theme.min.css).

Increase the gwtbootstrap3 project version, and rebuild.

In SWC, update the pom to use the updated gwtbootstrap3 project version and rebuild.

Verify that everything looks and functions correctly after the update!

API

A simple API is available for integrating your platform with Bootswatch. Send your request to http://api.bootswatch.com/3/.

The swatch objects are returned in an array called themes, each one with the following properties: name, description, preview, thumbnail, css, cssMin, less, and lessVariables.

More info at http://bootswatch.com/help/#api

Author

Thomas Park

Thanks

Mark Otto and Jacob Thornton for Bootstrap.

Jenil Gogari for his contributions to the Flatly theme.

James Taylor for cors-lite.

Corey Sewell for SASS conversion.

Copyright and License

Copyright 2014 Thomas Park

Code released under the MIT License.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.