The themes are also hosted on BootstrapCDN.
You can import a theme into your styles using either LESS or SASS.
@import "bootstrap/less/bootstrap.less"; @import "bootswatch/theme/variables.less"; @import "bootswatch/theme/bootswatch.less";
@import "bootswatch/theme/variables"; @import "bootstrap-sass-official/assets/stylesheets/bootstrap"; @import "bootswatch/theme/bootswatch";
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.
Check out the Help page for more details on building your own theme.
A simple API is available for integrating your platform with Bootswatch. More info at http://bootswatch.com/help/#api
It's through your contributions that Bootswatch will continue to improve. You can contribute in several ways.
Issues: Provide a detailed report of any bugs you encounter and open an issue on GitHub.
Documentation: If you'd like to fix a typo or beef up the docs, you can fork the project, make your changes, and submit a pull request.
Code: Make a fix and submit it as a pull request. When making changes, it's important to keep the CSS, LESS and SASS versions in sync. To do this, be sure to edit the LESS source files for the particular theme, then run the tasks
grunt swatch and
grunt convert_less to build the CSS and LESS.
Jenil Gogari for his contributions to the Flatly theme.
Corey Sewell for SASS conversion.
Copyright and License
Copyright 2014-2016 Thomas Park
Code released under the MIT License.