Changesets · Branches · Tags · Compare
| Changeset | d68db71210a94e532cbe621ff3e0a9ceb56d0f164569555fb9cef8817eef3615 |
|---|---|
| Author | Patrick Erichsen <patrick.a.erichsen@gmail.com> · 2025-05-20 18:14 -07:00 |
| Committer | Patrick Erichsen <patrick.a.erichsen@gmail.com> · 2025-05-20 18:14 -07:00 |
| Parents | 40d345e8c2b5 |
1 file changed
modified extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/editor/InlineEditPanel.kt +8 −8
| @@ -437,8 +437,8 @@ | ||
| 437 | 437 | val rightButton = |
| 438 | 438 | CustomButton("⏎ Enter") { onEnter() } |
| 439 | 439 | .apply { |
| 440 | - background = globalScheme.defaultForeground | |
| 441 | - foreground = globalScheme.defaultBackground | |
| 440 | + background = JBColor.namedColor("Button.startBackground") | |
| 441 | + foreground = JBColor.namedColor("Button.foreground") | |
| 442 | 442 | border = JBUI.Borders.empty(2, 6) |
| 443 | 443 | } |
| 444 | 444 | |
| @@ -478,17 +478,17 @@ | ||
| 478 | 478 | val leftButton = |
| 479 | 479 | CustomButton("Reject All (${getMetaKeyLabel()}${getShiftKeyLabel()}⌫)") { onReject() } |
| 480 | 480 | .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) | |
| 485 | 484 | } |
| 486 | 485 | |
| 487 | 486 | val rightButton = |
| 488 | 487 | CustomButton("Accept All (${getMetaKeyLabel()}${getShiftKeyLabel()}⏎)") { onAccept() } |
| 489 | 488 | .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) | |
| 492 | 492 | } |
| 493 | 493 | |
| 494 | 494 | val rightPanel = |