Skip to content
Snippets Groups Projects
VladimirAus's avatar
Issue #3125232 by VladimirAus, JannaKha: Create version for Drupal 7
Vladimir Roudakov authored
c709b083
History

Bootstrap 4 theme

Features:

  • Includes Bootstrap 4 library (JS and CSS)
  • Includes Bootstrap 4 breakpoints
  • Bootstrap controls within user interface (TBA)
  • No subtheme mode (unless template override required)
  • Style guide with most of Boostrap components navigate to http://[your site url]/themes/contrib/bootstrap4/style-guide

SASS compilation:

Installation

Using composer

composer require drupal/bootstrap4

Subtheme

  • If you require subtheme (usually if you want to override templates), see subtheme docs.

  • You can create subtheme by running bash bin/subtheme.sh [name] [path], e.g. bash bin/subtheme.sh b4subtheme ..

  • Interface subtheme creation is coming to Bootstrap4 Tools module

Development and patching

  • To compile SASS run sass scss/style.scss css/style.css (requires SASS compiler).