From c088e83b71b4e892a3737d987639041ca2556d7b Mon Sep 17 00:00:00 2001 From: Sofia Date: Thu, 30 Jul 2026 21:47:54 +0300 Subject: [PATCH] Tweak themes --- godot/default_theme.tres | 14 +++++++++++--- .../Vector/Extra/panel_rectangle.svg.import | 2 +- godot/scenes/lobby.tscn | 12 ++++++++---- 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/godot/default_theme.tres b/godot/default_theme.tres index 52cbbca..1dd0706 100644 --- a/godot/default_theme.tres +++ b/godot/default_theme.tres @@ -1,7 +1,7 @@ [gd_resource type="Theme" format=3 uid="uid://drydbnrcdv4pk"] [ext_resource type="FontFile" uid="uid://hptdnjg4ec58" path="res://font/static/SpaceGrotesk-Medium.ttf" id="1_e7bfs"] -[ext_resource type="Texture2D" uid="uid://bfgi8ede3thtm" path="res://raw_assets/ui_pack/Vector/Extra/panel_glass.svg" id="2_50bnw"] +[ext_resource type="Texture2D" uid="uid://dvrcbukia04ae" path="res://raw_assets/ui_pack/PNG/Extra/Default/panel_glass.png" id="2_50bnw"] [ext_resource type="Texture2D" uid="uid://bkn85nst4nats" path="res://raw_assets/ui_pack/Vector/Extra/panel_square.svg" id="2_cefca"] [sub_resource type="StyleBoxTexture" id="StyleBoxTexture_meo00"] @@ -74,8 +74,15 @@ texture_margin_left = 6.0 texture_margin_top = 6.0 texture_margin_right = 6.0 texture_margin_bottom = 6.0 -region_rect = Rect2(-1, 0, 65, 64) -modulate_color = Color(0.24115604, 0.24115604, 0.24115604, 1) +modulate_color = Color(0.23921569, 0.23921569, 0.23921569, 1) + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_pm3ni"] +texture = ExtResource("2_50bnw") +texture_margin_left = 6.0 +texture_margin_top = 6.0 +texture_margin_right = 6.0 +texture_margin_bottom = 6.0 +modulate_color = Color(0.25882354, 0.25882354, 0.25882354, 1) [sub_resource type="StyleBoxTexture" id="StyleBoxTexture_h8adi"] texture = ExtResource("2_cefca") @@ -96,4 +103,5 @@ LineEdit/styles/focus = SubResource("StyleBoxTexture_4dgt1") LineEdit/styles/normal = SubResource("StyleBoxTexture_u7cj8") LineEdit/styles/read_only = SubResource("StyleBoxTexture_v0r2u") Panel/styles/panel = SubResource("StyleBoxTexture_7j863") +PanelContainer/styles/panel = SubResource("StyleBoxTexture_pm3ni") TextEdit/styles/normal = SubResource("StyleBoxTexture_h8adi") diff --git a/godot/raw_assets/ui_pack/Vector/Extra/panel_rectangle.svg.import b/godot/raw_assets/ui_pack/Vector/Extra/panel_rectangle.svg.import index 1dd38e3..13f76a0 100644 --- a/godot/raw_assets/ui_pack/Vector/Extra/panel_rectangle.svg.import +++ b/godot/raw_assets/ui_pack/Vector/Extra/panel_rectangle.svg.import @@ -38,6 +38,6 @@ process/hdr_as_srgb=false process/hdr_clamp_exposure=false process/size_limit=0 detect_3d/compress_to=1 -svg/scale=1.0 +svg/scale=5.0 editor/scale_with_editor_scale=false editor/convert_colors_with_editor_theme=false diff --git a/godot/scenes/lobby.tscn b/godot/scenes/lobby.tscn index 5ef8e61..4444c45 100644 --- a/godot/scenes/lobby.tscn +++ b/godot/scenes/lobby.tscn @@ -21,6 +21,9 @@ [ext_resource type="PackedScene" uid="uid://c1r8nk58cci3a" path="res://scenes/misc/goal.tscn" id="17_wpcbs"] [ext_resource type="PackedScene" uid="uid://dov2eh5u4ypnx" path="res://scenes/misc/health_pickup.tscn" id="18_ierb3"] +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_7j863"] +bg_color = Color(0.06469653, 0.064696535, 0.06469648, 0.34901962) + [sub_resource type="LabelSettings" id="LabelSettings_1cgct"] font_size = 32 @@ -1400,6 +1403,7 @@ anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme = ExtResource("3_dfnwm") +theme_override_styles/panel = SubResource("StyleBoxFlat_7j863") [node name="label" type="Label" parent="lobby" unique_id=1445541926] layout_mode = 1 @@ -1448,10 +1452,10 @@ layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 -offset_left = -857.0 -offset_top = 513.0 -offset_right = -557.0 -offset_bottom = 613.0 +offset_left = -398.0 +offset_top = 148.0 +offset_right = -98.0 +offset_bottom = 248.0 grow_horizontal = 0 [node name="option_button" type="OptionButton" parent="lobby/v_box_container2" unique_id=426342653]