From f894b60bd88a07bec601949581a4c8700583536f Mon Sep 17 00:00:00 2001
From: Sean Hatfield <seanhatfield5@gmail.com>
Date: Thu, 19 Dec 2024 03:49:59 +0800
Subject: [PATCH] Fix light mode table colors (#2873)

* fix light mode table colors

* fix table styles from being overwritten in other sections that are not chat messages

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
---
 frontend/src/index.css | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/frontend/src/index.css b/frontend/src/index.css
index 2cad114f8..f3326d87e 100644
--- a/frontend/src/index.css
+++ b/frontend/src/index.css
@@ -116,6 +116,7 @@
   border-color: var(--theme-sidebar-border);
 }
 
+
 /*
 This is to override the default border color for the select and input elements
 in the onboarding flow when the theme is not light. This only applies to the
@@ -774,6 +775,10 @@ dialog::backdrop {
   color: #fff;
 }
 
+[data-theme="light"] .markdown table {
+  @apply invert;
+}
+
 .file-row:nth-child(even) {
   @apply bg-theme-bg-primary;
   background-color: var(--theme-file-row-even);
-- 
GitLab