From ee2a50d8af82f84441d06b860490ecbc6e0ddde1 Mon Sep 17 00:00:00 2001 From: shatfield4 Date: Wed, 18 Dec 2024 10:48:19 -0800 Subject: [PATCH 1/2] fix light mode table colors --- frontend/src/index.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/index.css b/frontend/src/index.css index 2cad114f8d0..bf0b822d899 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -116,6 +116,10 @@ border-color: var(--theme-sidebar-border); } +[data-theme="light"] table { + @apply invert; +} + /* 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 From c1689c58ccde14d8bfa40e7f23c286c26e4d7450 Mon Sep 17 00:00:00 2001 From: shatfield4 Date: Wed, 18 Dec 2024 11:34:48 -0800 Subject: [PATCH 2/2] fix table styles from being overwritten in other sections that are not chat messages --- frontend/src/index.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/src/index.css b/frontend/src/index.css index bf0b822d899..f3326d87ecf 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -116,9 +116,6 @@ border-color: var(--theme-sidebar-border); } -[data-theme="light"] table { - @apply invert; -} /* This is to override the default border color for the select and input elements @@ -778,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);