From a4b9a04763bb60c45300a267778f6586e43ce454 Mon Sep 17 00:00:00 2001 From: dam Date: Wed, 8 Jun 2022 21:49:45 +0000 Subject: Preparing project for day/night themes. --- themes/dark.tres | 126 ------------------------------------------------------ themes/day.tres | 126 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ themes/night.tres | 126 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 252 insertions(+), 126 deletions(-) delete mode 100644 themes/dark.tres create mode 100644 themes/day.tres create mode 100644 themes/night.tres (limited to 'themes') diff --git a/themes/dark.tres b/themes/dark.tres deleted file mode 100644 index 875ee21..0000000 --- a/themes/dark.tres +++ /dev/null @@ -1,126 +0,0 @@ -[gd_resource type="Theme" load_steps=17 format=2] - -[ext_resource path="res://fonts/font_regular.tres" type="DynamicFont" id=1] -[ext_resource path="res://fonts/font_mono_regular.tres" type="DynamicFont" id=2] - -[sub_resource type="StyleBoxEmpty" id=10] -content_margin_left = 10.0 -content_margin_right = 10.0 - -[sub_resource type="StyleBoxFlat" id=11] -content_margin_left = 10.0 -content_margin_right = 10.0 -bg_color = Color( 0.223529, 0.352941, 0.501961, 0.784314 ) -corner_radius_top_left = 15 -corner_radius_top_right = 15 -corner_radius_bottom_right = 15 -corner_radius_bottom_left = 15 - -[sub_resource type="StyleBoxFlat" id=2] -content_margin_left = 10.0 -content_margin_right = 10.0 -bg_color = Color( 0.25098, 0.25098, 0.25098, 0.870588 ) -corner_radius_top_left = 15 -corner_radius_top_right = 15 -corner_radius_bottom_right = 15 -corner_radius_bottom_left = 15 - -[sub_resource type="StyleBoxFlat" id=4] -content_margin_left = 10.0 -content_margin_right = 10.0 -bg_color = Color( 0.337255, 0.529412, 0.74902, 0.870588 ) -corner_radius_top_left = 15 -corner_radius_top_right = 15 -corner_radius_bottom_right = 15 -corner_radius_bottom_left = 15 - -[sub_resource type="StyleBoxEmpty" id=5] - -[sub_resource type="StyleBoxEmpty" id=21] -content_margin_left = 10.0 -content_margin_right = 10.0 -content_margin_top = 15.0 - -[sub_resource type="StyleBoxFlat" id=9] -content_margin_left = 10.0 -content_margin_right = 10.0 -bg_color = Color( 0, 0, 0, 0 ) -draw_center = false -border_width_bottom = 4 -border_color = Color( 0.337255, 0.529412, 0.74902, 0.870588 ) - -[sub_resource type="StyleBoxFlat" id=7] -content_margin_left = 10.0 -content_margin_right = 10.0 -bg_color = Color( 0, 0, 0, 0 ) -draw_center = false -border_width_bottom = 2 -border_color = Color( 0.329412, 0.329412, 0.329412, 1 ) - -[sub_resource type="StyleBoxFlat" id=12] -bg_color = Color( 0.15, 0.15, 0.15, 1 ) -corner_radius_top_left = 15 -corner_radius_top_right = 15 -corner_radius_bottom_right = 15 -corner_radius_bottom_left = 15 - -[sub_resource type="StyleBoxFlat" id=20] -bg_color = Color( 0.223529, 0.352941, 0.501961, 0.784314 ) -corner_radius_top_left = 15 -corner_radius_top_right = 15 -corner_radius_bottom_right = 15 -corner_radius_bottom_left = 15 - -[sub_resource type="StyleBoxFlat" id=13] -content_margin_left = 20.0 -content_margin_right = 20.0 -content_margin_top = 10.0 -content_margin_bottom = 10.0 -bg_color = Color( 0.15, 0.15, 0.15, 1 ) -corner_radius_top_left = 15 -corner_radius_top_right = 15 -corner_radius_bottom_right = 15 -corner_radius_bottom_left = 15 - -[sub_resource type="StyleBoxFlat" id=18] -bg_color = Color( 0.223529, 0.352941, 0.501961, 0.784314 ) -corner_radius_top_left = 10 -corner_radius_top_right = 10 -corner_radius_bottom_right = 10 -corner_radius_bottom_left = 10 - -[sub_resource type="StyleBoxFlat" id=19] -bg_color = Color( 0.337255, 0.529412, 0.74902, 0.870588 ) -corner_radius_top_left = 10 -corner_radius_top_right = 10 -corner_radius_bottom_right = 10 -corner_radius_bottom_left = 10 - -[sub_resource type="StyleBoxEmpty" id=17] -content_margin_left = 20.0 - -[resource] -default_font = ExtResource( 1 ) -Button/styles/disabled = SubResource( 10 ) -Button/styles/focus = SubResource( 10 ) -Button/styles/hover = SubResource( 11 ) -Button/styles/normal = SubResource( 2 ) -Button/styles/pressed = SubResource( 4 ) -ItemList/fonts/font = ExtResource( 2 ) -ItemList/styles/bg = SubResource( 5 ) -ItemList/styles/selected = SubResource( 4 ) -ItemList/styles/selected_focus = SubResource( 4 ) -Label/styles/normal = SubResource( 21 ) -LineEdit/styles/focus = SubResource( 9 ) -LineEdit/styles/normal = SubResource( 7 ) -LineEdit/styles/read_only = null -Panel/styles/panel = SubResource( 12 ) -PopupMenu/constants/vseparation = 20 -PopupMenu/styles/hover = SubResource( 20 ) -PopupMenu/styles/panel = SubResource( 13 ) -VBoxContainer/constants/separation = 10 -VScrollBar/styles/grabber = SubResource( 18 ) -VScrollBar/styles/grabber_highlight = SubResource( 18 ) -VScrollBar/styles/grabber_pressed = SubResource( 19 ) -VScrollBar/styles/scroll = SubResource( 17 ) -VScrollBar/styles/scroll_focus = SubResource( 17 ) diff --git a/themes/day.tres b/themes/day.tres new file mode 100644 index 0000000..875ee21 --- /dev/null +++ b/themes/day.tres @@ -0,0 +1,126 @@ +[gd_resource type="Theme" load_steps=17 format=2] + +[ext_resource path="res://fonts/font_regular.tres" type="DynamicFont" id=1] +[ext_resource path="res://fonts/font_mono_regular.tres" type="DynamicFont" id=2] + +[sub_resource type="StyleBoxEmpty" id=10] +content_margin_left = 10.0 +content_margin_right = 10.0 + +[sub_resource type="StyleBoxFlat" id=11] +content_margin_left = 10.0 +content_margin_right = 10.0 +bg_color = Color( 0.223529, 0.352941, 0.501961, 0.784314 ) +corner_radius_top_left = 15 +corner_radius_top_right = 15 +corner_radius_bottom_right = 15 +corner_radius_bottom_left = 15 + +[sub_resource type="StyleBoxFlat" id=2] +content_margin_left = 10.0 +content_margin_right = 10.0 +bg_color = Color( 0.25098, 0.25098, 0.25098, 0.870588 ) +corner_radius_top_left = 15 +corner_radius_top_right = 15 +corner_radius_bottom_right = 15 +corner_radius_bottom_left = 15 + +[sub_resource type="StyleBoxFlat" id=4] +content_margin_left = 10.0 +content_margin_right = 10.0 +bg_color = Color( 0.337255, 0.529412, 0.74902, 0.870588 ) +corner_radius_top_left = 15 +corner_radius_top_right = 15 +corner_radius_bottom_right = 15 +corner_radius_bottom_left = 15 + +[sub_resource type="StyleBoxEmpty" id=5] + +[sub_resource type="StyleBoxEmpty" id=21] +content_margin_left = 10.0 +content_margin_right = 10.0 +content_margin_top = 15.0 + +[sub_resource type="StyleBoxFlat" id=9] +content_margin_left = 10.0 +content_margin_right = 10.0 +bg_color = Color( 0, 0, 0, 0 ) +draw_center = false +border_width_bottom = 4 +border_color = Color( 0.337255, 0.529412, 0.74902, 0.870588 ) + +[sub_resource type="StyleBoxFlat" id=7] +content_margin_left = 10.0 +content_margin_right = 10.0 +bg_color = Color( 0, 0, 0, 0 ) +draw_center = false +border_width_bottom = 2 +border_color = Color( 0.329412, 0.329412, 0.329412, 1 ) + +[sub_resource type="StyleBoxFlat" id=12] +bg_color = Color( 0.15, 0.15, 0.15, 1 ) +corner_radius_top_left = 15 +corner_radius_top_right = 15 +corner_radius_bottom_right = 15 +corner_radius_bottom_left = 15 + +[sub_resource type="StyleBoxFlat" id=20] +bg_color = Color( 0.223529, 0.352941, 0.501961, 0.784314 ) +corner_radius_top_left = 15 +corner_radius_top_right = 15 +corner_radius_bottom_right = 15 +corner_radius_bottom_left = 15 + +[sub_resource type="StyleBoxFlat" id=13] +content_margin_left = 20.0 +content_margin_right = 20.0 +content_margin_top = 10.0 +content_margin_bottom = 10.0 +bg_color = Color( 0.15, 0.15, 0.15, 1 ) +corner_radius_top_left = 15 +corner_radius_top_right = 15 +corner_radius_bottom_right = 15 +corner_radius_bottom_left = 15 + +[sub_resource type="StyleBoxFlat" id=18] +bg_color = Color( 0.223529, 0.352941, 0.501961, 0.784314 ) +corner_radius_top_left = 10 +corner_radius_top_right = 10 +corner_radius_bottom_right = 10 +corner_radius_bottom_left = 10 + +[sub_resource type="StyleBoxFlat" id=19] +bg_color = Color( 0.337255, 0.529412, 0.74902, 0.870588 ) +corner_radius_top_left = 10 +corner_radius_top_right = 10 +corner_radius_bottom_right = 10 +corner_radius_bottom_left = 10 + +[sub_resource type="StyleBoxEmpty" id=17] +content_margin_left = 20.0 + +[resource] +default_font = ExtResource( 1 ) +Button/styles/disabled = SubResource( 10 ) +Button/styles/focus = SubResource( 10 ) +Button/styles/hover = SubResource( 11 ) +Button/styles/normal = SubResource( 2 ) +Button/styles/pressed = SubResource( 4 ) +ItemList/fonts/font = ExtResource( 2 ) +ItemList/styles/bg = SubResource( 5 ) +ItemList/styles/selected = SubResource( 4 ) +ItemList/styles/selected_focus = SubResource( 4 ) +Label/styles/normal = SubResource( 21 ) +LineEdit/styles/focus = SubResource( 9 ) +LineEdit/styles/normal = SubResource( 7 ) +LineEdit/styles/read_only = null +Panel/styles/panel = SubResource( 12 ) +PopupMenu/constants/vseparation = 20 +PopupMenu/styles/hover = SubResource( 20 ) +PopupMenu/styles/panel = SubResource( 13 ) +VBoxContainer/constants/separation = 10 +VScrollBar/styles/grabber = SubResource( 18 ) +VScrollBar/styles/grabber_highlight = SubResource( 18 ) +VScrollBar/styles/grabber_pressed = SubResource( 19 ) +VScrollBar/styles/scroll = SubResource( 17 ) +VScrollBar/styles/scroll_focus = SubResource( 17 ) diff --git a/themes/night.tres b/themes/night.tres new file mode 100644 index 0000000..875ee21 --- /dev/null +++ b/themes/night.tres @@ -0,0 +1,126 @@ +[gd_resource type="Theme" load_steps=17 format=2] + +[ext_resource path="res://fonts/font_regular.tres" type="DynamicFont" id=1] +[ext_resource path="res://fonts/font_mono_regular.tres" type="DynamicFont" id=2] + +[sub_resource type="StyleBoxEmpty" id=10] +content_margin_left = 10.0 +content_margin_right = 10.0 + +[sub_resource type="StyleBoxFlat" id=11] +content_margin_left = 10.0 +content_margin_right = 10.0 +bg_color = Color( 0.223529, 0.352941, 0.501961, 0.784314 ) +corner_radius_top_left = 15 +corner_radius_top_right = 15 +corner_radius_bottom_right = 15 +corner_radius_bottom_left = 15 + +[sub_resource type="StyleBoxFlat" id=2] +content_margin_left = 10.0 +content_margin_right = 10.0 +bg_color = Color( 0.25098, 0.25098, 0.25098, 0.870588 ) +corner_radius_top_left = 15 +corner_radius_top_right = 15 +corner_radius_bottom_right = 15 +corner_radius_bottom_left = 15 + +[sub_resource type="StyleBoxFlat" id=4] +content_margin_left = 10.0 +content_margin_right = 10.0 +bg_color = Color( 0.337255, 0.529412, 0.74902, 0.870588 ) +corner_radius_top_left = 15 +corner_radius_top_right = 15 +corner_radius_bottom_right = 15 +corner_radius_bottom_left = 15 + +[sub_resource type="StyleBoxEmpty" id=5] + +[sub_resource type="StyleBoxEmpty" id=21] +content_margin_left = 10.0 +content_margin_right = 10.0 +content_margin_top = 15.0 + +[sub_resource type="StyleBoxFlat" id=9] +content_margin_left = 10.0 +content_margin_right = 10.0 +bg_color = Color( 0, 0, 0, 0 ) +draw_center = false +border_width_bottom = 4 +border_color = Color( 0.337255, 0.529412, 0.74902, 0.870588 ) + +[sub_resource type="StyleBoxFlat" id=7] +content_margin_left = 10.0 +content_margin_right = 10.0 +bg_color = Color( 0, 0, 0, 0 ) +draw_center = false +border_width_bottom = 2 +border_color = Color( 0.329412, 0.329412, 0.329412, 1 ) + +[sub_resource type="StyleBoxFlat" id=12] +bg_color = Color( 0.15, 0.15, 0.15, 1 ) +corner_radius_top_left = 15 +corner_radius_top_right = 15 +corner_radius_bottom_right = 15 +corner_radius_bottom_left = 15 + +[sub_resource type="StyleBoxFlat" id=20] +bg_color = Color( 0.223529, 0.352941, 0.501961, 0.784314 ) +corner_radius_top_left = 15 +corner_radius_top_right = 15 +corner_radius_bottom_right = 15 +corner_radius_bottom_left = 15 + +[sub_resource type="StyleBoxFlat" id=13] +content_margin_left = 20.0 +content_margin_right = 20.0 +content_margin_top = 10.0 +content_margin_bottom = 10.0 +bg_color = Color( 0.15, 0.15, 0.15, 1 ) +corner_radius_top_left = 15 +corner_radius_top_right = 15 +corner_radius_bottom_right = 15 +corner_radius_bottom_left = 15 + +[sub_resource type="StyleBoxFlat" id=18] +bg_color = Color( 0.223529, 0.352941, 0.501961, 0.784314 ) +corner_radius_top_left = 10 +corner_radius_top_right = 10 +corner_radius_bottom_right = 10 +corner_radius_bottom_left = 10 + +[sub_resource type="StyleBoxFlat" id=19] +bg_color = Color( 0.337255, 0.529412, 0.74902, 0.870588 ) +corner_radius_top_left = 10 +corner_radius_top_right = 10 +corner_radius_bottom_right = 10 +corner_radius_bottom_left = 10 + +[sub_resource type="StyleBoxEmpty" id=17] +content_margin_left = 20.0 + +[resource] +default_font = ExtResource( 1 ) +Button/styles/disabled = SubResource( 10 ) +Button/styles/focus = SubResource( 10 ) +Button/styles/hover = SubResource( 11 ) +Button/styles/normal = SubResource( 2 ) +Button/styles/pressed = SubResource( 4 ) +ItemList/fonts/font = ExtResource( 2 ) +ItemList/styles/bg = SubResource( 5 ) +ItemList/styles/selected = SubResource( 4 ) +ItemList/styles/selected_focus = SubResource( 4 ) +Label/styles/normal = SubResource( 21 ) +LineEdit/styles/focus = SubResource( 9 ) +LineEdit/styles/normal = SubResource( 7 ) +LineEdit/styles/read_only = null +Panel/styles/panel = SubResource( 12 ) +PopupMenu/constants/vseparation = 20 +PopupMenu/styles/hover = SubResource( 20 ) +PopupMenu/styles/panel = SubResource( 13 ) +VBoxContainer/constants/separation = 10 +VScrollBar/styles/grabber = SubResource( 18 ) +VScrollBar/styles/grabber_highlight = SubResource( 18 ) +VScrollBar/styles/grabber_pressed = SubResource( 19 ) +VScrollBar/styles/scroll = SubResource( 17 ) +VScrollBar/styles/scroll_focus = SubResource( 17 ) -- cgit v1.2.3