A quick way to compile a custom-themed CSS file for Bootstrap 4.
MIT License
A quick way to compile custom-themed Bootstrap 4 css.
node-sass
library:$ npm install -g node-sass
Clone this repo, then add your variable overrides to scss/custom.scss
to update colors/fonts/etc. for this project. (See the Bootstrap 4 theming docs)
for more info.
Note: the scss included here is from Bootstrap v4.1.3, so if you need to compile from a different version, just replace the contents of the folder with the contents of
scss/bootstrap-scss
from the proper release.
On the command line, cd
into this project's directory, then run:
$ npm run compile
Your freshly-compiled, custom-themed bootstrap.css file will be generated in css/bootstrap.css
.