Closed (fixed)
Project:
Navigation
Version:
1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
22 Feb 2024 at 18:13 UTC
Updated:
17 Apr 2024 at 20:54 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
kostyashupenkoLong task.
Forced colors active disables background images and mask images.
I see only one solution -> is to rework method of rendering icons in our navigation. Instead of CSS background images we should use
{{ source(path-to-icon, true) }}and rework css accordinglyComment #3
kostyashupenkoAny other opinions how to solve this task with minimal effort?
Comment #4
ckrinaWe've used background images for Claro and Olivero, so they can be used :)
You can see the work done in Claro in #3130305: Ensure all of Claro's background images are visible in forced colors mode. with a great explanation from @andrewmacpherson in comment #5.
Comment #5
kostyashupenkoholy @ckrina. It works :O
gonna dig more & maybe complete this ticket
Comment #7
kostyashupenkoShould be ok now. Works in MS Edge also & thanks for this knowledge, didn't know about it
Comment #8
ckrinaGreat! Could you implement it to the new styles just merged for the drawer? It's was a big MR and this has conflicts. Thanks @kostyashupenko!
Comment #9
kostyashupenkoRebased, conflicts resolved. Yarn lint:css tells that there are linting problems in
toolbar-popover.pcss.cssfile. However i didn't touch this file in the scope of this ticket, so should be resolved in some other issues. Current MR contains only required changes by this ticket.Comment #10
ckrinaMerged, thanks @kostyashupenko!
Comment #11
rkollerhm i haven't noticed that the issue got in yesterday. but testing it now with the latest version of 1.x-dev in edge on macos (enable automatic dark mode ticked, forced-colors active and prefers-contrast:more) the icons, the icon within the expand and collapse button, the carrets as well as the right border of the drawer are barely visibly or invisible (in case of the right border) :/