Invert selection colors for readability

This commit is contained in:
GitHub Copilot
2026-01-31 19:23:56 +00:00
parent dc60f78e59
commit 704527c16c
2 changed files with 24 additions and 15 deletions
File diff suppressed because one or more lines are too long
+23 -14
View File
@@ -22,7 +22,8 @@ const THEMES: Record<string, ITheme> = {
foreground: "#d3d7cf",
cursor: "#d3d7cf",
cursorAccent: "#000000",
selectionBackground: "#555753",
selectionBackground: "#d3d7cf",
selectionForeground: "#000000",
black: "#2e3436",
red: "#cc0000",
green: "#4e9a06",
@@ -46,7 +47,7 @@ const THEMES: Record<string, ITheme> = {
foreground: "#e5e5e5",
cursor: "#e5e5e5",
cursorAccent: "#000000",
selectionBackground: "#d4d4d4",
selectionBackground: "#e5e5e5",
selectionForeground: "#000000",
black: "#000000",
red: "#cd0000",
@@ -71,7 +72,8 @@ const THEMES: Record<string, ITheme> = {
foreground: "#fcfcfa",
cursor: "#fcfcfa",
cursorAccent: "#2d2a2e",
selectionBackground: "#5b595c",
selectionBackground: "#fcfcfa",
selectionForeground: "#2d2a2e",
black: "#403e41",
red: "#ff6188",
green: "#a9dc76",
@@ -95,7 +97,8 @@ const THEMES: Record<string, ITheme> = {
foreground: "#fff1f3",
cursor: "#fff1f3",
cursorAccent: "#2d2525",
selectionBackground: "#403838",
selectionBackground: "#fff1f3",
selectionForeground: "#2d2525",
black: "#2c2525",
red: "#fd6883",
green: "#adda78",
@@ -119,7 +122,8 @@ const THEMES: Record<string, ITheme> = {
foreground: "#d4d4d4",
cursor: "#aeafad",
cursorAccent: "#1e1e1e",
selectionBackground: "#264f78",
selectionBackground: "#d4d4d4",
selectionForeground: "#1e1e1e",
black: "#000000",
red: "#cd3131",
green: "#0dbc79",
@@ -142,7 +146,8 @@ const THEMES: Record<string, ITheme> = {
foreground: "#383a42",
cursor: "#526eff",
cursorAccent: "#ffffff",
selectionBackground: "#add6ff",
selectionBackground: "#383a42",
selectionForeground: "#ffffff",
black: "#000000",
red: "#e45649",
green: "#50a14f",
@@ -165,7 +170,8 @@ const THEMES: Record<string, ITheme> = {
foreground: "#f8f8f2",
cursor: "#f8f8f2",
cursorAccent: "#282a36",
selectionBackground: "#44475a",
selectionBackground: "#f8f8f2",
selectionForeground: "#282a36",
black: "#21222c",
red: "#ff5555",
green: "#50fa7b",
@@ -188,7 +194,8 @@ const THEMES: Record<string, ITheme> = {
foreground: "#cdd6f4",
cursor: "#f5e0dc",
cursorAccent: "#1e1e2e",
selectionBackground: "#45475a",
selectionBackground: "#cdd6f4",
selectionForeground: "#1e1e2e",
black: "#45475a",
red: "#f38ba8",
green: "#a6e3a1",
@@ -211,7 +218,8 @@ const THEMES: Record<string, ITheme> = {
foreground: "#d8dee9",
cursor: "#d8dee9",
cursorAccent: "#2e3440",
selectionBackground: "#434c5e",
selectionBackground: "#d8dee9",
selectionForeground: "#2e3440",
black: "#3b4252",
red: "#bf616a",
green: "#a3be8c",
@@ -234,7 +242,8 @@ const THEMES: Record<string, ITheme> = {
foreground: "#ebdbb2",
cursor: "#ebdbb2",
cursorAccent: "#282828",
selectionBackground: "#504945",
selectionBackground: "#ebdbb2",
selectionForeground: "#282828",
black: "#282828",
red: "#cc241d",
green: "#98971a",
@@ -257,8 +266,8 @@ const THEMES: Record<string, ITheme> = {
foreground: "#839496",
cursor: "#839496",
cursorAccent: "#002b36",
selectionBackground: "#586e75",
selectionForeground: "#fdf6e3",
selectionBackground: "#839496",
selectionForeground: "#002b36",
black: "#073642",
red: "#dc322f",
green: "#859900",
@@ -281,8 +290,8 @@ const THEMES: Record<string, ITheme> = {
foreground: "#a9b1d6",
cursor: "#c0caf5",
cursorAccent: "#1a1b26",
selectionBackground: "#4c5e90",
selectionForeground: "#dfe3f7",
selectionBackground: "#a9b1d6",
selectionForeground: "#1a1b26",
black: "#15161e",
red: "#f7768e",
green: "#9ece6a",