From bbfd2be4bc7bb51d3ebbf9085528771b73f53c50 Mon Sep 17 00:00:00 2001 From: DeeJayLSP Date: Wed, 5 Nov 2025 13:21:46 -0300 Subject: [PATCH] Modern style: Fix `prop_subsection_stylebox` color not scaling with luminance --- editor/themes/theme_modern.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/themes/theme_modern.cpp b/editor/themes/theme_modern.cpp index ba80fed61c2..9dd3079a5bd 100644 --- a/editor/themes/theme_modern.cpp +++ b/editor/themes/theme_modern.cpp @@ -1923,7 +1923,7 @@ void ThemeModern::populate_editor_styles(const Ref &p_theme, Editor p_theme->set_constant("indent_size", "EditorInspectorSection", 6.0 * EDSCALE); p_theme->set_constant("h_separation", "EditorInspectorSection", p_config.base_margin * EDSCALE); - Color prop_subsection_stylebox_color = p_config.dark_color_1.lerp(p_config.mono_color_font, p_config.dark_icon_and_font ? 0.09 : 0.16); + Color prop_subsection_stylebox_color = p_config.button_disabled_color.lerp(p_config.base_color, 0.48); p_theme->set_color("prop_subsection_stylebox", EditorStringName(Editor), prop_subsection_stylebox_color); Ref style_highlight_subsection = p_config.base_style->duplicate();