Updating Themeing

This commit is contained in:
Snoweuph 2023-04-02 22:24:12 +02:00
parent 3037c1fce0
commit a3fb53b4ec
3 changed files with 220 additions and 185 deletions

File diff suppressed because one or more lines are too long

View file

@ -6,10 +6,10 @@
[sub_resource type="Resource" id="Resource_22g0s"] [sub_resource type="Resource" id="Resource_22g0s"]
script = ExtResource("3_gnesl") script = ExtResource("3_gnesl")
empty = Color(0.2, 0.247059, 0.180392, 1) empty = Color(0.294118, 0.337255, 0.301961, 1)
snake_head = Color(0.517647, 0.803922, 0.647059, 1) snake_head = Color(0.603922, 0.647059, 0.486275, 1)
snake_body = Color(0.262745, 0.486275, 0.368627, 1) snake_body = Color(0.603922, 0.647059, 0.486275, 1)
apple = Color(0.941176, 0.396078, 0.396078, 1) apple = Color(0.878431, 0.913725, 0.768627, 1)
[node name="Node2D" type="Control"] [node name="Node2D" type="Control"]
layout_mode = 3 layout_mode = 3
@ -44,6 +44,6 @@ theme_override_constants/h_separation = 5
theme_override_constants/v_separation = 5 theme_override_constants/v_separation = 5
columns = 2 columns = 2
script = ExtResource("1_lps27") script = ExtResource("1_lps27")
map_size = 25 map_size = 10
texture = ExtResource("2_wiemx") texture = ExtResource("2_wiemx")
tile_color = SubResource("Resource_22g0s") tile_color = SubResource("Resource_22g0s")

View file

@ -20,7 +20,7 @@ anchor_bottom = 1.0
grow_horizontal = 2 grow_horizontal = 2
grow_vertical = 2 grow_vertical = 2
theme = ExtResource("1_b1d2h") theme = ExtResource("1_b1d2h")
color = Color(0.262745, 0.321569, 0.239216, 1) color = Color(0.145098, 0.145098, 0.145098, 1)
[node name="MarginContainer" type="MarginContainer" parent="."] [node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 1 layout_mode = 1
@ -41,6 +41,7 @@ layout_mode = 2
layout_mode = 2 layout_mode = 2
size_flags_vertical = 2 size_flags_vertical = 2
theme = ExtResource("1_b1d2h") theme = ExtResource("1_b1d2h")
theme_override_colors/font_color = Color(0.603922, 0.647059, 0.486275, 1)
theme_override_font_sizes/font_size = 128 theme_override_font_sizes/font_size = 128
text = "Snake" text = "Snake"
horizontal_alignment = 1 horizontal_alignment = 1