Update search match highlight and occurrence style

This commit is contained in:
Nate Butler
2022-11-09 18:17:00 -05:00
parent 9355d501bc
commit 6b4dd2a5de
2 changed files with 8 additions and 6 deletions
+4 -4
View File
@@ -152,10 +152,10 @@ export default function editor(colorScheme: ColorScheme) {
widthEm: 0.16,
cornerRadius: 0.05,
},
documentHighlightReadBackground: colorScheme.ramps
.neutral(0.5)
.alpha(0.2)
.hex(), // TODO: This was blend
/** Highlights matching occurences of what is under the cursor
* as well as matched brackets
*/
documentHighlightReadBackground: withOpacity(foreground(layer, "accent"), 0.1),
documentHighlightWriteBackground: colorScheme.ramps
.neutral(0.5)
.alpha(0.4)