diff --git a/project.godot b/project.godot index dd2dfd5..1788218 100644 --- a/project.godot +++ b/project.godot @@ -21,6 +21,10 @@ config/icon="res://icon.svg" window/stretch/mode="canvas_items" window/stretch/aspect="expand" +[gui] + +theme/custom="res://ui/game_theme.tres" + [input] move_forward={ diff --git a/ui/fonts/seattle_avenue.otf b/ui/fonts/seattle_avenue.otf new file mode 100644 index 0000000..57f51c1 Binary files /dev/null and b/ui/fonts/seattle_avenue.otf differ diff --git a/ui/fonts/seattle_avenue.otf.import b/ui/fonts/seattle_avenue.otf.import new file mode 100644 index 0000000..1c99fd8 --- /dev/null +++ b/ui/fonts/seattle_avenue.otf.import @@ -0,0 +1,36 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://ddbejmxpa3kw6" +path="res://.godot/imported/seattle_avenue.otf-6438e7427b67d392fd88ff9a0c47fc59.fontdata" + +[deps] + +source_file="res://ui/fonts/seattle_avenue.otf" +dest_files=["res://.godot/imported/seattle_avenue.otf-6438e7427b67d392fd88ff9a0c47fc59.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +disable_embedded_bitmaps=true +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +modulate_color_glyphs=false +hinting=3 +subpixel_positioning=4 +keep_rounding_remainders=true +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/ui/game_theme.tres b/ui/game_theme.tres index a8a88fa..1021bc8 100644 --- a/ui/game_theme.tres +++ b/ui/game_theme.tres @@ -1,4 +1,6 @@ -[gd_resource type="Theme" load_steps=12 format=3] +[gd_resource type="Theme" load_steps=13 format=3] + +[ext_resource type="FontFile" uid="uid://ddbejmxpa3kw6" path="res://ui/fonts/seattle_avenue.otf" id="1_font"] [sub_resource type="StyleBoxFlat" id="Panel"] bg_color = Color(0.075, 0.145, 0.17, 0.96) @@ -143,6 +145,7 @@ corner_radius_bottom_right = 6 corner_radius_bottom_left = 6 [resource] +default_font = ExtResource("1_font") default_font_size = 15 Label/colors/font_color = Color(0.956, 0.972, 0.976, 1) Label/colors/font_shadow_color = Color(0, 0, 0, 0)