From a530afce92c02a4d969a992f7743cbd8a8fa9dc4 Mon Sep 17 00:00:00 2001 From: GitHub Copilot Date: Sat, 31 Jan 2026 16:27:39 +0000 Subject: [PATCH] Improve selection contrast --- src/webterm/static/js/terminal.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/webterm/static/js/terminal.ts b/src/webterm/static/js/terminal.ts index 78d2c06..7a21b81 100644 --- a/src/webterm/static/js/terminal.ts +++ b/src/webterm/static/js/terminal.ts @@ -47,6 +47,7 @@ const THEMES: Record = { cursor: "#e5e5e5", cursorAccent: "#000000", selectionBackground: "#d4d4d4", + selectionForeground: "#000000", black: "#000000", red: "#cd0000", green: "#00cd00", @@ -256,7 +257,8 @@ const THEMES: Record = { foreground: "#839496", cursor: "#839496", cursorAccent: "#002b36", - selectionBackground: "#073642", + selectionBackground: "#586e75", + selectionForeground: "#fdf6e3", black: "#073642", red: "#dc322f", green: "#859900", @@ -279,7 +281,8 @@ const THEMES: Record = { foreground: "#a9b1d6", cursor: "#c0caf5", cursorAccent: "#1a1b26", - selectionBackground: "#33467c", + selectionBackground: "#4c5e90", + selectionForeground: "#dfe3f7", black: "#15161e", red: "#f7768e", green: "#9ece6a",