nrel/nrel_bootstrap

NREL.gov APP branded theme for Bootstrap 3 and 4

Installs: 3 351

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 10

Forks: 0

Open Issues: 0

Language:Twig

Type:drupal-theme

1.0.0 2019-10-14 17:36 UTC

This package is auto-updated.

Last update: 2024-04-03 21:21:58 UTC


README

NREL Bootstrap is a Bootstrap-based theme that implements the NREL Application standard theme - NREL ://github.com/NREL/nrel-app-template-bootstrap4.

NREL Boostrap has a dependency on https://github.com/NREL/nrel-app-template-bootstrap4 to ease the update process when the base theme changes.

Find out more about the standards at https://www.nrel.gov/comm-standards/web/application.html and view the demo at https://www.nrel.gov/comm-standards/web/app-template/index.html.

The Drupal 8 version of the theme is a sub-theme of Bootstrap. This issue tracks the status of a Bootstrap 4 or 5 implementation. Because there is no BS4 or 5 implementatation ready, the Drupal 9 version of NREL Bootstrap uses Bootstrap Barrio as it's base theme.

For Drupal, we prefer developers use the package rather that going directly to github. This is because using the package will guarantee that developers are using a stable version (with version numbers) rather than something that is unstable. In addition the packages will automatically stay up to date for such things as security remediations.

To install the nrel/nrel_bootstrap package:

Drupal 9

@see https://github.com/NREL/nrel_bootstrap/blob/8.x-4.5.3/README.md.

Run the NREL Bootstrap post install commands from the root project to copy the Bootstrap library and the JS, CSS and images used in the NREL Application theme to the correct places for use in NREL Bootstrap.

  • composer require nrel/nrel_bootstrap:dev-8.x-4.5.3
  • composer run-script post-install-cmd -d ./web/themes/contrib/nrel_bootstrap

Drupal 8

@see https://github.com/NREL/nrel_bootstrap/blob/2.0.0/README.md

  • composer require nrel/nrel_bootstrap:~2.0.0-dev

For Drupal 7

@see https://github.com/NREL/nrel_bootstrap/blob/d7/README.md

  • composer require nrel/nrel_bootstrap "dev-d7"

Todo

  • top nav drop-downs