From 8ae54459a5d47bfd0f795a6ec79060d6fdf5d700 Mon Sep 17 00:00:00 2001 From: David Date: Sun, 17 Jul 2022 16:42:33 +0200 Subject: fix fonts --- godot/assets/fonts/format.tres | 2 +- godot/assets/fonts/theme_bigtext.tres | 50 +++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 godot/assets/fonts/theme_bigtext.tres (limited to 'godot/assets') diff --git a/godot/assets/fonts/format.tres b/godot/assets/fonts/format.tres index 7fca71e..5897187 100644 --- a/godot/assets/fonts/format.tres +++ b/godot/assets/fonts/format.tres @@ -3,5 +3,5 @@ [ext_resource path="res://assets/fonts/format.otf" type="DynamicFontData" id=1] [resource] -size = 89 +size = 55 font_data = ExtResource( 1 ) diff --git a/godot/assets/fonts/theme_bigtext.tres b/godot/assets/fonts/theme_bigtext.tres new file mode 100644 index 0000000..c2206b6 --- /dev/null +++ b/godot/assets/fonts/theme_bigtext.tres @@ -0,0 +1,50 @@ +[gd_resource type="Theme" load_steps=10 format=2] + +[ext_resource path="res://assets/fonts/format.otf" type="DynamicFontData" id=1] + +[sub_resource type="DynamicFont" id=1] +size = 55 +extra_spacing_bottom = -15 +font_data = ExtResource( 1 ) + +[sub_resource type="StyleBoxFlat" id=2] +content_margin_top = 10.0 +content_margin_bottom = 10.0 +bg_color = Color( 0.4, 0.337255, 0.313726, 0.32549 ) + +[sub_resource type="StyleBoxFlat" id=3] +content_margin_top = 10.0 +content_margin_bottom = 10.0 +bg_color = Color( 0.176471, 0.14902, 0.141176, 1 ) + +[sub_resource type="StyleBoxFlat" id=4] +content_margin_top = 10.0 +content_margin_bottom = 10.0 +bg_color = Color( 0.4, 0.337255, 0.313726, 1 ) + +[sub_resource type="StyleBoxFlat" id=5] +content_margin_top = 20.0 +content_margin_bottom = 20.0 +bg_color = Color( 0.290196, 0.247059, 0.231373, 1 ) + +[sub_resource type="StyleBoxFlat" id=6] +content_margin_top = 10.0 +content_margin_bottom = 10.0 +bg_color = Color( 0.176471, 0.14902, 0.141176, 1 ) + +[sub_resource type="DynamicFont" id=8] +size = 86 +font_data = ExtResource( 1 ) + +[sub_resource type="StyleBoxFlat" id=7] +bg_color = Color( 0.160784, 0.133333, 0.133333, 1 ) + +[resource] +Button/fonts/font = SubResource( 1 ) +Button/styles/disabled = SubResource( 2 ) +Button/styles/focus = SubResource( 3 ) +Button/styles/hover = SubResource( 4 ) +Button/styles/normal = SubResource( 5 ) +Button/styles/pressed = SubResource( 6 ) +Label/fonts/font = SubResource( 8 ) +Panel/styles/panel = SubResource( 7 ) -- cgit