Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Update scrollbar selection style

Nate Butler793eff16957b
diff --git a/styles/src/style_tree/editor.ts b/styles/src/style_tree/editor.ts
index a1ba0be43d5..48a2fd33e2e 100644
--- a/styles/src/style_tree/editor.ts
+++ b/styles/src/style_tree/editor.ts
@@ -304,9 +304,7 @@ export default function editor(): any {
? with_opacity(theme.ramps.green(0.5).hex(), 0.8)
: with_opacity(theme.ramps.green(0.4).hex(), 0.8),
},
- selections: is_light
- ? with_opacity(theme.ramps.blue(0.5).hex(), 0.8)
- : with_opacity(theme.ramps.blue(0.4).hex(), 0.8)
+ selections: foreground(layer, "accent")
},
composition_mark: {
underline: {