Skip to content

Commit b315782

Browse files
authored
Fix fs-write diff colors for background (#3281)
1 parent 00a935a commit b315782

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

crates/chat-cli/src/cli/chat/tools/fs_write.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -775,8 +775,8 @@ fn stylize_output_if_able(os: &Os, path: impl AsRef<Path>, file_text: &str) -> S
775775
StylizedFile {
776776
truecolor: false,
777777
content: file_text.to_string(),
778-
gutter_bg: theme().ui.secondary_text,
779-
line_bg: theme().ui.secondary_text,
778+
gutter_bg: style::Color::Reset,
779+
line_bg: style::Color::Reset,
780780
}
781781
}
782782

@@ -799,8 +799,8 @@ impl Default for StylizedFile {
799799
Self {
800800
truecolor: false,
801801
content: Default::default(),
802-
gutter_bg: theme().ui.secondary_text,
803-
line_bg: theme().ui.secondary_text,
802+
gutter_bg: style::Color::Reset,
803+
line_bg: style::Color::Reset,
804804
}
805805
}
806806
}

0 commit comments

Comments
 (0)