css: Add new css for rendered markdown table in dark mode.

Add a new dark mode css in app_variable.css for rendered
markdown tables. This rule sets a brighter color for tables
in messages / chat to make it more visible when the user is
using dark theme.

Fixes zulip#29856.
This commit is contained in:
PieterCK
2024-05-02 21:30:04 +07:00
committed by Tim Abbott
parent e16b8eba56
commit dae4c28b5b
2 changed files with 2 additions and 3 deletions

View File

@@ -734,6 +734,7 @@
/* Markdown color */
--color-background-rendered-markdown-thead: hsl(0deg 0% 0% / 50%);
--color-border-rendered-markdown-table: hsl(0deg 0% 100% / 20%);
/* Markdown code colors */
/* Note that Markdown code-link colors are identical

View File

@@ -755,9 +755,7 @@
#subscription_overlay .settings-radio-input-parent,
#settings_page .sidebar-wrapper,
#settings_page .sidebar-wrapper *,
table,
table th,
table td {
#recent_view_table table td {
border-color: hsl(0deg 0% 0% / 20%);
}