Problem/Motivation
With a dark color scheme, the icon is reasonably visible, but not with a light scheme. We can leverage system colors to provide a solution that works regardless of scheme.

Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | yay-light.png | 109.3 KB | bnjmnm |
| #3 | yay-dark.png | 85.61 KB | bnjmnm |
| #3 | no-good-forced-colors.png | 112.1 KB | bnjmnm |
Issue fork drupal-3377207
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:
- 3377207-dialog-close-icon
changes, plain diff MR !4482
Comments
Comment #3
bnjmnmSolution in MR. Forced colors background SVG uses
buttonTextsystem color as BG color, so it is visible regardless of the forced color scheme.Comment #4
smustgrave commentedVerified the issue using a dark mode extension on chrome (allows to select light mode also)
MR seems to resolve the issue.
Comment #7
lauriiiCommitted 9947041 and pushed to 11.x. Also cherry-picked to 10.1.x. Thanks!