Address any high-contrast & forced-colors mode issues with Proton icons
Categories
(Firefox :: Theme, task, P1)
Tracking
()
People
(Reporter: sfoster, Assigned: Gijs)
References
(Blocks 1 open bug)
Details
(Whiteboard: [proton-icons])
Attachments
(1 file)
63.23 KB,
image/png
|
Details |
We have some workarounds for HCM and forced-colors mode in our icon svg files which we need to ensure aren't regressed by the icon update. Specifically, the check.svg and check-partial.svg have a thin, almost-invisible stroke that causes those icons to be visible in a XUL tree, e.g. about:preferences search engine table
Updated•2 years ago
|
Reporter | ||
Comment 1•2 years ago
|
||
check.svg
svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="context-fill" fill-opacity="context-fill-opacity">
<path stroke="context-stroke none" stroke-width="0.5" d="M6.52,12.5a1,1,0,0,1-.705-.291l-3.52-3.5a1,1,0,1,1,1.41-1.418l2.812,2.8,5.774-5.793a1,1,0,0,1,1.416,1.412l-6.479,6.5A1,1,0,0,1,6.52,12.5Z"/>
</svg>
Note the stroke-width attribute.
Reporter | ||
Comment 2•2 years ago
|
||
Here's screenshot of search preferences table in forced colors mode, showing the thin/faint stroke on the checkmark next to the youtube video search.
Assignee | ||
Comment 3•2 years ago
|
||
Investigating whether there's anything left to do here.
Assignee | ||
Comment 4•2 years ago
|
||
Selection of the checkmark'd rows in tree views in both about:sessionrestore and the prefs now use Highlight
background colours, and the row's foreground colour for the checkmark, so the checkmark is visible in HCM. I think there's nothing else left to do here.
Description
•