summaryrefslogtreecommitdiff
path: root/Assets
diff options
context:
space:
mode:
authorSophia Pearson <codergal89@gmail.com>2022-09-04 12:43:37 +0200
committerSophia Pearson <codergal89@gmail.com>2022-09-04 12:43:37 +0200
commit6503e483766d3a4e1907ecd9b69e7db4e86e7cb6 (patch)
treecde6ecde91175b99ba610dff0ae16cdb720b0280 /Assets
parent461fec003cdf3144b2e0d97392edd090f457a555 (diff)
downloadtexty-6503e483766d3a4e1907ecd9b69e7db4e86e7cb6.tar.xz
texty-6503e483766d3a4e1907ecd9b69e7db4e86e7cb6.zip
gui: set up new default theme
Diffstat (limited to 'Assets')
-rw-r--r--Assets/Fonts/VT323Font24.tres1
-rw-r--r--Assets/Styles/DefaultFlatPanel.tres8
-rw-r--r--Assets/Styles/DefaultInvertedFlatPanel.tres8
-rw-r--r--Assets/Styles/GUIBox.tres12
-rw-r--r--Assets/Styles/GUIBoxDisabled.tres12
-rw-r--r--Assets/Styles/GUIBoxFocus.tres12
-rw-r--r--Assets/Styles/GUIBoxHover.tres12
-rw-r--r--Assets/Styles/GuiBoxPressed.tres12
-rw-r--r--Assets/Themes/Default.tres32
-rw-r--r--Assets/Themes/Texty.tres45
10 files changed, 49 insertions, 105 deletions
diff --git a/Assets/Fonts/VT323Font24.tres b/Assets/Fonts/VT323Font24.tres
index b2091a5..807c1d1 100644
--- a/Assets/Fonts/VT323Font24.tres
+++ b/Assets/Fonts/VT323Font24.tres
@@ -5,5 +5,6 @@ font_path = "res://Assets/Fonts/VT323-Regular.ttf"
[resource]
size = 24
+use_mipmaps = true
use_filter = true
font_data = SubResource( 1 )
diff --git a/Assets/Styles/DefaultFlatPanel.tres b/Assets/Styles/DefaultFlatPanel.tres
new file mode 100644
index 0000000..0e6999b
--- /dev/null
+++ b/Assets/Styles/DefaultFlatPanel.tres
@@ -0,0 +1,8 @@
+[gd_resource type="StyleBoxFlat" format=2]
+
+[resource]
+content_margin_left = 8.0
+content_margin_right = 8.0
+content_margin_top = 2.0
+content_margin_bottom = 2.0
+bg_color = Color( 0, 0, 0, 1 )
diff --git a/Assets/Styles/DefaultInvertedFlatPanel.tres b/Assets/Styles/DefaultInvertedFlatPanel.tres
new file mode 100644
index 0000000..4150cb5
--- /dev/null
+++ b/Assets/Styles/DefaultInvertedFlatPanel.tres
@@ -0,0 +1,8 @@
+[gd_resource type="StyleBoxFlat" format=2]
+
+[resource]
+content_margin_left = 8.0
+content_margin_right = 8.0
+content_margin_top = 2.0
+content_margin_bottom = 2.0
+bg_color = Color( 0, 0.956863, 0, 1 )
diff --git a/Assets/Styles/GUIBox.tres b/Assets/Styles/GUIBox.tres
deleted file mode 100644
index 81e3687..0000000
--- a/Assets/Styles/GUIBox.tres
+++ /dev/null
@@ -1,12 +0,0 @@
-[gd_resource type="StyleBoxFlat" format=2]
-
-[resource]
-content_margin_left = 8.0
-content_margin_right = 8.0
-content_margin_top = 8.0
-content_margin_bottom = 8.0
-bg_color = Color( 0.1, 0.1, 0.1, 0.627451 )
-corner_radius_top_left = 8
-corner_radius_top_right = 8
-corner_radius_bottom_right = 8
-corner_radius_bottom_left = 8
diff --git a/Assets/Styles/GUIBoxDisabled.tres b/Assets/Styles/GUIBoxDisabled.tres
deleted file mode 100644
index 81e3687..0000000
--- a/Assets/Styles/GUIBoxDisabled.tres
+++ /dev/null
@@ -1,12 +0,0 @@
-[gd_resource type="StyleBoxFlat" format=2]
-
-[resource]
-content_margin_left = 8.0
-content_margin_right = 8.0
-content_margin_top = 8.0
-content_margin_bottom = 8.0
-bg_color = Color( 0.1, 0.1, 0.1, 0.627451 )
-corner_radius_top_left = 8
-corner_radius_top_right = 8
-corner_radius_bottom_right = 8
-corner_radius_bottom_left = 8
diff --git a/Assets/Styles/GUIBoxFocus.tres b/Assets/Styles/GUIBoxFocus.tres
deleted file mode 100644
index 4681f62..0000000
--- a/Assets/Styles/GUIBoxFocus.tres
+++ /dev/null
@@ -1,12 +0,0 @@
-[gd_resource type="StyleBoxFlat" format=2]
-
-[resource]
-content_margin_left = 8.0
-content_margin_right = 8.0
-content_margin_top = 8.0
-content_margin_bottom = 8.0
-bg_color = Color( 0, 0, 0, 0.627451 )
-corner_radius_top_left = 8
-corner_radius_top_right = 8
-corner_radius_bottom_right = 8
-corner_radius_bottom_left = 8
diff --git a/Assets/Styles/GUIBoxHover.tres b/Assets/Styles/GUIBoxHover.tres
deleted file mode 100644
index 4681f62..0000000
--- a/Assets/Styles/GUIBoxHover.tres
+++ /dev/null
@@ -1,12 +0,0 @@
-[gd_resource type="StyleBoxFlat" format=2]
-
-[resource]
-content_margin_left = 8.0
-content_margin_right = 8.0
-content_margin_top = 8.0
-content_margin_bottom = 8.0
-bg_color = Color( 0, 0, 0, 0.627451 )
-corner_radius_top_left = 8
-corner_radius_top_right = 8
-corner_radius_bottom_right = 8
-corner_radius_bottom_left = 8
diff --git a/Assets/Styles/GuiBoxPressed.tres b/Assets/Styles/GuiBoxPressed.tres
deleted file mode 100644
index cedec54..0000000
--- a/Assets/Styles/GuiBoxPressed.tres
+++ /dev/null
@@ -1,12 +0,0 @@
-[gd_resource type="StyleBoxFlat" format=2]
-
-[resource]
-content_margin_left = 8.0
-content_margin_right = 8.0
-content_margin_top = 8.0
-content_margin_bottom = 8.0
-bg_color = Color( 0, 0, 0, 0.862745 )
-corner_radius_top_left = 8
-corner_radius_top_right = 8
-corner_radius_bottom_right = 8
-corner_radius_bottom_left = 8
diff --git a/Assets/Themes/Default.tres b/Assets/Themes/Default.tres
new file mode 100644
index 0000000..6faea67
--- /dev/null
+++ b/Assets/Themes/Default.tres
@@ -0,0 +1,32 @@
+[gd_resource type="Theme" load_steps=9 format=2]
+
+[ext_resource path="res://Assets/Styles/DefaultInvertedFlatPanel.tres" type="StyleBox" id=1]
+[ext_resource path="res://Assets/Styles/DefaultFlatPanel.tres" type="StyleBox" id=2]
+
+[sub_resource type="StyleBoxEmpty" id=3]
+
+[sub_resource type="StyleBoxEmpty" id=7]
+
+[sub_resource type="StyleBoxEmpty" id=1]
+
+[sub_resource type="StyleBoxEmpty" id=2]
+
+[sub_resource type="StyleBoxEmpty" id=5]
+
+[sub_resource type="StyleBoxEmpty" id=6]
+
+[resource]
+InvertedLabel/colors/font_color = Color( 0, 0, 0, 1 )
+InvertedPanelContainer/styles/panel = ExtResource( 1 )
+Label/colors/font_color = Color( 1, 1, 1, 1 )
+Label/styles/normal = SubResource( 3 )
+LineEdit/colors/cursor_color = Color( 0, 0, 0, 1 )
+LineEdit/colors/font_color = Color( 0, 0, 0, 1 )
+LineEdit/colors/font_color_uneditable = Color( 0.470588, 0.470588, 0.470588, 1 )
+LineEdit/styles/focus = SubResource( 7 )
+LineEdit/styles/normal = SubResource( 1 )
+LineEdit/styles/read_only = SubResource( 2 )
+PanelContainer/styles/panel = ExtResource( 2 )
+RichTextLabel/colors/default_color = Color( 0, 0.956863, 0, 1 )
+RichTextLabel/styles/focus = SubResource( 5 )
+RichTextLabel/styles/normal = SubResource( 6 )
diff --git a/Assets/Themes/Texty.tres b/Assets/Themes/Texty.tres
deleted file mode 100644
index 1f7d00c..0000000
--- a/Assets/Themes/Texty.tres
+++ /dev/null
@@ -1,45 +0,0 @@
-[gd_resource type="Theme" load_steps=7 format=2]
-
-[ext_resource path="res://Assets/Styles/GUIBoxDisabled.tres" type="StyleBox" id=1]
-[ext_resource path="res://Assets/Styles/GUIBoxFocus.tres" type="StyleBox" id=2]
-[ext_resource path="res://Assets/Styles/GuiBoxPressed.tres" type="StyleBox" id=3]
-[ext_resource path="res://Assets/Styles/GUIBoxHover.tres" type="StyleBox" id=4]
-[ext_resource path="res://Assets/Styles/GUIBox.tres" type="StyleBox" id=5]
-
-[sub_resource type="StyleBoxFlat" id=1]
-content_margin_left = 8.0
-content_margin_right = 8.0
-content_margin_top = 8.0
-content_margin_bottom = 8.0
-bg_color = Color( 0, 0, 0, 0.627451 )
-corner_radius_top_left = 8
-corner_radius_top_right = 8
-corner_radius_bottom_right = 8
-corner_radius_bottom_left = 8
-
-[resource]
-Button/colors/font_color = Color( 0.839216, 0.0117647, 0.439216, 1 )
-Button/colors/font_color_disabled = Color( 0.580392, 0.580392, 0.580392, 1 )
-Button/colors/font_color_focus = Color( 0.839216, 0.0117647, 0.439216, 1 )
-Button/colors/font_color_hover = Color( 0.929412, 0.0117647, 0.490196, 1 )
-Button/colors/font_color_pressed = Color( 0.929412, 0.0117647, 0.490196, 1 )
-Button/styles/disabled = ExtResource( 1 )
-Button/styles/focus = ExtResource( 2 )
-Button/styles/hover = SubResource( 1 )
-Button/styles/normal = ExtResource( 5 )
-Button/styles/pressed = ExtResource( 3 )
-Label/colors/font_color = Color( 0.839216, 0.00784314, 0.439216, 1 )
-LineEdit/colors/font_color = Color( 0.839216, 0.00784314, 0.439216, 1 )
-LineEdit/colors/font_color_uneditable = Color( 0.580392, 0.580392, 0.580392, 1 )
-LineEdit/styles/focus = ExtResource( 2 )
-LineEdit/styles/normal = ExtResource( 5 )
-LineEdit/styles/read_only = ExtResource( 1 )
-PanelContainer/styles/panel = ExtResource( 5 )
-ProgressBar/colors/font_color = Color( 0.839216, 0.0117647, 0.439216, 1 )
-ProgressBar/styles/bg = ExtResource( 5 )
-ProgressBar/styles/fg = ExtResource( 4 )
-TextEdit/colors/font_color = Color( 0.839216, 0.00784314, 0.439216, 1 )
-TextEdit/colors/font_color_readonly = Color( 0.580392, 0.580392, 0.580392, 1 )
-TextEdit/colors/font_color_selected = Color( 0, 0, 0, 1 )
-TextEdit/styles/focus = ExtResource( 2 )
-TextEdit/styles/normal = ExtResource( 5 )