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: Make unread row more apparent.

Aman Agrawal575df57d163a
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index 957fd9a6a8a..5438d86b24b 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -1132,10 +1132,7 @@
hsl(0deg 0% 0% / 10%),
hsl(0deg 0% 0% / 10%)
);
- --color-background-recent-view-row: light-dark(
- hsl(0deg 0% 96%),
- hsl(0deg 0% 14%)
- );
+ --color-background-recent-view-row: var(--color-background);
--color-background-recent-view-row-hover: light-dark(
hsl(222deg 70% 12% / 7%),
hsl(220deg 18% 95% / 7%)
@@ -1148,9 +1145,13 @@
hsl(220deg 5% 12% / 3%),
color-mix(in srgb, hsl(0deg 0% 100%) 11%, hsl(0deg 0% 11%))
);
+ --color-recent-view-link-unread: light-dark(
+ hsl(0deg 0% 5%),
+ hsl(0deg 0% 100% / 90%)
+ );
--color-recent-view-link: light-dark(
hsl(0deg 0% 15%),
- hsl(0deg 0% 100% / 75%)
+ hsl(0deg 0% 100% / 65%)
);
--color-background-recent-filters-button-focus: light-dark(
hsl(0deg 0% 80%),
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index f6b430b2595..128d8598551 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -125,6 +125,11 @@
filter: invert(1);
}
+ #recent-view-content-table {
+ border-width: 0.1875em; /* 3px at 16px/1em */
+ border-bottom-width: 1px;
+ }
+
.drafts-container .header-body .delete-drafts-group > *:focus {
background-color: hsl(228deg 11% 17%);
}
diff --git a/web/styles/recent_view.css b/web/styles/recent_view.css
index 4e8ad42b92c..45778155de5 100644
--- a/web/styles/recent_view.css
+++ b/web/styles/recent_view.css
@@ -405,6 +405,10 @@
.unread_topic {
background-color: var(--color-background-recent-view-unread-row);
+ & a {
+ color: var(--color-recent-view-link-unread);
+ }
+
/* Avoid annoying, confusing hover-state when scrolling on
touch devices like iPad that treat a tap-and-hold/swipe
as a hover. */