bs_base
A Bootstrap 4 (1.x) and Bootstrap 5 (2.0.x) base theme that supports full theme development workflow from start to finish and after finish with included theme hook update API.
In 1.x version support for Bootstrap 4.x is provided with an internal bs_bootstrap child base theme.
Development of 2.0.x (Bootstrap 5) version is in progress, check the current plan.
Although 8.x-1.0-rc3 claims it is Drupal 11 compatible, you should still not use it with Drupal 11. Read more about this in #3491751-5: Drupal 11 compatibility.
Goals
- Developer-oriented,
- No tons of UI settings or big assumptions,
- Presents and use practical and business-oriented development workflow which is not mandatory but recommended,
- Lightweight and fast,
- Component-oriented,
- Support content edit and admin (as much as possible) pages,
- Stick to core Drupal API. Do not add custom APIs unless it is really needed,
- Explore all new nice & cool technologies that are supported in major browsers.
Features
- BEM and component oriented,
- Gulp build process,
- SASS inheritance workflow which is easily overridable,
- Supports Bootstrap 4.x with included bs_bootstrap child theme. Range of options in bs_bootstrap theme that you can easly turn off,
- Semantically clean HTML with the use of mixins and utility CSS classes,
- Powerful drush generator implementation for quick theme creation and update commands.
- Custom theme update hooks implementation for complex upgrade paths.
- And many other things, check documentation for more details.
When you are updating bs_base theme to a new version do not forget to execute:
drush bs-tu your_theme_machine_name
Requirements
Download and install bs_lib contributed module and install all required libraries. For more information check installation documentation section.
Documentation & Support
Check quick start documentation page to quickly start building yout child theme. Or check our full documentation for more details.
There is a #bs_base Slack channel for support — feel free to join and ask your questions there."
Versions
- Version 2.x (in progress) will switch to Bootstrap 5.x
- Versions beta2 and above are using Bootstrap 4.6.1 release.
- Version alpha6+ are using Bootstrap 4.3.1 release.
- Versions alpha4 and alpha5 are using Bootstrap 4.1.x stable release.
- Version alpha3 release is using Bootstrap 4.0 stable release.