дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-08 19:02:17 +02:00
fix(editor): set search-match foreground color on find highlights
Find-in-file matches showed yellow background with the editor's green syntax text underneath, making hits unreadable. Give .cm-openidea-findMatch and .cm-openidea-findMatch-current the per-theme --fg-search-match color, matching how .match rules elsewhere already set it. Fixes #1733
Цей коміт міститься в:
1 джерело
fca9d1e08f
коміт
74f5ef8090
1 file changed
+2
@@ -18,6 +18,7 @@ export const findLocals = {
|
||||
export const findStyles = {
|
||||
".cm-openidea-findMatch": {
|
||||
backgroundColor: "var(--editor-search)",
|
||||
color: "var(--fg-search-match, inherit)",
|
||||
borderRadius: "2px",
|
||||
},
|
||||
".cm-openidea-findExcluded": {
|
||||
@@ -29,6 +30,7 @@ export const findStyles = {
|
||||
},
|
||||
".cm-openidea-findMatch-current": {
|
||||
backgroundColor: "var(--editor-search-current)",
|
||||
color: "var(--fg-search-match, inherit)",
|
||||
outline: "1px solid color-mix(in srgb, var(--editor-search-current) 60%, var(--fg-strong))",
|
||||
},
|
||||
};
|
||||
|
||||
Reference in new issue
Заблокувати користувача