diff --git a/frontend/src/index.css b/frontend/src/index.css
index 2cad114f8d02b99e55c39caf71307f92a8434295..f3326d87ecfc214a8071dcdc877e17f7945d2c9a 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);