mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-27 04:44:30 +00:00
Update project panel & scroll bar git colors
This commit is contained in:
parent
ef81813d56
commit
11eb9b17c9
2 changed files with 15 additions and 15 deletions
|
@ -108,8 +108,8 @@ export default function editor(colorScheme: ColorScheme) {
|
||||||
? colorScheme.ramps.green(0.4).hex()
|
? colorScheme.ramps.green(0.4).hex()
|
||||||
: colorScheme.ramps.green(0.5).hex(),
|
: colorScheme.ramps.green(0.5).hex(),
|
||||||
removedWidthEm: 0.275,
|
removedWidthEm: 0.275,
|
||||||
widthEm: 0.22,
|
widthEm: 0.15,
|
||||||
cornerRadius: 0.2,
|
cornerRadius: 0.05,
|
||||||
},
|
},
|
||||||
/** Highlights matching occurences of what is under the cursor
|
/** Highlights matching occurences of what is under the cursor
|
||||||
* as well as matched brackets
|
* as well as matched brackets
|
||||||
|
@ -241,22 +241,22 @@ export default function editor(colorScheme: ColorScheme) {
|
||||||
border: border(layer, "variant", { left: true }),
|
border: border(layer, "variant", { left: true }),
|
||||||
},
|
},
|
||||||
thumb: {
|
thumb: {
|
||||||
background: withOpacity(background(layer, "inverted"), 0.4),
|
background: withOpacity(background(layer, "inverted"), 0.3),
|
||||||
border: {
|
border: {
|
||||||
width: 1,
|
width: 1,
|
||||||
color: borderColor(layer, "variant"),
|
color: borderColor(layer, "variant"),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
git: {
|
git: {
|
||||||
deleted: isLight
|
deleted: isLight
|
||||||
? colorScheme.ramps.red(0.5).hex()
|
? withOpacity(colorScheme.ramps.red(0.5).hex(), 0.8)
|
||||||
: colorScheme.ramps.red(0.4).hex(),
|
: withOpacity(colorScheme.ramps.red(0.4).hex(), 0.8),
|
||||||
modified: isLight
|
modified: isLight
|
||||||
? colorScheme.ramps.yellow(0.3).hex()
|
? withOpacity(colorScheme.ramps.yellow(0.5).hex(), 0.8)
|
||||||
: colorScheme.ramps.yellow(0.5).hex(),
|
: withOpacity(colorScheme.ramps.yellow(0.4).hex(), 0.8),
|
||||||
inserted: isLight
|
inserted: isLight
|
||||||
? colorScheme.ramps.green(0.4).hex()
|
? withOpacity(colorScheme.ramps.green(0.5).hex(), 0.8)
|
||||||
: colorScheme.ramps.green(0.5).hex(),
|
: withOpacity(colorScheme.ramps.green(0.4).hex(), 0.8),
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
compositionMark: {
|
compositionMark: {
|
||||||
|
|
|
@ -19,11 +19,11 @@ export default function projectPanel(colorScheme: ColorScheme) {
|
||||||
? colorScheme.ramps.yellow(0.6).hex()
|
? colorScheme.ramps.yellow(0.6).hex()
|
||||||
: colorScheme.ramps.yellow(0.5).hex(),
|
: colorScheme.ramps.yellow(0.5).hex(),
|
||||||
inserted: isLight
|
inserted: isLight
|
||||||
? colorScheme.ramps.green(0.4).hex()
|
? colorScheme.ramps.green(0.45).hex()
|
||||||
: colorScheme.ramps.green(0.5).hex(),
|
: colorScheme.ramps.green(0.5).hex(),
|
||||||
conflict: isLight
|
conflict: isLight
|
||||||
? colorScheme.ramps.red(0.4).hex()
|
? colorScheme.ramps.red(0.6).hex()
|
||||||
: colorScheme.ramps.red(0.5).hex(),
|
: colorScheme.ramps.red(0.5).hex()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue