Elffuss BraidHub

kikocis/continue public

feat: update btn colors
Changeset40d345e8c2b59171dbf50ee3e5ac3ee988720600e6f2b7173c8c55f3c77e6b5d
AuthorPatrick Erichsen <patrick.a.erichsen@gmail.com> · 2025-05-20 17:49 -07:00
CommitterPatrick Erichsen <patrick.a.erichsen@gmail.com> · 2025-05-20 17:49 -07:00
Parents068f98ea0ea1

Browse the files at this changeset

2 files changed

modified extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/editor/InlineEditPanel.kt +6 −2
@@ -478,13 +478,17 @@
478478 val leftButton =
479479 CustomButton("Reject All (${getMetaKeyLabel()}${getShiftKeyLabel()}⌫)") { onReject() }
480480 .apply {
481- background = JBColor(0x30FF0000, 0x30FF0000)
481+ foreground = JBColor(0xFFFFFF, 0xFFFFFF)
482+ background = JBColor(0xFF0000, 0xFF0000)
483+
484+
482485 }
483486
484487 val rightButton =
485488 CustomButton("Accept All (${getMetaKeyLabel()}${getShiftKeyLabel()}⏎)") { onAccept() }
486489 .apply {
487- background = JBColor(0x3000FF00, 0x3000FF00)
490+ foreground = JBColor(0xFFFFFF, 0xFFFFFF)
491+ background = JBColor(0x00BB00, 0x00BB00)
488492 }
489493
490494 val rightPanel =
modified extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/editor/VerticalDiffBlock.kt +3 −2
@@ -166,7 +166,7 @@
166166 val rejectBtn =
167167 createButton(
168168 "${getAltKeyLabel()}${getShiftKeyLabel()}N",
169- JBColor(0x77FF0000, 0x77FF0000)
169+ JBColor(0xFF0000, 0xFF0000)
170170 ).apply {
171171 addActionListener {
172172 handleReject()
@@ -178,13 +178,14 @@
178178 createButton(
179179 "${getAltKeyLabel()}${
180180 getShiftKeyLabel()
181- }Y", JBColor(0x7700BB00, 0x7700BB00)
181+ }Y", JBColor(0x00BB00, 0x00BB00)
182182 ).apply {
183183 addActionListener {
184184 handleAccept()
185185 }
186186 }
187187
188+
188189 return Pair(acceptBtn, rejectBtn)
189190 }
190191