Commit 36ad5ac
msglist: Follow web's change making dark mode's --color-text-default opaque
In zulip/zulip@8741c9e43, web changed --color-text-default from `hsl(0deg 0% 100% / 75%)` to `hsl(0deg 0% 85%)`, to fix some bugs: - literal Unicode emoji were not fully opaque - strikethroughs appeared uneven; opacity was compounded where letters and strikethroughs overlapped. The change also made message text a little bit higher contrast, and that seems like an improvement. Discussion: https://chat.zulip.org/#narrow/stream/101-design/topic/Message.20text.20color.20in.20dark.20theme/near/1936707 To carry over this change, this commit updates ContentTheme.textStylePlainParagraph, and also all our other colors that were following web where the web counterpart was based on --color-text-default. I believe that turns out to just be MessageListTheme.messageTimestamp, added in beee77e; see that commit message. Before this, emoji in messages were not fully opaque in dark mode (zulip#953), as Greg reported: https://chat.zulip.org/#narrow/stream/48-mobile/topic/dark.20theme/near/1924392 and that's fixed now. Fixes: zulip#9531 parent 945066c commit 36ad5ac
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
0 commit comments