Refine editor styles

- Update active line backgrounds and line numbers
- Add a higher contrast border between the dock and panes
This commit is contained in:
Nate Butler 2022-10-27 14:59:50 -04:00
parent eaebec88c0
commit 92886236a2
2 changed files with 7 additions and 7 deletions

View File

@ -137,7 +137,7 @@ export default function editor(colorScheme: ColorScheme) {
return {
textColor: syntax.primary.color,
background: background(layer),
activeLineBackground: background(layer, "on"),
activeLineBackground: withOpacity(background(layer, "on"), 0.75),
highlightedLineBackground: background(layer, "on"),
codeActions: {
indicator: foreground(layer, "variant"),
@ -162,7 +162,7 @@ export default function editor(colorScheme: ColorScheme) {
errorColor: background(layer, "negative"),
gutterBackground: background(layer),
gutterPaddingFactor: 3.5,
lineNumber: foreground(layer, "disabled"),
lineNumber: withOpacity(foreground(layer), 0.35),
lineNumberActive: foreground(layer),
renameFade: 0.6,
unnecessaryCodeFade: 0.5,
@ -261,17 +261,17 @@ export default function editor(colorScheme: ColorScheme) {
},
},
scrollbar: {
width: 12,
width: 8,
minHeightFactor: 1.0,
track: {
border: border(layer, "variant", { left: true }),
},
thumb: {
background: withOpacity(borderColor(layer, "variant"), 0.5),
background: withOpacity(background(layer, "inverted"), 0.4),
border: {
width: 1,
color: withOpacity(borderColor(layer, 'variant'), 0.5),
}
color: borderColor(layer, 'variant'),
},
}
},
compositionMark: {

View File

@ -219,7 +219,7 @@ export default function workspace(colorScheme: ColorScheme) {
initialSizeBottom: 480,
wash_color: withOpacity(background(colorScheme.highest), 0.5),
panel: {
border: border(colorScheme.highest),
border: border(colorScheme.middle),
},
maximized: {
margin: 32,