mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-02 19:31:39 +03:00
Add conflict styles to project panel
This commit is contained in:
parent
af73c1af06
commit
a355b4c135
@ -458,6 +458,7 @@ pub struct EntryStatus {
|
||||
pub struct GitProjectStatus {
|
||||
pub modified: Color,
|
||||
pub inserted: Color,
|
||||
pub conflict: Color,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Deserialize, Default)]
|
||||
|
@ -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(),
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user