fix(ui): keep theme text and selections readable (#6226)

* fix(ui): keep theme text and selections readable

* fix(tui): theme the blank composer cursor cell

* refactor(webui): centralize diff theme colors

* fix(tui): keep conversation selections readable

* fix(ui): preserve nested syntax colors and selection lifetimes
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-15 15:21:28 +08:00
1 parent 73c2441abc
commit c24153db86
32 files changed
+451 -165

No files matched your search

+1 -1
View File
@@ -765,7 +765,7 @@ describe("ThreadMessages", () => {
const timestamp = menu.querySelector<HTMLElement>("[data-message-timestamp]")!;
expect(timestamp).toBeInTheDocument();
expect(timestamp).toHaveClass("min-h-[var(--message-block-control-size)]");
expect(timestamp.parentElement).toHaveClass("border-t", "text-muted-foreground/45");
expect(timestamp.parentElement).toHaveClass("border-t", "text-muted-foreground");
expect(toolbar).not.toContainElement(timestamp);
expect(timestamp).not.toHaveAttribute("tabindex");
expect(timestamp.querySelector("svg")).not.toBeInTheDocument();