diff options
| author | tpart <tpart120@proton.me> | 2024-06-26 23:05:05 +0200 | 
|---|---|---|
| committer | tpart <tpart120@proton.me> | 2024-06-26 23:05:05 +0200 | 
| commit | 1203401b95b388b785d24e9b5bc87e4ceaac6717 (patch) | |
| tree | d587562de26f744d5e9d350eaa78e090ab8866a7 /client/menu/theme | |
| parent | c44b0f63627c0e0e813e3dc44c1f9dd60e3c097c (diff) | |
| download | hurrycurry-1203401b95b388b785d24e9b5bc87e4ceaac6717.tar hurrycurry-1203401b95b388b785d24e9b5bc87e4ceaac6717.tar.bz2 hurrycurry-1203401b95b388b785d24e9b5bc87e4ceaac6717.tar.zst | |
Make menus more consistent; Use blur
Diffstat (limited to 'client/menu/theme')
| -rw-r--r-- | client/menu/theme/dark_blur_material.tres | 9 | ||||
| -rw-r--r-- | client/menu/theme/theme.tres | 14 | 
2 files changed, 22 insertions, 1 deletions
| diff --git a/client/menu/theme/dark_blur_material.tres b/client/menu/theme/dark_blur_material.tres new file mode 100644 index 00000000..7adbd0e4 --- /dev/null +++ b/client/menu/theme/dark_blur_material.tres @@ -0,0 +1,9 @@ +[gd_resource type="ShaderMaterial" load_steps=2 format=3 uid="uid://beea1pc5nt67r"] + +[ext_resource type="Shader" path="res://menu/blur_mix.gdshader" id="1_cynu0"] + +[resource] +shader = ExtResource("1_cynu0") +shader_parameter/blur_amount = 3.5 +shader_parameter/mix_amount = 0.3 +shader_parameter/color_over = null diff --git a/client/menu/theme/theme.tres b/client/menu/theme/theme.tres index 96cdbb19..467aa6d9 100644 --- a/client/menu/theme/theme.tres +++ b/client/menu/theme/theme.tres @@ -1,4 +1,4 @@ -[gd_resource type="Theme" load_steps=9 format=3 uid="uid://b0qmvo504e457"] +[gd_resource type="Theme" load_steps=10 format=3 uid="uid://b0qmvo504e457"]  [ext_resource type="FontFile" uid="uid://5ixo6b3bd3km" path="res://menu/theme/font-josefin-sans.woff2" id="1_f8qb0"]  [ext_resource type="StyleBox" uid="uid://b86kbd3pfkd5w" path="res://menu/theme/focus_style.tres" id="2_brg2c"] @@ -39,6 +39,13 @@ grow_begin = 0.0  grow_end = 0.0  thickness = 3 +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_sjrhv"] +bg_color = Color(0, 0, 0, 0.6) +corner_radius_top_left = 8 +corner_radius_top_right = 8 +corner_radius_bottom_right = 8 +corner_radius_bottom_left = 8 +  [sub_resource type="FontVariation" id="FontVariation_ff4nr"]  base_font = ExtResource("3_8u6ww")  variation_embolden = 0.7 @@ -57,6 +64,11 @@ Label/fonts/font = ExtResource("3_8u6ww")  LineEdit/styles/focus = ExtResource("2_brg2c")  LineEdit/styles/normal = SubResource("StyleBoxFlat_25x32")  LineEdit/styles/read_only = SubResource("StyleBoxFlat_25x32") +MarginContainer/constants/margin_bottom = 32 +MarginContainer/constants/margin_left = 32 +MarginContainer/constants/margin_right = 32 +MarginContainer/constants/margin_top = 32 +Panel/styles/panel = SubResource("StyleBoxFlat_sjrhv")  RichTextLabel/fonts/bold_font = SubResource("FontVariation_ff4nr")  RichTextLabel/fonts/bold_italics_font = null  RichTextLabel/fonts/italics_font = null | 
