Each folder under /dist/
is it's own theme including:
bootstrap-color.css
: built CSSbootstrap-color.min.css
: built and minified css_begin.scss
: customize settings_end.scss
: modify structure
You can use the built CSS files under /dist/
,
or import SASS files _begin.scss
_end.scss
directly to your scripts to customize it.
We made a demo using bootstrap-color with Vue at bootstrap-color-demo-vue you can checkout and customize on it.
You can also checkout the project to local, modify the themes then build with: yarn build
There are a few different ways you can integrate Bootswatch into your project.
Download the bootstrap-color.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.
If you're using Sass (SCSS) in your project, you can
import the _begin.scss
and _end.scss
files for a given theme.
This method allows you to override theme variables.
// Your variable overrides go here, e.g.:
// $h1-font-size: 3rem;
@import "~bootstrap-color/dist/[theme]/begin";
@import "~bootstrap/scss/bootstrap";
@import "~bootstrap-color/dist/[theme]/end";
Make sure to import Bootstrap's bootstrap.scss
in between _begin.scss
and _end.scss
!
You can install as a package with the command
npm install bootstrap-color bootstrap
or
yarn add bootstrap-color bootstrap
.
This project rebuilds color themes from HackerThemes, Bootswatch, BootstrapThemes, etc. Thanks for your sharings! <3