Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Add conflict styles to project panel

Mikayla Makia355b4c135c1
diff --git a/crates/theme/src/theme.rs b/crates/theme/src/theme.rs
index c589137e73c..b5ac126a690 100644
--- a/crates/theme/src/theme.rs
+++ b/crates/theme/src/theme.rs
@@ -458,6 +458,7 @@ pub struct EntryStatus {
pub struct GitProjectStatus {
pub modified: Color,
pub inserted: Color,
+ pub conflict: Color,
}
#[derive(Clone, Debug, Deserialize, Default)]
diff --git a/styles/src/styleTree/projectPanel.ts b/styles/src/styleTree/projectPanel.ts
index 976cdede5cd..81dded151e5 100644
--- a/styles/src/styleTree/projectPanel.ts
+++ b/styles/src/styleTree/projectPanel.ts
@@ -21,6 +21,9 @@ export default function projectPanel(colorScheme: ColorScheme) {
inserted: isLight
? colorScheme.ramps.green(0.4).hex()
: colorScheme.ramps.green(0.5).hex(),
+ conflict: isLight
+ ? colorScheme.ramps.red(0.4).hex()
+ : colorScheme.ramps.red(0.5).hex(),
}
}