From eb33e0f7758b4f8bf880b56d7eab52056f804ba3 Mon Sep 17 00:00:00 2001 From: timothycarambat Date: Wed, 18 Dec 2024 13:00:02 -0800 Subject: [PATCH] more table styles for lightmode --- frontend/src/index.css | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/frontend/src/index.css b/frontend/src/index.css index f3326d87ec..96d01d41cb 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -116,7 +116,6 @@ 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 @@ -688,6 +687,12 @@ dialog::backdrop { } } +[data-theme="light"] .markdown table, +[data-theme="light"] .markdown table th, +[data-theme="light"] .markdown table td { + color: #000; +} + /* List Styles */ .markdown ol { list-style: decimal-leading-zero; @@ -775,10 +780,6 @@ 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);