Made code actions themeable

This commit is contained in:
Mikayla Maki 2022-08-31 20:35:42 -07:00
parent efaf7e25f4
commit 0efbe6eb34
2 changed files with 4 additions and 2 deletions

View File

@ -5,7 +5,6 @@
"requires": true,
"packages": {
"": {
"name": "styles",
"version": "1.0.0",
"license": "ISC",
"dependencies": {

View File

@ -55,7 +55,10 @@ export default function editor(theme: Theme) {
textColor: theme.syntax.primary.color,
background: backgroundColor(theme, 500),
activeLineBackground: theme.editor.line.active,
codeActionsIndicator: iconColor(theme, "secondary"),
codeActions: {
indicator: iconColor(theme, "secondary"),
verticalScale: 0.618
},
diffBackgroundDeleted: backgroundColor(theme, "error"),
diffBackgroundInserted: backgroundColor(theme, "ok"),
documentHighlightReadBackground: theme.editor.highlight.occurrence,