Problem/Motivation

Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | After-patch.png | 332.7 KB | djsagar |
| #12 | Before-patch.png | 364.21 KB | djsagar |
| #11 | drupal-10.1.2.png | 349.33 KB | djsagar |
| #10 | Screenshot from 2023-08-01 15-42-29.png | 62.72 KB | indrapatil |
| #9 | gin-messsage-force-color-mode.png | 91.13 KB | mukeysh |
Issue fork gin-3377202
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 #3
bnjmnmFix in MR.
Comment #4
preeti.chawla commented@bnjmnm I have not able to apply patch. There is something wrong, Even I have tried to add code manually and I check "buttonBorder" variable not declared anywhere
Comment #5
preeti.chawla commented@bnjmnm Now I have tried to apply patch with this version Drupal9.5 and Gin 8.x-3.x-dev, Patch applied successfully but icons still not visible for me
Comment #6
bnjmnmThis is a merge request, just copy paste the git commands in "show commands" to switch to the fork/branch instead of trying to treat a merge request as a patch.
That is correct, and not at all a problem. It's a system color, which is a best practice for providing fixed colors styling.
Without additional information I have to assume user error. It clearly works for me and I can't do much with "still not visible for me". Did you check your browser dev tools to confirm the styles added in the MR are present in the CSS ingested by the browser?
Comment #7
mukeysh commented@bnjmnm
I have tested the code the cross icon is there but not visible properly. I am attaching a screenshot for reference.
This is working fine when we have only enabled the forced colors mode but when we enabled the automatic dark color mode and force active color mode then the icon is not visible properly.
PS: I have tested this on Chrome Version 115.0.5790.110 and the Operating system is Ubuntu 22.04
Comment #8
bnjmnmThat's a helpful explanation @Mukeysh, I now know what is happening here.
Automatic dark color mode is a Chrome experimental feature that can only be enabled via dev featurs. Drupal / Gin can't be expected to support Chrome experimental features, and is

To test dark themed forced colors mode, which is recognized by all Drupal supported browsers, choose
prefers-color-scheme: darkin the "Emulate CSS media feature prefers-color-scheme" option.Comment #9
mukeysh commented@bnjmnm
It looks fine then attaching a screenshot for reference. I have noticed the message icon is not visible so I have made fixes in the MR.
Comment #10
indrapatil commentedI reviewed this patch. I attached the screenshot.
Comment #11
djsagar commentedHi All,
This issue not replicate on drupal 10.1.2 with fin 8.x-3.x.
Please have look.
Thanks!
Comment #12
djsagar commentedSo finally i applied this patch #9 in drupal 10.1.2 with fin 8.x-3.x. It's working as expected.
I attached the screenshot for reference.
Thanks!
Comment #15
saschaeggiThanks y'all 🤝
Comment #16
saschaeggi