From 0efbe6eb342a1f3811433e26ddd8b21aefb587c9 Mon Sep 17 00:00:00 2001 From: Mikayla Maki Date: Wed, 31 Aug 2022 20:35:42 -0700 Subject: [PATCH] Made code actions themeable --- styles/package-lock.json | 1 - styles/src/styleTree/editor.ts | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/styles/package-lock.json b/styles/package-lock.json index 582f1c8496..5499f1852c 100644 --- a/styles/package-lock.json +++ b/styles/package-lock.json @@ -5,7 +5,6 @@ "requires": true, "packages": { "": { - "name": "styles", "version": "1.0.0", "license": "ISC", "dependencies": { diff --git a/styles/src/styleTree/editor.ts b/styles/src/styleTree/editor.ts index e3c1844974..62f7a0efdf 100644 --- a/styles/src/styleTree/editor.ts +++ b/styles/src/styleTree/editor.ts @@ -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,