Add conflict styles to project panel

This commit is contained in:
Mikayla Maki 2023-05-22 10:09:55 -07:00
parent af73c1af06
commit a355b4c135
No known key found for this signature in database
2 changed files with 4 additions and 0 deletions

View File

@ -458,6 +458,7 @@ pub struct EntryStatus {
pub struct GitProjectStatus {
pub modified: Color,
pub inserted: Color,
pub conflict: Color,
}
#[derive(Clone, Debug, Deserialize, Default)]

View File

@ -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(),
}
}