@nodebb/bootswatch

Bootswatch is a collection of themes for Bootstrap.

Usage no npm install needed!

<script type="module">
  import nodebbBootswatch from 'https://cdn.skypack.dev/@nodebb/bootswatch';
</script>

README

🚨 This is a NodeBB fork of Bootswatch 🚨

We did it purely so we can publish a new version under the @nodebb npm scope with a fix that was not published to npm.

You should probably use the actual Bootswatch repo.


Bootswatch

Bootswatch Logo

Bootswatch is a collection of open source 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. You must still include Bootstrap's JavaScript file to have functional dropdowns, modals, etc.

The themes are also hosted on BootstrapCDN.

You can import a theme into your styles using either LESS or SASS.

LESS:

@import "bootstrap/less/bootstrap.less";
@import "bootswatch/theme/variables.less";
@import "bootswatch/theme/bootswatch.less";

SASS:

@import "bootswatch/theme/variables";
@import "bootstrap-sass-official/assets/stylesheets/bootstrap";
@import "bootswatch/theme/bootswatch";

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.

Check out the Help page for more details on building your own theme.

API

A simple API is available for integrating your platform with Bootswatch. More info at http://bootswatch.com/help/#api

Contributing

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.

Donation: Donations are gratefully accepted via PayPal and Gratipay.

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-2018 Thomas Park

Code released under the MIT License.