Skip to content

Commit 204c7c4

Browse files
Revert to a grayscale theme style
1 parent 96b7cac commit 204c7c4

File tree

13 files changed

+33
-179
lines changed

13 files changed

+33
-179
lines changed
-26.5 KB
Binary file not shown.
-26.8 KB
Binary file not shown.

Framework/Fonts/Kirifont/Kirifont.tres

Lines changed: 0 additions & 11 deletions
This file was deleted.

Framework/Fonts/Kirifont/OFL.txt

Lines changed: 0 additions & 97 deletions
This file was deleted.

Framework/GodotUtils

Framework/Scenes/MenuUI/MainMenu/MainMenu.cs

Lines changed: 0 additions & 11 deletions
This file was deleted.

Framework/Scenes/MenuUI/MainMenu/MainMenu.cs.uid

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 19 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,86 +1,76 @@
1-
[gd_scene load_steps=3 format=3 uid="uid://d4a5xfmaulku1"]
1+
[gd_scene load_steps=2 format=3 uid="uid://d4a5xfmaulku1"]
22

3-
[ext_resource type="Script" uid="uid://ckf2hfrig7e7o" path="res://Framework/Scenes/MenuUI/MainMenu/MainMenu.cs" id="1_cqe0w"]
43
[ext_resource type="Script" uid="uid://bi551lrt82awu" path="res://Framework/Scenes/MenuUI/MainMenu/MainMenuNav.cs" id="5_sc4as"]
54

6-
[node name="Main Menu" type="Control"]
7-
layout_mode = 3
5+
[node name="Main Menu" type="PanelContainer"]
86
anchors_preset = 15
97
anchor_right = 1.0
108
anchor_bottom = 1.0
119
grow_horizontal = 2
1210
grow_vertical = 2
13-
script = ExtResource("1_cqe0w")
1411
metadata/_edit_lock_ = true
1512

16-
[node name="PanelContainer" type="PanelContainer" parent="."]
17-
layout_mode = 0
18-
anchor_right = 1.0
19-
anchor_bottom = 1.0
20-
grow_horizontal = 2
21-
grow_vertical = 2
22-
23-
[node name="Nav" type="VBoxContainer" parent="PanelContainer"]
13+
[node name="Nav" type="VBoxContainer" parent="."]
2414
layout_mode = 2
2515
size_flags_horizontal = 4
2616
size_flags_vertical = 4
2717
alignment = 1
2818
script = ExtResource("5_sc4as")
2919

30-
[node name="Play" type="Button" parent="PanelContainer/Nav"]
20+
[node name="Play" type="Button" parent="Nav"]
3121
custom_minimum_size = Vector2(175, 60)
3222
layout_mode = 2
3323
text = "PLAY"
3424

35-
[node name="Mods" type="Button" parent="PanelContainer/Nav"]
25+
[node name="Mods" type="Button" parent="Nav"]
3626
custom_minimum_size = Vector2(175, 60)
3727
layout_mode = 2
3828
text = "MODS"
3929

40-
[node name="Options" type="Button" parent="PanelContainer/Nav"]
30+
[node name="Options" type="Button" parent="Nav"]
4131
custom_minimum_size = Vector2(175, 60)
4232
layout_mode = 2
4333
text = "OPTIONS"
4434

45-
[node name="Credits" type="Button" parent="PanelContainer/Nav"]
35+
[node name="Credits" type="Button" parent="Nav"]
4636
custom_minimum_size = Vector2(175, 60)
4737
layout_mode = 2
4838
text = "CREDITS"
4939

50-
[node name="Quit" type="Button" parent="PanelContainer/Nav"]
40+
[node name="Quit" type="Button" parent="Nav"]
5141
custom_minimum_size = Vector2(175, 60)
5242
layout_mode = 2
5343
text = "QUIT"
5444

55-
[node name="Margin" type="MarginContainer" parent="PanelContainer"]
45+
[node name="Socials" type="MarginContainer" parent="."]
5646
layout_mode = 2
5747
size_flags_horizontal = 0
5848
size_flags_vertical = 8
5949
theme_override_constants/margin_left = 20
6050
theme_override_constants/margin_bottom = 10
6151

62-
[node name="Socials" type="HBoxContainer" parent="PanelContainer/Margin"]
52+
[node name="HBox" type="HBoxContainer" parent="Socials"]
6353
layout_mode = 2
6454
size_flags_horizontal = 0
6555
size_flags_vertical = 8
6656
theme_override_constants/separation = 15
6757

68-
[node name="Discord" type="Button" parent="PanelContainer/Margin/Socials"]
58+
[node name="Discord" type="Button" parent="Socials/HBox"]
6959
custom_minimum_size = Vector2(100, 40)
7060
layout_mode = 2
7161
size_flags_horizontal = 0
7262
size_flags_vertical = 0
7363
text = "Discord"
7464

75-
[node name="Github" type="Button" parent="PanelContainer/Margin/Socials"]
65+
[node name="Github" type="Button" parent="Socials/HBox"]
7666
custom_minimum_size = Vector2(100, 40)
7767
layout_mode = 2
7868
text = "GitHub"
7969

80-
[connection signal="pressed" from="PanelContainer/Nav/Play" to="PanelContainer/Nav" method="_OnPlayPressed"]
81-
[connection signal="pressed" from="PanelContainer/Nav/Mods" to="PanelContainer/Nav" method="_OnModsPressed"]
82-
[connection signal="pressed" from="PanelContainer/Nav/Options" to="PanelContainer/Nav" method="_OnOptionsPressed"]
83-
[connection signal="pressed" from="PanelContainer/Nav/Credits" to="PanelContainer/Nav" method="_OnCreditsPressed"]
84-
[connection signal="pressed" from="PanelContainer/Nav/Quit" to="PanelContainer/Nav" method="_OnQuitPressed"]
85-
[connection signal="pressed" from="PanelContainer/Margin/Socials/Discord" to="PanelContainer/Nav" method="_OnDiscordPressed"]
86-
[connection signal="pressed" from="PanelContainer/Margin/Socials/Github" to="PanelContainer/Nav" method="_OnGitHubPressed"]
70+
[connection signal="pressed" from="Nav/Play" to="Nav" method="_OnPlayPressed"]
71+
[connection signal="pressed" from="Nav/Mods" to="Nav" method="_OnModsPressed"]
72+
[connection signal="pressed" from="Nav/Options" to="Nav" method="_OnOptionsPressed"]
73+
[connection signal="pressed" from="Nav/Credits" to="Nav" method="_OnCreditsPressed"]
74+
[connection signal="pressed" from="Nav/Quit" to="Nav" method="_OnQuitPressed"]
75+
[connection signal="pressed" from="Socials/HBox/Discord" to="Nav" method="_OnDiscordPressed"]
76+
[connection signal="pressed" from="Socials/HBox/Github" to="Nav" method="_OnGitHubPressed"]

Framework/Theme/MainTheme.tres

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,38 @@
1-
[gd_resource type="Theme" load_steps=10 format=3 uid="uid://8fdrucqkrf5m"]
1+
[gd_resource type="Theme" load_steps=8 format=3 uid="uid://8fdrucqkrf5m"]
22

33
[ext_resource type="StyleBox" uid="uid://bu2ywx2nob8v3" path="res://Framework/Theme/NormalButton.tres" id="1_tk1xn"]
44
[ext_resource type="StyleBox" uid="uid://b8uqbeckjjkp0" path="res://Framework/Theme/PressedButton.tres" id="2_xsdux"]
55

66
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_vs2pc"]
77

88
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_cevqf"]
9-
bg_color = Color(0.286275, 0.435294, 1, 1)
9+
bg_color = Color(1, 1, 1, 1)
1010
border_width_left = 2
1111
border_width_top = 2
1212
border_width_right = 2
1313
border_width_bottom = 2
14-
border_color = Color(0.286275, 0.435294, 1, 1)
14+
border_color = Color(1, 1, 1, 1)
1515
corner_radius_top_left = 1
1616
corner_radius_top_right = 1
1717
corner_radius_bottom_right = 1
1818
corner_radius_bottom_left = 1
1919

2020
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_xsdux"]
21-
bg_color = Color(0.109804, 0, 0.803922, 1)
21+
bg_color = Color(0.14902, 0.14902, 0.14902, 1)
2222
border_width_left = 2
2323
border_width_top = 2
2424
border_width_right = 2
2525
border_width_bottom = 2
26-
border_color = Color(0.109804, 0, 0.803922, 1)
26+
border_color = Color(0.147672, 0.147672, 0.147672, 1)
2727
corner_radius_top_left = 1
2828
corner_radius_top_right = 1
2929
corner_radius_bottom_right = 1
3030
corner_radius_bottom_left = 1
3131

3232
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_cevqf"]
3333

34-
[sub_resource type="Gradient" id="Gradient_u3eji"]
35-
colors = PackedColorArray(0.8, 0.843333, 1, 0.784314, 0.172667, 0, 0.74, 0.784314)
36-
37-
[sub_resource type="GradientTexture2D" id="GradientTexture2D_ayidx"]
38-
gradient = SubResource("Gradient_u3eji")
39-
width = 500
40-
height = 400
41-
fill = 1
42-
fill_from = Vector2(0.5, 0.5)
43-
44-
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_m2ei0"]
45-
texture = SubResource("GradientTexture2D_ayidx")
34+
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0ldbu"]
35+
bg_color = Color(0, 0, 0, 0.196078)
4636

4737
[resource]
4838
Button/styles/focus = SubResource("StyleBoxEmpty_vs2pc")
@@ -52,5 +42,4 @@ Button/styles/pressed = ExtResource("2_xsdux")
5242
HSlider/styles/grabber_area = SubResource("StyleBoxFlat_cevqf")
5343
HSlider/styles/slider = SubResource("StyleBoxFlat_xsdux")
5444
LineEdit/styles/focus = SubResource("StyleBoxEmpty_cevqf")
55-
LineEdit/styles/normal = ExtResource("1_tk1xn")
56-
PanelContainer/styles/panel = SubResource("StyleBoxTexture_m2ei0")
45+
PanelContainer/styles/panel = SubResource("StyleBoxFlat_0ldbu")

Framework/Theme/NormalButton.tres

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
[resource]
44
content_margin_left = 10.0
55
content_margin_right = 10.0
6-
bg_color = Color(0.284913, 0.436644, 1, 1)
6+
bg_color = Color(0.389287, 0.389287, 0.389287, 1)
77
border_width_bottom = 5
8-
border_color = Color(0.108036, 7.23886e-05, 0.802818, 1)
8+
border_color = Color(0.0923971, 0.0923971, 0.0923971, 1)
99
corner_radius_top_left = 10
1010
corner_radius_top_right = 10
1111
corner_radius_bottom_right = 10

0 commit comments

Comments
 (0)