Bug 446849

Summary: Color-scheme-awareness in colorful icons can cause colors to have poor contrast
Product: [Plasma] Breeze Reporter: Janet Blackquill <uhhadd>
Component: IconsAssignee: visual-design
Status: CONFIRMED ---    
Severity: normal CC: grahamperrin, kainz.a, nate
Priority: NOR Keywords: regression, usability
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 458885    
Attachments: two icons. the icon of system settings on left with illegible slider colours and the icon of dolphin on the right blending into the selection colour.
the folder icons also have poor contrast.

Description Janet Blackquill 2021-12-11 20:29:32 UTC
Created attachment 144459 [details]
two icons. the icon of system settings on left with illegible slider colours and the icon of dolphin on the right blending into the selection colour.

After upgrading to master, many icons and icon details are too dull to be seen against their background.
Comment 1 Janet Blackquill 2021-12-11 20:35:30 UTC
Created attachment 144460 [details]
the folder icons also have poor contrast.

taking a poke at a contrast checker reveals that in all the cases mentioned before, the icons and their colours fail to meet the wcag 3:1 contrast minimum for interface objects against their background.

kickoff:
#6C4E93 : #26282A -> 2.21 : 1 ratio
dolphin icon view:
#483463 : #161616 -> 1.67 : 1 ratio

the source colour theme colour (#bb86fc) has significantly better contrast with the above backgrounds (5.81, 6.83).
Comment 2 Nate Graham 2021-12-13 17:10:16 UTC
I think this is caused by the generic problem with accent colors being too dark when using a dark color scheme, which manifests in other places too. Marking as a duplicate of Bug 442820, since fixing that should fix this automatically.

*** This bug has been marked as a duplicate of bug 442820 ***
Comment 3 Janet Blackquill 2021-12-13 21:39:35 UTC
This isn't related to the accent colour functionality as I don't use it; the colours come direct from the colour scheme and have adequate contrast elsewhere. This is strictly an issue with how the colours are used by the icons.
Comment 4 Nate Graham 2021-12-13 22:29:07 UTC
Oh I see. Can confirm that.