[ui] IJPL-188429 Wrong color of tooltip in Dark/Light themes - fix name casing

(cherry picked from commit 44746711f2777e592b46be6de9aee2c39dfa052f)

IJ-CR-165512

GitOrigin-RevId: a33073bdf68e6c29d024066d85c116658678158b
This commit is contained in:
Piotr Tomiak
2025-06-11 13:29:53 +02:00
committed by intellij-monorepo-bot
parent f2df9d41bd
commit 9f3fce5f0e

View File

@@ -1909,11 +1909,11 @@ public final class JBUI {
public static final class Tooltip {
public static final JBValue CORNER_RADIUS = new JBValue.UIInteger("ToolTip.borderCornerRadius", 4);
private static final @NotNull Color SEPARATOR_COLOR = JBColor.namedColor("Tooltip.separatorColor", 0xd1d1d1, 0x545658);
private static final @NotNull Color FOREGROUND = JBColor.namedColor("Tooltip.foreground", new JBColor(Gray.x00, Gray.xBF));
private static final @NotNull Color BACKGROUND = JBColor.namedColor("Tooltip.background", new JBColor(Gray.xF2, new Color(0x3c3f41)));
private static final @NotNull Color SEPARATOR_COLOR = JBColor.namedColor("ToolTip.separatorColor", 0xd1d1d1, 0x545658);
private static final @NotNull Color FOREGROUND = JBColor.namedColor("ToolTip.foreground", new JBColor(Gray.x00, Gray.xBF));
private static final @NotNull Color BACKGROUND = JBColor.namedColor("ToolTip.background", new JBColor(Gray.xF2, new Color(0x3c3f41)));
private static final @NotNull Color GRAYED_FOREGROUND =
JBColor.namedColor("Tooltip.grayedForeground", new JBColor(
JBColor.namedColor("ToolTip.grayedForeground", new JBColor(
JBColor.namedColor("ColorPalette.Gray7", Gray.x90),
JBColor.namedColor("ColorPalette.Gray8", Gray.x90))
);