дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-04 01:01:17 +02:00
Matched characters in Search Everywhere and every chooser built on HighlightedText used --bg-search-match, which editor colour schemes rewrite for their Search result attribute (Darcula: dark green), so the popup highlight turned dark green instead of the SearchMatch gold. Lists now read new --bg-list-match / --fg-list-match tokens set per theme (dark, light, high contrast, palette themes) and mapped from IntelliJ theme SearchMatch keys; they are not scheme variables, so applying a colour scheme leaves them alone. In-editor search marks and code previews still follow the scheme. The Harbor Night template and the theme token docs include the new tokens. Co-authored-by: wildcatDownstairs <[email protected]>
12 рядки
389 B
CSS
12 рядки
389 B
CSS
/* SearchMatch: matched fragments get the list-match background (rounded) and a contrasting text colour.
|
|
* Not --bg-search-match: editor colour schemes recolour that one (Darcula: dark green). */
|
|
.match {
|
|
background: var(--bg-list-match);
|
|
color: var(--fg-list-match, inherit);
|
|
border-radius: 3px;
|
|
box-decoration-break: clone;
|
|
}
|
|
.accent {
|
|
color: var(--fg-list-match, inherit);
|
|
}
|