This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch fix/CAMEL-23934
in repository https://gitbox.apache.org/repos/asf/camel.git

commit d0b481055aa705e59219df1ec56f766291bf1d8e
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Jul 8 11:38:33 2026 +0200

    CAMEL-23934: Fix hardcoded white text in configuration detail panel
    
    Replace Color.WHITE with Theme.baseFg() for property values so they
    are readable on both dark and light backgrounds.
    
    Co-Authored-By: Claude Opus 4.6 <[email protected]>
    Signed-off-by: Claus Ibsen <[email protected]>
---
 .../apache/camel/dsl/jbang/core/commands/tui/ConfigurationTab.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/ConfigurationTab.java
 
b/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/ConfigurationTab.java
index e20495912148..404a02f5d0e8 100644
--- 
a/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/ConfigurationTab.java
+++ 
b/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/ConfigurationTab.java
@@ -279,7 +279,7 @@ class ConfigurationTab extends AbstractTableTab {
         if (value.length() <= maxValueLen) {
             lines.add(Line.from(
                     Span.styled(prefix, Style.EMPTY.dim()),
-                    Span.styled(value, Style.EMPTY.fg(Color.WHITE))));
+                    Span.styled(value, Style.EMPTY.fg(Theme.baseFg()))));
         } else {
             // wrap long values
             lines.add(Line.from(Span.styled(prefix, Style.EMPTY.dim())));
@@ -292,7 +292,7 @@ class ConfigurationTab extends AbstractTableTab {
             int pos = 0;
             while (pos < value.length()) {
                 int end = Math.min(pos + wrapWidth, value.length());
-                lines.add(Line.from(Span.styled(indentStr + 
value.substring(pos, end), Style.EMPTY.fg(Color.WHITE))));
+                lines.add(Line.from(Span.styled(indentStr + 
value.substring(pos, end), Style.EMPTY.fg(Theme.baseFg()))));
                 pos = end;
             }
         }

Reply via email to