Skip to content

Commit

Permalink
fix external style
Browse files Browse the repository at this point in the history
  • Loading branch information
maxomatic458 committed Jan 28, 2024
1 parent 7819f32 commit 73594ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
3 changes: 1 addition & 2 deletions src/menu/ide_menu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -540,15 +540,14 @@ impl IdeMenu {
)
} else {
format!(
"{}{}{}{}{}{}{}{}{}{}{}{}",
"{}{}{}{}{}{}{}{}{}{}{}",
vertical_border,
suggestion_style_prefix,
" ".repeat(padding),
self.settings.color.match_style.prefix(),
match_str,
RESET,
suggestion_style_prefix,
self.settings.color.text_style.prefix(),
remaining_str,
" ".repeat(padding_right),
RESET,
Expand Down
9 changes: 2 additions & 7 deletions src/menu/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,8 @@ impl Default for MenuTextStyle {
selected_text_style: Color::Green.bold().reverse(),
text_style: Color::DarkGray.normal(),
description_style: Color::Yellow.normal(),
selected_match_style: {
let mut style = Color::Green.bold().reverse().underline();
// LightBlue text color
style.background = Some(Color::LightBlue);
style
},
match_style: Color::DarkGray.normal().underline(),
selected_match_style: Color::Green.bold().reverse().underline(),
match_style: Style::default().underline(),
}
}
}
Expand Down

0 comments on commit 73594ef

Please sign in to comment.