Add icon color theme items for TabBar and TabContainer

This commit is contained in:
Michael Alexsander
2025-10-02 13:53:33 -03:00
parent 6d33ad2917
commit 8973c91293
8 changed files with 81 additions and 10 deletions
+10
View File
@@ -993,6 +993,11 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
theme->set_color("font_outline_color", "TabContainer", Color(0, 0, 0));
theme->set_color("drop_mark_color", "TabContainer", Color(1, 1, 1));
theme->set_color("icon_selected_color", "TabContainer", Color(1, 1, 1, 1));
theme->set_color("icon_hovered_color", "TabContainer", Color(1, 1, 1, 1));
theme->set_color("icon_unselected_color", "TabContainer", Color(1, 1, 1, 1));
theme->set_color("icon_disabled_color", "TabContainer", Color(1, 1, 1, 1));
theme->set_constant("side_margin", "TabContainer", Math::round(8 * scale));
theme->set_constant("icon_separation", "TabContainer", Math::round(4 * scale));
theme->set_constant("icon_max_width", "TabContainer", 0);
@@ -1025,6 +1030,11 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
theme->set_color("font_outline_color", "TabBar", Color(0, 0, 0));
theme->set_color("drop_mark_color", "TabBar", Color(1, 1, 1));
theme->set_color("icon_selected_color", "TabBar", Color(1, 1, 1, 1));
theme->set_color("icon_hovered_color", "TabBar", Color(1, 1, 1, 1));
theme->set_color("icon_unselected_color", "TabBar", Color(1, 1, 1, 1));
theme->set_color("icon_disabled_color", "TabBar", Color(1, 1, 1, 1));
theme->set_constant("h_separation", "TabBar", Math::round(4 * scale));
theme->set_constant("icon_max_width", "TabBar", 0);
theme->set_constant("outline_size", "TabBar", 0);