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>
This commit is contained in:
Sean Hatfield 2024-12-19 03:49:59 +08:00 committed by GitHub
parent a51de73aaa
commit f894b60bd8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -116,6 +116,7 @@
border-color: var(--theme-sidebar-border); border-color: var(--theme-sidebar-border);
} }
/* /*
This is to override the default border color for the select and input elements 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 in the onboarding flow when the theme is not light. This only applies to the
@ -774,6 +775,10 @@ dialog::backdrop {
color: #fff; color: #fff;
} }
[data-theme="light"] .markdown table {
@apply invert;
}
.file-row:nth-child(even) { .file-row:nth-child(even) {
@apply bg-theme-bg-primary; @apply bg-theme-bg-primary;
background-color: var(--theme-file-row-even); background-color: var(--theme-file-row-even);