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, I always find myself having to duplicate these values in the switcher.

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).

Comments

Jaypan created an issue. See original summary.

jaypan’s picture

Status: Active » Needs review
StatusFileSize
new2.74 KB
jaypan’s picture

Title: User switcher values from config for title, bg_color and fg_color » Add options for setting the current environment colors
Issue summary: View changes
StatusFileSize
new8.05 KB

Adding functionality that allows the current domain to be set on the module settings page.

jaypan’s picture

Title: Add options for setting the current environment colors » Add additional options for setting the current environment colors
jaypan’s picture