thunder-app / thunder

Thunder - An open-source cross-platform Lemmy client for iOS and Android built with Flutter
https://thunderapp.dev
GNU Affero General Public License v3.0
712 stars 62 forks source link

Color contrast for OP and mod names #1346

Open glyph-se opened 2 weeks ago

glyph-se commented 2 weeks ago

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:

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

micahmo commented 2 weeks ago

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

CTalvio commented 1 week ago

I got assigned @hjiangsu ?

hjiangsu commented 1 week ago

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