From a6db3baa872926c54418d89e2aa88c3cae2f14f2 Mon Sep 17 00:00:00 2001 From: Fabien Freling Date: Tue, 18 Feb 2025 13:59:44 +0100 Subject: [PATCH] add explicit theme --- README.md | 3 +++ godot/loaded.tscn | 4 +++- godot/project.godot | 1 + godot/theme.tres | 3 +++ 4 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 godot/theme.tres diff --git a/README.md b/README.md index 9984d33..973ccd1 100644 --- a/README.md +++ b/README.md @@ -9,3 +9,6 @@ * https://github.com/mitchellh/zig-overlay - https://github.com/bluesillybeard/ZigAndRaylibSetup - https://github.com/nrdmn/awesome-zig#web + +## Assets +Color palette from https://lospec.com/palette-list/fairydust-8 diff --git a/godot/loaded.tscn b/godot/loaded.tscn index 3dc91fb..02c9acd 100644 --- a/godot/loaded.tscn +++ b/godot/loaded.tscn @@ -1,6 +1,7 @@ -[gd_scene load_steps=2 format=3 uid="uid://h1sdn3cjclqi"] +[gd_scene load_steps=3 format=3 uid="uid://h1sdn3cjclqi"] [ext_resource type="Script" path="res://loaded.gd" id="1_ntmjw"] +[ext_resource type="Theme" uid="uid://bgc6fej502w0h" path="res://theme.tres" id="2_bnfav"] [node name="VBoxContainer" type="VBoxContainer"] anchors_preset = 15 @@ -36,6 +37,7 @@ theme_override_font_sizes/font_size = 1 [node name="PanelContainer2" type="PanelContainer" parent="."] layout_mode = 2 +theme = ExtResource("2_bnfav") [node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer2"] layout_mode = 2 diff --git a/godot/project.godot b/godot/project.godot index 81b55b9..1a9e9fb 100644 --- a/godot/project.godot +++ b/godot/project.godot @@ -35,3 +35,4 @@ enabled=PackedStringArray("res://addons/godot-sqlite/plugin.cfg") renderer/rendering_method="gl_compatibility" renderer/rendering_method.mobile="gl_compatibility" textures/vram_compression/import_etc2_astc=true +environment/defaults/default_clear_color=Color(0.941176, 0.964706, 0.909804, 1) diff --git a/godot/theme.tres b/godot/theme.tres new file mode 100644 index 0000000..8f710d2 --- /dev/null +++ b/godot/theme.tres @@ -0,0 +1,3 @@ +[gd_resource type="Theme" format=3 uid="uid://bgc6fej502w0h"] + +[resource]