From ce880536a142e335df98ef0ee737041cffbc1dfe Mon Sep 17 00:00:00 2001 From: Mario Steele Date: Mon, 9 Mar 2026 03:02:45 -0500 Subject: [PATCH] Updated MainTheme Added new StyleBoxFlat's for Entry, PanelContainer, TabPanel and TooltipLabel --- UI/assets/main_theme.tres | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/UI/assets/main_theme.tres b/UI/assets/main_theme.tres index c157f77f..85d249a9 100644 --- a/UI/assets/main_theme.tres +++ b/UI/assets/main_theme.tres @@ -14,6 +14,38 @@ bg_color = Color(1, 1, 1, 0.57254905) [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_u7u7u"] +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_frgrh"] +bg_color = Color(0.13684635, 0.13684635, 0.13684635, 1) + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_qhjvx"] +content_margin_left = 4.0 +content_margin_top = 4.0 +content_margin_right = 4.0 +content_margin_bottom = 4.0 +bg_color = Color(0.07058824, 0.07058824, 0.07058824, 0.95686275) +border_width_left = 2 +border_width_top = 2 +border_width_right = 2 +border_width_bottom = 2 +border_color = Color(0.4121524, 0.4121525, 0.41215223, 1) +corner_radius_top_left = 8 +corner_radius_top_right = 8 +corner_radius_bottom_right = 8 +corner_radius_bottom_left = 8 + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ay4fc"] +content_margin_left = 10.0 +content_margin_top = 10.0 +content_margin_right = 10.0 +content_margin_bottom = 10.0 +bg_color = Color(0.12260859, 0.12260859, 0.12260859, 1) + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_u7u7u"] +bg_color = Color(0.07058824, 0.07058824, 0.07058824, 0.8901961) + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_25vrv"] +bg_color = Color(0.07058824, 0.07058824, 0.07058824, 0.8901961) + [resource] BlankButton/base_type = &"Button" BlankButton/styles/disabled = SubResource("StyleBoxEmpty_dfugh") @@ -22,3 +54,10 @@ BlankButton/styles/hover = SubResource("StyleBoxFlat_dfugh") BlankButton/styles/hover_pressed = SubResource("StyleBoxFlat_hlhir") BlankButton/styles/normal = SubResource("StyleBoxEmpty_ay4fc") BlankButton/styles/pressed = SubResource("StyleBoxEmpty_u7u7u") +Entry/base_type = &"PanelContainer" +Entry/styles/panel = SubResource("StyleBoxFlat_frgrh") +PanelContainer/styles/panel = SubResource("StyleBoxFlat_qhjvx") +TabPanel/base_type = &"PanelContainer" +TabPanel/styles/panel = SubResource("StyleBoxFlat_ay4fc") +TooltipLabel/styles/focus = SubResource("StyleBoxFlat_u7u7u") +TooltipLabel/styles/normal = SubResource("StyleBoxFlat_25vrv")