patch-select: Add support for patch filter option

This commit is contained in:
Erik Kundt
2024-01-29 17:30:41 +01:00
parent 5e9e6140ed
commit 8909cb668f
9 changed files with 177 additions and 59 deletions
+10 -1
View File
@@ -66,6 +66,14 @@ pub mod style {
Style::default().fg(Color::Yellow)
}
pub fn yellow_dim() -> Style {
yellow().add_modifier(TextModifiers::DIM)
}
pub fn yellow_dim_reversed() -> Style {
yellow_dim().add_modifier(TextModifiers::REVERSED)
}
pub fn blue() -> Style {
Style::default().fg(Color::Blue)
}
@@ -108,7 +116,8 @@ pub mod style {
pub fn default_reversed() -> Style {
Style::default()
.add_modifier(TextModifiers::DIM)
.fg(Color::DarkGray)
// .add_modifier(TextModifiers::DIM)
.add_modifier(TextModifiers::REVERSED)
}