We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d29647 commit c2e08f6Copy full SHA for c2e08f6
src/ui/style.rs
@@ -40,6 +40,8 @@ pub struct Theme {
40
commit_time: Color,
41
#[serde(with = "ColorDef")]
42
commit_author: Color,
43
+ #[serde(with = "ColorDef")]
44
+ danger_fg: Color,
45
}
46
47
impl Theme {
@@ -139,7 +141,7 @@ impl Theme {
139
141
140
142
143
pub fn text_danger(&self) -> Style {
- Style::default().fg(self.diff_line_delete)
144
+ Style::default().fg(self.danger_fg)
145
146
147
pub fn toolbar(&self, enabled: bool) -> Style {
@@ -227,6 +229,7 @@ impl Default for Theme {
227
229
commit_hash: Color::Magenta,
228
230
commit_time: Color::Blue,
231
commit_author: Color::Green,
232
+ danger_fg: Color::Red,
233
234
235
0 commit comments