Use switcher values for toolbar title, fg_color and bg_color

Created on 22 April 2021, almost 4 years ago
Updated 11 August 2023, over 1 year ago

Problem/Motivation

Currently, the module requires the user to set the title, bg colors and fg colors through configuration in settings.local.php. This works, however, these values have already been set in the language switcher, so it often becomes a duplication of effort.

It would be preferable to be able to set the local environment colors through two other methods:

1. A machine name of one of the environments defined on the environment switchers page could be used instead, with the values for the environment title, background color, and foreground color pulled from the switcher values defined in config.

2. One of the environments defined on the switchers page should be selectable on the module settings page, and stored in the Drupal state (so the value is does not become part of configuration, and can be set uniquely per environment)

✨ Feature request
Status

Needs review

Version

4.0

Component

Code

Created by

🇨🇦Canada jigarius Montréal

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024