#108883Content > Layout (formerly Web > Page) should be more Dark-Mode friendly
Description
Latest version of EXT:theodia on TER and Packagist provides a dark-mode compatible extension icon which is used as the icon for the two plugins provided by the extension.
When the Backend is set to Dark Mode, the icon is hardly visible as it’s black on Dark. But if the module would incorporate the icon using this (“icon-color” class is actually not needed in my test but is the same markup as the edit pencil icon), this would work:
<span class="icon-markup"> <svg class="icon-color"><use xlink:href="/_assets/880a1153de7de6fea22ae83da382980a/Icons/Extension.svg?1770312065"></use></svg> </span>
clipboard-202602060947-s2zq6.png
instead of:
<span class="icon-markup"> <img src="/_assets/880a1153de7de6fea22ae83da382980a/Icons/Extension.svg?1770312065" width="16" height="16" alt=""> </span>
clipboard-202602060948-sikpp.png
Problem actually exists since TYPO3 v13, but since the markup changes a bit, possibly I could get this gets only fixed with upcoming v14.
Note: Extension Manager shows the same issue with extension icon.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[TASK] Content > Layout (formerly Web > Page) should be more Dark-Mode friendly Resolves: #108883 Releases: main