PHPackages                             tripalcultivate/trpcultivatetheme - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. tripalcultivate/trpcultivatetheme

ActiveDrupal-theme

tripalcultivate/trpcultivatetheme
=================================

Tripal Cultivate Theme provides default styling for the Drupal websites using the Tripal Cultivate family of packages.

4.x-dev(1y ago)087[2 issues](https://github.com/TripalCultivate/TripalCultivate-Theme/issues)GPL-3.0-or-laterTwigPHP ^8.1

Since Apr 1Pushed 1y ago3 watchersCompare

[ Source](https://github.com/TripalCultivate/TripalCultivate-Theme)[ Packagist](https://packagist.org/packages/tripalcultivate/trpcultivatetheme)[ Docs](https://github.com/TripalCultivate/TripalCultivate-Theme)[ RSS](/packages/tripalcultivate-trpcultivatetheme/feed)WikiDiscussions 4.x Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Tripal Cultivate Base Theme
===========================

[](#tripal-cultivate-base-theme)

[![](https://private-user-images.githubusercontent.com/1566301/305258933-8f58c97b-9a81-4790-9e01-960c228ee704.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU2Njk4OTQsIm5iZiI6MTc3NTY2OTU5NCwicGF0aCI6Ii8xNTY2MzAxLzMwNTI1ODkzMy04ZjU4Yzk3Yi05YTgxLTQ3OTAtOWUwMS05NjBjMjI4ZWU3MDQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDQwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA0MDhUMTczMzE0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Zjg5OTgzYWVhNTljMDJjMWZkY2E4NWI4YmY4ZDFjYzcyYzU4OGY5YmIyODU0MTZkYWFjZTliYmJhOWNhMTA4MSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.p8DsxaQ0MTvmhN-iTwSG3y4hbxoZsTx1mSRpAYdWFzA)](https://private-user-images.githubusercontent.com/1566301/305258933-8f58c97b-9a81-4790-9e01-960c228ee704.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU2Njk4OTQsIm5iZiI6MTc3NTY2OTU5NCwicGF0aCI6Ii8xNTY2MzAxLzMwNTI1ODkzMy04ZjU4Yzk3Yi05YTgxLTQ3OTAtOWUwMS05NjBjMjI4ZWU3MDQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDQwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA0MDhUMTczMzE0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Zjg5OTgzYWVhNTljMDJjMWZkY2E4NWI4YmY4ZDFjYzcyYzU4OGY5YmIyODU0MTZkYWFjZTliYmJhOWNhMTA4MSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.p8DsxaQ0MTvmhN-iTwSG3y4hbxoZsTx1mSRpAYdWFzA)This theme is intended to provide a base for developing custom themes for project-specific or research group specific Tripal sites using the Tripal Cultivate package of modules. We request that you do not use this theme untouched but rather as a base to develop a custom look for your project or group. At a minimum you need to choose a unique colour for your site, a logo and a header image.

Installation
------------

[](#installation)

First install the theme via composer:

```
composer require tripalcultivate/trpcultivatetheme

```

Then, symlink the module portion of the theme into the modules directory:

```
cd web/modules/contrib
ln -s [pathToDrupalRoot]/themes/TripalCultivate-Theme/trpcultivatetheme_companion

```

Now you can enable first the module and then the theme.

Customizing this theme
----------------------

[](#customizing-this-theme)

You can set the primary base colour using the following drush command where you substitute `#f54278` for whatever hex code you would like to use.

```
drush config:set trpcultivatetheme.settings base_primary_color '#f54278'

```

Development
-----------

[](#development)

### Docker

[](#docker)

As you may have noticed there is a dockerfile in this repository. The recommended way to contribute to this theme is the same as the recommendation for core development: use docker please :-)

```
git clone https://github.com/TripalCultivate/TripalCultivate-Theme trpcultivatetheme
cd trpcultivatetheme
docker build --build-arg drupalversion=10.2.x-dev --build-arg phpversion=8.3 --tag=trpcultivate-theme:4x ./
docker run --publish=80:80 -tid --name=theme4x \
  --volume=$(pwd)/trpcultivatetheme:/var/www/drupal/web/themes/trpcultivatetheme \
  --volume=$(pwd)/trpcultivatetheme_companion:/var/www/drupal/web/modules/contrib/trpcultivatetheme_companion \
  trpcultivate-theme:4x
docker exec theme4x service postgresql restart
```

This docker image/container will have a fully functioning Tripal 4 site based on TripalDocker built using the specified version of Drupal and PHP. [For more details about TripalDocker see the official docs](https://tripaldoc.readthedocs.io/en/latest/install/docker.html#usage).

#### Twig Debugging

[](#twig-debugging)

The dockerfile sets up the development environment with twig debugging turned on. This adds template suggestions in HTML comments into each page and **refreshes twig template caches as it detects changes in the files**. You do still need to use `drush cr` to see CSS and template changes but it is much more reliable with this setting in place.

Olivero as a Base Theme
-----------------------

[](#olivero-as-a-base-theme)

This theme uses the core Olivero theme as a base theme. As of 2024Feb this is not technically recommended as the markup of Olivero is not fixed. You can see the current status / recommendation on using Oliverio as a subtheme in [Drupal Issue #3190946 - \[META\] Subtheming Olivero](https://www.drupal.org/project/drupal/issues/3190946).

As you can see in [comment #19 of that issue](https://www.drupal.org/project/drupal/issues/3190946#comment-15443899), we've decided to use Olivero as a base theme despite the recommendation not to. This is because we believe that the effort to update this theme with any markup changes in Olivero is likely less work then the other options we considered. If we had copied Oliverio and renamed it for our own purposes as suggested, then it would have been a lot of work to re-incorporate any updates/fixes made to Olivero in core. This is because with the names of all the files changed, we could not do a direct comparison of files or git merge. The theme landscape at the beginning of 2024 is still very sparse for good Drupal themes so we couldn't just use a more stable theme as a base. There are a number of Bootstrap base themes available but the community has fractured quite a bit causing it to be confusing to know which one to use for long term sustainability. Furthermore, we did not like the base themeing provided by these base themes.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance46

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

Top contributor holds 61.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

407d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4083b15618278dd53dc26863d5c81888ac49acca3850166f8b3e0cac18ff611b?d=identicon)[uofs-pulse-binfo](/maintainers/uofs-pulse-binfo)

---

Top Contributors

[![laceysanderson](https://avatars.githubusercontent.com/u/1566301?v=4)](https://github.com/laceysanderson "laceysanderson (100 commits)")[![reynoldtan](https://avatars.githubusercontent.com/u/15472253?v=4)](https://github.com/reynoldtan "reynoldtan (62 commits)")

---

Tags

drupalthemetripal

### Embed Badge

![Health badge](/badges/tripalcultivate-trpcultivatetheme/health.svg)

```
[![Health](https://phpackages.com/badges/tripalcultivate-trpcultivatetheme/health.svg)](https://phpackages.com/packages/tripalcultivate-trpcultivatetheme)
```

###  Alternatives

[tripal/tripal

Tripal is a toolkit to facilitate construction of online genomic, genetic (and other biological) websites.

709.9k9](/packages/tripal-tripal)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
