summaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-03-03 08:56:22 +0000
committerBlaž Hrastnik2021-03-03 08:56:22 +0000
commitdd6db430134914538df8a2d664891abf81e23a7e (patch)
treeb0bb76cc7ff3ae3e0f6fc22820837bb735574da8 /helix-term
parent4c6611f96b6a7d3e27bfb0c8e43d49f62dde493b (diff)
ui: Adjust selection colors.
Diffstat (limited to 'helix-term')
-rw-r--r--helix-term/src/ui/editor.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs
index 0e9e53f9..0bfc1a33 100644
--- a/helix-term/src/ui/editor.rs
+++ b/helix-term/src/ui/editor.rs
@@ -196,10 +196,12 @@ impl EditorView {
Range::new(start, end)
};
let text = text.slice(..);
- let cursor_style = Style::default().bg(Color::Rgb(255, 255, 255));
+ let cursor_style = Style::default()
+ // .bg(Color::Rgb(255, 255, 255))
+ .add_modifier(Modifier::REVERSED);
- // cedar
- let selection_style = Style::default().bg(Color::Rgb(128, 47, 0));
+ // let selection_style = Style::default().bg(Color::Rgb(94, 0, 128));
+ let selection_style = Style::default().bg(Color::Rgb(84, 0, 153));
for selection in view
.doc