thunder icon indicating copy to clipboard operation
thunder copied to clipboard

Color contrast for OP and mod names

Open glyph-se opened this issue 1 year ago • 3 comments

Bug Description

Enabling colorized user name or instances doesn't work well together with the background color for OP/mod/self. I think this is an effect of recent changes that applies the colorized name also in the post/comments view.

Screenshot

Expected Behaviour

I expect settings to work together with each other. While I have three proposals as how to resolve this issue, there might be other ways to get it working:

  • Change OP/mod background colors so that they work together with the theme colors
  • Only display the icon next to the name if colors are set, instead of colorizing the whole name.
  • Let OP/mod colors take precedence and override the default color with them

Steps to Reproduce

  1. Change to dark theme
  2. Set user name color to theme primary
  3. Navigate to a post where there comments from OP and/or mods

Additional Context

From this lemmy post.

Similar issue exist with the green background color on your own name, although one might be expected to know that one :)

App Version

0.3.0

Device

Asus Zenfone 9

OS

Android 13

glyph-se avatar May 02 '24 19:05 glyph-se

It looks like this was fixed in 574c285d376faf2877406c29f2c92c698034d18f. See this line.

https://github.com/thunder-app/thunder/blob/436b12f7d9e0aedebcce86c8d6a1e31a89f7269a/lib/shared/chips/user_chip.dart#L93

micahmo avatar May 03 '24 14:05 micahmo

I got assigned @hjiangsu ?

CTalvio avatar May 05 '24 13:05 CTalvio

Ahh sorry, I assigned it to you because it seems like you fixed the issue as per @micahmo's previous comment!

hjiangsu avatar May 11 '24 18:05 hjiangsu