From fe446fd761688b9d386a0b36808a496117f86ac0 Mon Sep 17 00:00:00 2001 From: Kirill Grouchnikov Date: Mon, 20 Jan 2025 18:17:28 -0500 Subject: [PATCH] Consistent appearance of tonal internal frame title panes For #400 --- .../internal/utils/RadianceInternalFrameTitlePane.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/theming/src/main/java/org/pushingpixels/radiance/theming/internal/utils/RadianceInternalFrameTitlePane.java b/theming/src/main/java/org/pushingpixels/radiance/theming/internal/utils/RadianceInternalFrameTitlePane.java index 6170d2a69..778600dd4 100644 --- a/theming/src/main/java/org/pushingpixels/radiance/theming/internal/utils/RadianceInternalFrameTitlePane.java +++ b/theming/src/main/java/org/pushingpixels/radiance/theming/internal/utils/RadianceInternalFrameTitlePane.java @@ -299,9 +299,7 @@ public void paintComponent(Graphics g) { // TODO: TONAL - finalize the text echo color logic RadianceTextUtilities.paintTextWithDropShadow(this, graphics, colorTokens.getOnContainer(), - RadianceColorUtilities.getAlphaColor( - colorTokens.getOnContainerVariant(), - 100), + colorTokens.getInverseOnContainer(), displayTitle, width, height, xOffset, yOffset); } else { RadianceColorScheme scheme = RadianceCoreUtilities.getSkin(this.frame)