Pull git indicator colors out of theme
Co-Authored-By: Kay Simmons <kay@zed.dev> Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
This commit is contained in:
co-authored by
Kay Simmons
Mikayla Maki
parent
632f47930f
commit
8d2de1074b
@@ -7,6 +7,7 @@ import {
|
||||
player,
|
||||
popoverShadow,
|
||||
text,
|
||||
textColor,
|
||||
TextColor,
|
||||
} from "./components";
|
||||
import hoverPopover from "./hoverPopover";
|
||||
@@ -59,8 +60,9 @@ export default function editor(theme: Theme) {
|
||||
indicator: iconColor(theme, "secondary"),
|
||||
verticalScale: 0.618
|
||||
},
|
||||
diffBackgroundDeleted: backgroundColor(theme, "error"),
|
||||
diffBackgroundInserted: backgroundColor(theme, "ok"),
|
||||
diffBackgroundDeleted: theme.ramps.red(0.3).hex(),
|
||||
diffBackgroundInserted: theme.ramps.green(0.3).hex(),
|
||||
diffBackgroundModified: theme.ramps.blue(0.3).hex(),
|
||||
documentHighlightReadBackground: theme.editor.highlight.occurrence,
|
||||
documentHighlightWriteBackground: theme.editor.highlight.activeOccurrence,
|
||||
errorColor: theme.textColor.error,
|
||||
|
||||
Reference in New Issue
Block a user