PHPackages                             tripal/olivero\_dark\_switch - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. tripal/olivero\_dark\_switch

ActiveDrupal-module[Utility &amp; Helpers](/categories/utility)

tripal/olivero\_dark\_switch
============================

A Drupal extension module which provides dark theme for Olivero and a toggle to change it.

v1.0.0(7mo ago)03GPL-2.0-or-laterJavaScriptPHP ^8.2

Since Sep 15Pushed 7mo agoCompare

[ Source](https://github.com/tripal/olivero_dark_switch)[ Packagist](https://packagist.org/packages/tripal/olivero_dark_switch)[ Docs](https://github.com/tripal/olivero_dark_switch)[ RSS](/packages/tripal-olivero-dark-switch/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

Olivero Dark Switch
===================

[](#olivero-dark-switch)

This module will provide a dark switch toggle for the Olivero theme and associated CSS to make this work.

How to use this module
----------------------

[](#how-to-use-this-module)

1. First install this module using composer: `composer require tripal/olivero_dark_switch:v1.0.0`
2. Next place the "Olivero Dark Switch" block in the "Highlighted" region and set the float option to "Right".
3. Now when you load the main site, there will be a dark theme toggle button.

Screenshots
-----------

[](#screenshots)

The following screenshots show this module in action on Drupal 11 where it was configured as mentioned above.

LightDark[![Screenshot of light theme with default color](screenshots/Default.Light.png)](screenshots/Default.Light.png)[![Screenshot of dark theme with default color](screenshots/Default.Dark.png)](screenshots/Default.Dark.png)[![Screenshot of light theme with plum color](screenshots/Plum.Light.png)](screenshots/Plum.Light.png)[![Screenshot of dark theme with plum color](screenshots/Plum.Dark.png)](screenshots/Plum.Dark.png)[![Screenshot of light theme with custom color](screenshots/Custom.Light.png)](screenshots/Custom.Light.png)[![Screenshot of dark theme with custom color](screenshots/Custom.Dark.png)](screenshots/Custom.Dark.png)Development
-----------

[](#development)

You can either run a container directly as shown below OR USE VSCODE DEVCONTAINER.

```
docker run --publish=9000:80 --name=darkswitch -tid --volume=$(pwd):/var/www/drupal/web/modules/contrib/olivero_dark_switch tripalproject/tripaldocker:latest

```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance62

Regular maintenance activity

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

237d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/95e4d72ce1944624c878adfd8bcb8d6d4aca53afb2fe646e346c11ff3941f623?d=identicon)[tripalproject](/maintainers/tripalproject)

---

Top Contributors

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

---

Tags

drupal

### Embed Badge

![Health badge](/badges/tripal-olivero-dark-switch/health.svg)

```
[![Health](https://phpackages.com/badges/tripal-olivero-dark-switch/health.svg)](https://phpackages.com/packages/tripal-olivero-dark-switch)
```

###  Alternatives

[farmos/farmos

A web-based farm record keeping application.

1.2k6.7k1](/packages/farmos-farmos)[acquia/drupal-recommended-settings

The composer plugin for adding drupal-recommended-settings for Acquia Cloud.

101.1M4](/packages/acquia-drupal-recommended-settings)[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)
