on master help sign in
ui: Adjust selection colors.
commitdd6db430134914538df8a2d664891abf81e23a7e authorBlaž Hrastnik <blaz@mxxn.io> dateWed 3 Mar 2021, 17:56 (6 years ago) parent4c6611f
1 file changed+5−3
helix-term/src/ui/editor.rs+5−3
helix-term/src/ui/editor.rs+5−3
@@ -196,10 +196,12 @@ impl EditorView {
196196 Range::new(start, end)
197197 };
198198 let text = text.slice(..);
199− let cursor_style = Style::default().bg(Color::Rgb(255, 255, 255));
199+ let cursor_style = Style::default()
200+ // .bg(Color::Rgb(255, 255, 255))
201+ .add_modifier(Modifier::REVERSED);
200202
201− // cedar
202− let selection_style = Style::default().bg(Color::Rgb(128, 47, 0));
203+ // let selection_style = Style::default().bg(Color::Rgb(94, 0, 128));
204+ let selection_style = Style::default().bg(Color::Rgb(84, 0, 153));
203205
204206 for selection in view
205207 .doc