Install
Works with Drupal: ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
238.74 KB
MD5: b3534d5e41f402f1537b9542a810dc25
SHA-1: 59918e5e9add7de7dbf4b851002adf7776c772b3
SHA-256: 0608f1506fb193e3083287294e8f9aad93e0bd74fd6238355d3ce42ef2c6d736
Download zip
326.62 KB
MD5: 36a8c01d9357b320f768e45c12a1551b
SHA-1: 885d6152afbaf5ded9eaa1db840d102adbd8f01f
SHA-256: 52b22c536139cde4394a0bcc36c8152dc8249307571df5cacc99bbf84ce6578c
Release notes
Bug fixes for the Bootstrap 5 theme, two new theme update hooks, and the Drupal 12 hook conversion from the Project Update Bot.
Upgrade notes
- Run
drush bs-tu <theme>on every child theme, then recompile its Sass. Two theme update hooks are new:200014removes Bootstrap 4 imports and bs_bootstrap paths that200006missed. It was released as200013in 2.0.0-alpha3. A theme that already ran it runs it again, and the second run finds nothing to remove.200015removescss/components/navigation.cssandcss/components/pagination.cssfrom the theme's libraries.yml, also when the empty array contains spaces. It deletessass/components/navigation.scssif it has the default content. If the file has custom content, it prints a warning and asks you to confirm that you moved the content tonav.scssornavbar.scssand removed the file.
- The navbar brand color defaults to the header color (
var(--bsb-color, inherit)) instead of Bootstrap's emphasis color. This changes$navbar-light-brand-color,$navbar-dark-brand-colorand their hover variants. Brand text in a.navbar-darkwas#fffbefore. A theme that relied on the old value sets these variables itself. - Autoprefixer no longer targets KaiOS 2.5 (
overrideBrowserslistingulp-options.yml). Child themes inherit the setting through the gulp options merge, so a recompile removes the:-moz-placeholderrules that kept floating labels in the floated position in Firefox. - The offcanvas link rules are scoped under
.page__header .offcanvas, so the$navbar-offcanvas-link-*colors now apply when they differ from the$header-link-*colors. A child theme can remove any workaround it added for this. - The theme hooks are implemented in
src/Hook/BsBaseHooks.php. The procedural functions inbs_base.themestill exist and call the new class.
Contributors (3)
pivica, berdir, Project Update Bot
Changelog
Issues: 6 issues resolved.
Changes since 2.0.0-alpha3:
Bug
- #3607220 by pivica: Navbar brand color overrides the inherited header color (site-slogan turns black)
- #3613497 by pivica: Floating labels stuck in floated position in Firefox: autoprefixer emits :-moz-placeholder for KaiOS 2.5
- #36s link colors lose to the header link rule when theydiffer from the header colors
- #36Removal of navigation.css and pagination.css isunreliable
Feature
Task
- #3595982 by Project Update Bot, pivica: Automated Drupal 12 compatibility fixes for bs_base 2.0.x-dev