Tusky icon indicating copy to clipboard operation
Tusky copied to clipboard

Links show too little contrast in dark mode

Open guerda opened this issue 2 years ago • 5 comments

I am using Tusky daily and I really like this app. What I see as an issue is the dark theme (night theme) in combination with links (hashtags, URLs) etc, as these have too little contrast to be readable in a night time setting.

I tried to figure it out and it seems that the link color is tusky_blue according to https://github.com/tuskyapp/Tusky/blob/8c519af611b27b4d99c7e5ee32c28f0111b7f413/app/src/main/res/values/colors.xml#L3, which translates to #2b90d9 As far as I can see, the background in posts is #282c37 (tusky_grey_20).

According to WebAIM, those two colors have a contrast of 4.04:1 and fails WCAG AAA in both normal and large text.

Bildschirm­foto 2023-03-22 um 09 43 42

I propose to adapt the link color or the background color, to increase the contrast. For example, the link color #83BEF1 would pass all four checks with WebAIM.


  • Tusky Version: 21.0

  • Android Version: 13

  • Android Device: Pixel 7

  • [x] I searched or browsed the repo’s other issues to ensure this is not a duplicate.

guerda avatar Mar 22 '23 08:03 guerda

(Slightly related: #3178

And even more slightly related: #1222 - darker background for example could also solve that partly)

Lakoja avatar Mar 22 '23 12:03 Lakoja

(Just for reference: the two blue tints with 4.6 contrast each would be 217aba (for light) and 3c9add (for dark).)

Lakoja avatar Mar 30 '23 07:03 Lakoja

Any update on this? I assume it's a question of consideration, not feasibility.

guerda avatar May 06 '23 21:05 guerda

Chiming in, this is an accessibility issue for me. As I understand it, people with cataracts lose some of their ability to perceive blue.

visualstuart avatar Sep 24 '23 14:09 visualstuart

It's really hard to reading in the app at night in the bedroom. It would be super helpful, if we can choose the color ourself

joergi avatar Jan 12 '24 12:01 joergi