From 08e98e7eee9b05f63cc8fad7d428e8b79ba94eb5 Mon Sep 17 00:00:00 2001 From: Patrick Erichsen Date: Tue, 20 May 2025 18:14:21 -0700 Subject: [PATCH] Update InlineEditPanel.kt --- .../editor/InlineEditPanel.kt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/editor/InlineEditPanel.kt b/extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/editor/InlineEditPanel.kt index f2d5eb152..ee0499067 100644 --- a/extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/editor/InlineEditPanel.kt +++ b/extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/editor/InlineEditPanel.kt @@ -437,8 +437,8 @@ class CustomPanel( val rightButton = CustomButton("⏎ Enter") { onEnter() } .apply { - background = globalScheme.defaultForeground - foreground = globalScheme.defaultBackground + background = JBColor.namedColor("Button.startBackground") + foreground = JBColor.namedColor("Button.foreground") border = JBUI.Borders.empty(2, 6) } @@ -478,17 +478,17 @@ class CustomPanel( val leftButton = CustomButton("Reject All (${getMetaKeyLabel()}${getShiftKeyLabel()}⌫)") { onReject() } .apply { - foreground = JBColor(0xFFFFFF, 0xFFFFFF) - background = JBColor(0xFF0000, 0xFF0000) - - + background = Color(0, 0, 0, 0) + foreground = JBColor.foreground() + border = JBUI.Borders.empty(2, 6) } val rightButton = CustomButton("Accept All (${getMetaKeyLabel()}${getShiftKeyLabel()}⏎)") { onAccept() } .apply { - foreground = JBColor(0xFFFFFF, 0xFFFFFF) - background = JBColor(0x00BB00, 0x00BB00) + background = JBColor.namedColor("Button.startBackground") + foreground = JBColor.namedColor("Button.foreground") + border = JBUI.Borders.empty(2, 6) } val rightPanel =