Elffuss BraidHub

kikocis/continue public

Update InlineEditPanel.kt
Changesetd68db71210a94e532cbe621ff3e0a9ceb56d0f164569555fb9cef8817eef3615
AuthorPatrick Erichsen <patrick.a.erichsen@gmail.com> · 2025-05-20 18:14 -07:00
CommitterPatrick Erichsen <patrick.a.erichsen@gmail.com> · 2025-05-20 18:14 -07:00
Parents40d345e8c2b5

Browse the files at this changeset

1 file changed

modified extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/editor/InlineEditPanel.kt +8 −8
@@ -437,8 +437,8 @@
437437 val rightButton =
438438 CustomButton("⏎ Enter") { onEnter() }
439439 .apply {
440- background = globalScheme.defaultForeground
441- foreground = globalScheme.defaultBackground
440+ background = JBColor.namedColor("Button.startBackground")
441+ foreground = JBColor.namedColor("Button.foreground")
442442 border = JBUI.Borders.empty(2, 6)
443443 }
444444
@@ -478,17 +478,17 @@
478478 val leftButton =
479479 CustomButton("Reject All (${getMetaKeyLabel()}${getShiftKeyLabel()}⌫)") { onReject() }
480480 .apply {
481- foreground = JBColor(0xFFFFFF, 0xFFFFFF)
482- background = JBColor(0xFF0000, 0xFF0000)
483-
484-
481+ background = Color(0, 0, 0, 0)
482+ foreground = JBColor.foreground()
483+ border = JBUI.Borders.empty(2, 6)
485484 }
486485
487486 val rightButton =
488487 CustomButton("Accept All (${getMetaKeyLabel()}${getShiftKeyLabel()}⏎)") { onAccept() }
489488 .apply {
490- foreground = JBColor(0xFFFFFF, 0xFFFFFF)
491- background = JBColor(0x00BB00, 0x00BB00)
489+ background = JBColor.namedColor("Button.startBackground")
490+ foreground = JBColor.namedColor("Button.foreground")
491+ border = JBUI.Borders.empty(2, 6)
492492 }
493493
494494 val rightPanel =