From f563d24689be91ccdc79686568ca2c9540da6c63 Mon Sep 17 00:00:00 2001 From: Michael Aganier Date: Thu, 15 Jun 2023 19:20:18 -0400 Subject: [PATCH] Change light themes default contrast from -0.08 to -0.06 -0.08 overblows the highlights, -0.06 looks much better. --- editor/editor_themes.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp index 2ff53dd9f12..70a25d943c9 100644 --- a/editor/editor_themes.cpp +++ b/editor/editor_themes.cpp @@ -465,7 +465,7 @@ Ref create_editor_theme(const Ref p_theme) { preset_accent_color = Color(0.18, 0.50, 1.00); preset_base_color = Color(0.9, 0.9, 0.9); // A negative contrast rate looks better for light themes, since it better follows the natural order of UI "elevation". - preset_contrast = -0.08; + preset_contrast = -0.06; } else if (preset == "Solarized (Dark)") { preset_accent_color = Color(0.15, 0.55, 0.82); preset_base_color = Color(0.04, 0.23, 0.27); @@ -474,7 +474,7 @@ Ref create_editor_theme(const Ref p_theme) { preset_accent_color = Color(0.15, 0.55, 0.82); preset_base_color = Color(0.89, 0.86, 0.79); // A negative contrast rate looks better for light themes, since it better follows the natural order of UI "elevation". - preset_contrast = -0.08; + preset_contrast = -0.06; } else if (preset == "Black (OLED)") { preset_accent_color = Color(0.45, 0.75, 1.0); preset_base_color = Color(0, 0, 0);