From 6e2898dfc397600cab10758d779ca5b3a0dc6469 Mon Sep 17 00:00:00 2001 From: Ruslan Ignatov Date: Wed, 24 Dec 2025 15:18:07 +0300 Subject: [PATCH] Updated fonts for white version --- images/fonts/font16.png | 4 ++-- images/fonts/font16.png.import | 2 +- images/fonts/font8.png | 4 ++-- images/fonts/font8.png.import | 2 +- styles/menu_button.tres | 18 +++++++++--------- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/images/fonts/font16.png b/images/fonts/font16.png index 7e2f01d..658a949 100644 --- a/images/fonts/font16.png +++ b/images/fonts/font16.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:04b524dbe51a41f38d1df0a1e671a2d78330d38d486d857cc6b1047379816549 -size 2088 +oid sha256:b5fe6bf53384e1050b2ca8e6e3fb6274d94f2d1a4b5a9c98e3173a00a38ebb6c +size 2090 diff --git a/images/fonts/font16.png.import b/images/fonts/font16.png.import index c0052f5..afb4b04 100644 --- a/images/fonts/font16.png.import +++ b/images/fonts/font16.png.import @@ -22,4 +22,4 @@ ascent=0 descent=0 fallbacks=[] compress=true -scaling_mode=1 +scaling_mode=0 diff --git a/images/fonts/font8.png b/images/fonts/font8.png index 8db8dc7..af50f6d 100644 --- a/images/fonts/font8.png +++ b/images/fonts/font8.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fa50783f7efece3ee7b930098fd374c0e606f48838376dc77404a66e234a73e7 -size 840 +oid sha256:b7228f928f062c70f925192d4eb2bb04d52425f75961e396d6bcf3dbdc255516 +size 841 diff --git a/images/fonts/font8.png.import b/images/fonts/font8.png.import index 3bd1899..22c4130 100644 --- a/images/fonts/font8.png.import +++ b/images/fonts/font8.png.import @@ -22,4 +22,4 @@ ascent=0 descent=0 fallbacks=[] compress=true -scaling_mode=1 +scaling_mode=0 diff --git a/styles/menu_button.tres b/styles/menu_button.tres index 2df9890..0be28de 100644 --- a/styles/menu_button.tres +++ b/styles/menu_button.tres @@ -1,14 +1,14 @@ [gd_resource type="Theme" load_steps=8 format=3 uid="uid://dtnd3tqllufey"] -[ext_resource type="Texture2D" uid="uid://dhmquapac0fco" path="res://images/menu/menu_buttons.png" id="1_6mwof"] -[ext_resource type="FontFile" uid="uid://bw1vqxkgbaekh" path="res://images/fonts/font16.png" id="1_hwy2u"] +[ext_resource type="FontFile" uid="uid://bw1vqxkgbaekh" path="res://images/fonts/font16.png" id="1_5mv23"] +[ext_resource type="Texture2D" uid="uid://dhmquapac0fco" path="res://images/menu/menu_buttons.png" id="2_qxsgh"] [sub_resource type="StyleBoxTexture" id="StyleBoxTexture_6mwof"] content_margin_left = 10.0 content_margin_top = 10.0 content_margin_right = 10.0 content_margin_bottom = 10.0 -texture = ExtResource("1_6mwof") +texture = ExtResource("2_qxsgh") texture_margin_left = 8.0 texture_margin_top = 8.0 texture_margin_right = 8.0 @@ -20,7 +20,7 @@ content_margin_left = 10.0 content_margin_top = 10.0 content_margin_right = 10.0 content_margin_bottom = 10.0 -texture = ExtResource("1_6mwof") +texture = ExtResource("2_qxsgh") texture_margin_left = 8.0 texture_margin_top = 8.0 texture_margin_right = 8.0 @@ -32,7 +32,7 @@ content_margin_left = 10.0 content_margin_top = 10.0 content_margin_right = 10.0 content_margin_bottom = 10.0 -texture = ExtResource("1_6mwof") +texture = ExtResource("2_qxsgh") texture_margin_left = 8.0 texture_margin_top = 8.0 texture_margin_right = 8.0 @@ -44,7 +44,7 @@ content_margin_left = 10.0 content_margin_top = 10.0 content_margin_right = 10.0 content_margin_bottom = 10.0 -texture = ExtResource("1_6mwof") +texture = ExtResource("2_qxsgh") texture_margin_left = 8.0 texture_margin_top = 8.0 texture_margin_right = 8.0 @@ -56,7 +56,7 @@ content_margin_left = 10.0 content_margin_top = 10.0 content_margin_right = 10.0 content_margin_bottom = 10.0 -texture = ExtResource("1_6mwof") +texture = ExtResource("2_qxsgh") texture_margin_left = 8.0 texture_margin_top = 8.0 texture_margin_right = 8.0 @@ -64,7 +64,7 @@ texture_margin_bottom = 8.0 region_rect = Rect2(0, 32, 48, 32) [resource] -default_font = ExtResource("1_hwy2u") +default_font = ExtResource("1_5mv23") Button/colors/font_color = Color(1, 1, 1, 1) Button/colors/font_disabled_color = Color(1, 1, 1, 1) Button/colors/font_focus_color = Color(1, 1, 1, 1) @@ -83,7 +83,7 @@ Button/constants/h_separation = 4 Button/constants/icon_max_width = 0 Button/constants/outline_size = 0 Button/font_sizes/font_size = 16 -Button/fonts/font = ExtResource("1_hwy2u") +Button/fonts/font = ExtResource("1_5mv23") Button/styles/disabled = SubResource("StyleBoxTexture_6mwof") Button/styles/focus = SubResource("StyleBoxTexture_hwy2u") Button/styles/hover = SubResource("StyleBoxTexture_uvn35")