LBRE Transportation is a Drupal 9 and is sub theme of Stanford Basic theme that integrates with the Decanter Project.
It incorporates redesign of the following components and paragraphs:
Global alerts (Modified colors to the new color scheme)
Banner paragraph (Additional variants: Banner with floating box, 50-50, In-page alert)
Quick links (Additional variant of the Text area component)
Lists component (Redesign of Card grid layout for News, two color variants - Dark grey, Light grey)
Utility links in header
All variants are added using Paragraph behaviours.
Installed on https://transportationd9.sites.stanford.edu/ and https://transportationd9-test.sites.stanford.edu
Install this theme like any other theme. See Drupal Documentation
This theme depends on the Components
module to register template
namespaces. If downloading this theme via composer, the module is already downloaded and simply needs to be enabled
before the theme can be enabled.
If using this theme in conjunction with configuration management and doing site install, a patch is included in the composer.json. Ensure that your project's root composer.json has patching enabled or download and patch Drupal Core manually.
Nothing special needed. Install, enable, and set as the default active theme. Once you have the theme enabled, be sure to check out the appearance settings for additional configuration items.
If you are experiencing issues with this theme try disabling and clear the cache first. If you are still experiencing issues try posting an issue on the GitHub issues page.
This theme is not intended to be used as an administration theme. Please use something else for that.
Development tools: To build and compile the CSS, Javascript, and Image assets required to make this theme great, you will need to have npm and nvm installed. Navigate to the root of the theme then.
Run:
nvm use
npm install
This project uses webpack to assemble the assets for this theme. To compile sass, javascript and push all assets in to place:
Run:
npm run build
Or for development you can watch for changes and compile automatically with:
npm run watch