Skip to content

Commit

Permalink
dark_theme_css: Fix border color for tables in message/chat.
Browse files Browse the repository at this point in the history
Add a css rule in dark_theme.css for tables inside message/chat.
This rule sets a brighter color for these type of tables so that
it's more visible when the user is using dark theme.

Fixes zulip#29856
  • Loading branch information
PieterCK committed Apr 28, 2024
1 parent 5c0cccc commit da2d8c6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions web/styles/dark_theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,14 @@
border-color: hsl(0deg 0% 0% / 20%);
}

/* This sets a brighter color for tables inside
messages when using dark mode. */
.message_content.rendered_markdown table,
.message_content.rendered_markdown table th,
.message_content.rendered_markdown table td {
border-color: hsl(0deg 0% 100% / 80%);
}

.overlay-message-row
.message_header_private_message
.message_label_clickable {
Expand Down

0 comments on commit da2d8c6

Please sign in to comment.