From 5ae90517712cc0c887199c4369aed251d84b1bde Mon Sep 17 00:00:00 2001 From: reduz Date: Fri, 12 Feb 2021 12:16:37 -0300 Subject: Add ability to change Icon Saturation -Allows for more theme freedom -Allows for entirely B&W themes. --- editor/editor_settings.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'editor/editor_settings.cpp') diff --git a/editor/editor_settings.cpp b/editor/editor_settings.cpp index e37173bf68..6026181615 100644 --- a/editor/editor_settings.cpp +++ b/editor/editor_settings.cpp @@ -392,6 +392,8 @@ void EditorSettings::_load_defaults(Ref p_extra_config) { hints["interface/theme/accent_color"] = PropertyInfo(Variant::COLOR, "interface/theme/accent_color", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_DEFAULT); _initial_set("interface/theme/contrast", 0.25); hints["interface/theme/contrast"] = PropertyInfo(Variant::FLOAT, "interface/theme/contrast", PROPERTY_HINT_RANGE, "0.01, 1, 0.01"); + _initial_set("interface/theme/icon_saturation", 1.0); + hints["interface/theme/icon_saturation"] = PropertyInfo(Variant::FLOAT, "interface/theme/icon_saturation", PROPERTY_HINT_RANGE, "0,2,0.01", PROPERTY_USAGE_DEFAULT); _initial_set("interface/theme/relationship_line_opacity", 0.1); hints["interface/theme/relationship_line_opacity"] = PropertyInfo(Variant::FLOAT, "interface/theme/relationship_line_opacity", PROPERTY_HINT_RANGE, "0.00, 1, 0.01"); _initial_set("interface/theme/highlight_tabs", false); -- cgit v1.2.3