tripal/olivero_dark_switch 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

tripal/olivero_dark_switch

最新稳定版本:v1.0.0

Composer 安装命令:

composer require tripal/olivero_dark_switch

包简介

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

关键字:

README 文档

README

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

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

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

Light Dark
Screenshot of light theme with default color Screenshot of dark theme with default color
Screenshot of light theme with plum color Screenshot of dark theme with plum color
Screenshot of light theme with custom color Screenshot of dark theme with custom color

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

统计信息

  • 总下载量: 3
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2025-09-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固