Skip to content

Commit

Permalink
Fix light mode table colors (#2873)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
shatfield4 and timothycarambat authored Dec 18, 2024
1 parent a51de73 commit f894b60
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frontend/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit f894b60

Please sign in to comment.