Creating a Bootstrap 4 Custom Theme
Download the Bootstrap 4 source files
We will be using the Bootstrap 4 source files. This will allow us to have access to the original Bootstrap 4 scss files in order to build our own custom theme. The goal is to provide our own scss files that will override the Bootstrap 4 classes and compile a single css file.
Setup:
Prerequisites:
Sources:
https://antjanus.com/blog/uncategorized/make-bootstrap-3-theme-proper-way/
https://www.quora.com/What-is-the-best-way-to-create-custom-themes-for-Bootstrap
http://bootstrap.themes.guide/how-to-customize-bootstrap.html
To be continued...
We will be using the Bootstrap 4 source files. This will allow us to have access to the original Bootstrap 4 scss files in order to build our own custom theme. The goal is to provide our own scss files that will override the Bootstrap 4 classes and compile a single css file.
Setup:
Prerequisites:
- Download and install Node.js.
- Download the Bootstrap 4 source files:
- Extract the zip file and go to the "bootstrap-4.0.0" folder.
- Open command line to that folder
- Run command "npm install" in the project folder command line.
- Install Ruby
- Install Bundler with command "gem install bundler" in the project folder command line.
- Once Bundler is installed, use command "bundle install" in the project folder command line.
- This will install Jekyll,
- In this step I had to step out of my code editor and use Git Bash and run "npm run docs-serve".
- once it's running browse to: http://localhost:9001/
Sources:
https://antjanus.com/blog/uncategorized/make-bootstrap-3-theme-proper-way/
https://www.quora.com/What-is-the-best-way-to-create-custom-themes-for-Bootstrap
http://bootstrap.themes.guide/how-to-customize-bootstrap.html
To be continued...
Comments
Post a Comment