From d9874b1e2d97a79d248fb4ce402425cffcebe0ca Mon Sep 17 00:00:00 2001 From: Joseph Hughes Date: Wed, 12 Oct 2022 00:44:12 +0200 Subject: [PATCH] message_feed_ui: Increase contrast on msg divider elements. Increase contrast on date dividers, msg times and sub/unsub msg. Some text in the message feed UI has been percieved as too dimmed. This commit aims to increase the contrast on some elements to counter this. Remove border-top from date-divider so that the line is of 1px. --- static/styles/dark_theme.css | 3 ++- static/styles/zulip.css | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/static/styles/dark_theme.css b/static/styles/dark_theme.css index 0376b3b5ae..d485e96317 100644 --- a/static/styles/dark_theme.css +++ b/static/styles/dark_theme.css @@ -1337,7 +1337,8 @@ .date_row span::after, .streams_subheader span::before, .streams_subheader span::after { - opacity: 0.2; + opacity: 0.5; + border-bottom: 1px solid hsl(0, 0%, 100%); } .star:not(.empty-star), diff --git a/static/styles/zulip.css b/static/styles/zulip.css index 3207730f1d..ea0355e1f9 100644 --- a/static/styles/zulip.css +++ b/static/styles/zulip.css @@ -2559,7 +2559,7 @@ select.invite-as { .sub-unsub-message .stream-status, .date_row span { - opacity: 0.5; + opacity: 0.6; } .sub-unsub-message span { @@ -2577,8 +2577,8 @@ select.invite-as { vertical-align: middle; width: 50%; height: 0; - border-top: 1px solid hsl(0, 0%, 88%); - border-bottom: 1px solid hsl(0, 0%, 100%); + opacity: 0.2; + border-bottom: 1px solid hsl(0, 0%, 0%); } .sub-unsub-message span::before,