Problem/Motivation
While working on https://www.drupal.org/project/drupal/issues/3188136 and testing, it has been noticed that changing "Header site branding background color" in the Olivero settings to grey or white makes the text unreadable, since it's color is fixed to white in the CSS.

Steps to reproduce
On admin/appearance/settings/olivero change Header site branding background color to gray or white. Reload page/
Proposed resolution
Either make a color change conditionally in the header-site-branding.css or introduce a color system.
User interface changes
Black text on both grey and white backgrounds in the header.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | Olivero-Drupal11-nav.png | 274.67 KB | kanchan bhogade |
| #6 | Olivero-Drupal-Demo.png | 148.56 KB | arunkumark |
| #4 | Site-branding.png | 141.26 KB | ahsannazir |
| Screenshot 2024-04-27 at 13.26.02.png | 56.79 KB | yevko |
Issue fork drupal-3443881
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
yevko commentedThis is better to be worked on after https://www.drupal.org/project/drupal/issues/3188136 is merged to avoid merge conflicts
Comment #4
ahsannazir commentedThe issue is not reproducible at my end. I see the css already present to handle this scenario.
Comment #5
ahsannazir commentedMoving this to NR to confirm if it is working as expected
Comment #6
arunkumark@ahsannazir @YevKo
In the Oliver theme settings, we can able to adjust the Text color based on the chosen Site Branding Color. The settings are available under the Olivero Color Scheme Settings.
There are already predefined colors drop-down and custom text color options also available. Hope this option will help to adjust the Color scheme from the UI.
Comment #7
kanchan bhogade commentedThe issue is not reproducible on my end also; It is Working as expected
Comment #8
smustgrave commented@YevKo as the reporter can you provide additional steps.
Comment #9
smustgrave commentedSince there's been no follow up going to close out, if still an issue in D11 please re-open updating summary with steps.