Fix light mode table colors ()

* 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);
}
/*
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);