mirror of
https://seed.radicle.dev/rad:z39mP9rQAaGmERfUMPULfPUi473tY.git
synced 2026-11-29 06:20:28 +08:00
patch-select: Add support for patch filter option
This commit is contained in:
+10
-1
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user