Socket
Socket
Sign inDemoInstall

@nodebb/bootswatch

Package Overview
Dependencies
0
Maintainers
4
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @nodebb/bootswatch

Bootswatch is a collection of themes for Bootstrap.


Version published
Weekly downloads
21
decreased by-43.24%
Maintainers
4
Install size
5.56 MB
Created
Weekly downloads
 

Readme

Source

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

Code released under the MIT License.

FAQs

Last updated on 11 Aug 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc