Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

recent_view: Use lighter color for time column.

Aman Agrawal3a546acde8cf
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index 82dd99fb600..7aac3a11b47 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -1178,6 +1178,10 @@
hsl(229deg 9% 36% / 50%),
hsl(229deg 10% 70% / 50%)
);
+ --color-text-recent-view-last-msg-time: light-dark(
+ hsl(0deg 0% 15% / 75%),
+ hsl(0deg 0% 100% / 50%)
+ );
/* Compose box colors */
--color-compose-box-background: light-dark(
diff --git a/web/styles/recent_view.css b/web/styles/recent_view.css
index 0c02cac3823..6fb439cece9 100644
--- a/web/styles/recent_view.css
+++ b/web/styles/recent_view.css
@@ -396,6 +396,10 @@
.last_msg_time {
float: left;
margin-right: 5px;
+
+ .last-msg-link {
+ color: var(--color-text-recent-view-last-msg-time);
+ }
}
& thead th {
diff --git a/web/templates/recent_view_row.hbs b/web/templates/recent_view_row.hbs
index 4c992fdd6ea..ead6ed19ff7 100644
--- a/web/templates/recent_view_row.hbs
+++ b/web/templates/recent_view_row.hbs
@@ -104,7 +104,7 @@
</td>
<td class="recent_topic_timestamp">
<div class="last_msg_time tippy-zulip-tooltip" data-tippy-content="{{this.full_last_msg_date_time}}">
- <a href="{{last_msg_url}}" tabindex="-1">{{ last_msg_time }}</a>
+ <a class="last-msg-link" href="{{last_msg_url}}" tabindex="-1">{{ last_msg_time }}</a>
</div>
</td>
</tr>