From e69000b13d4d6e88cda51c72048fa738f07d5ed4 Mon Sep 17 00:00:00 2001 From: OverloadedOrama <35376950+OverloadedOrama@users.noreply.github.com> Date: Sat, 21 Dec 2019 01:33:02 +0200 Subject: [PATCH] Renamed Light Theme to Gold Theme A new light theme (which will probably be less yellow-y) will be added. --- Prefabs/PreferencesDialog.tscn | 8 ++++---- Scripts/PreferencesDialog.gd | 8 ++++---- .../Light Theme.tres => Gold Theme/Gold Theme.tres} | 0 .../GoldRulerStyle.tres} | 0 .../GoldTopMenuStyle.tres} | 0 5 files changed, 8 insertions(+), 8 deletions(-) rename Themes & Styles/{Light Theme/Light Theme.tres => Gold Theme/Gold Theme.tres} (100%) rename Themes & Styles/{Light Theme/LightRulerStyle.tres => Gold Theme/GoldRulerStyle.tres} (100%) rename Themes & Styles/{Light Theme/LightTopMenuStyle.tres => Gold Theme/GoldTopMenuStyle.tres} (100%) diff --git a/Prefabs/PreferencesDialog.tscn b/Prefabs/PreferencesDialog.tscn index 019759e..2bbddf1 100644 --- a/Prefabs/PreferencesDialog.tscn +++ b/Prefabs/PreferencesDialog.tscn @@ -12,10 +12,10 @@ script = ExtResource( 1 ) [node name="VBoxContainer" type="VBoxContainer" parent="."] anchor_left = 0.5 anchor_right = 0.5 -margin_left = -109.0 +margin_left = -92.0 margin_top = 8.0 -margin_right = 109.0 -margin_bottom = 150.0 +margin_right = 92.0 +margin_bottom = 34.0 [node name="OptionsContainer" type="GridContainer" parent="VBoxContainer"] margin_right = 218.0 @@ -48,7 +48,7 @@ margin_top = 24.0 margin_right = 218.0 margin_bottom = 44.0 text = "Dark" -items = [ "Dark", null, false, 0, null, "Gray", null, false, 1, null, "Godot", null, false, 2, null, "Light", null, false, 3, null ] +items = [ "Dark", null, false, 0, null, "Gray", null, false, 1, null, "Godot", null, false, 2, null, "Gold", null, false, 3, null ] selected = 0 [node name="GridOptionsLabel" type="Label" parent="VBoxContainer"] diff --git a/Scripts/PreferencesDialog.gd b/Scripts/PreferencesDialog.gd index ea1f20a..8e94f55 100644 --- a/Scripts/PreferencesDialog.gd +++ b/Scripts/PreferencesDialog.gd @@ -42,10 +42,10 @@ func change_theme(ID : int) -> void: main_theme = preload("res://Themes & Styles/Godot\'s Theme/Godot\'s Theme.tres") top_menu_style = preload("res://Themes & Styles/Godot\'s Theme/TopMenuStyle.tres") ruler_style = preload("res://Themes & Styles/Godot\'s Theme/RulerStyle.tres") - elif ID == 3: #Light Theme - main_theme = preload("res://Themes & Styles/Light Theme/Light Theme.tres") - top_menu_style = preload("res://Themes & Styles/Light Theme/LightTopMenuStyle.tres") - ruler_style = preload("res://Themes & Styles/Light Theme/LightRulerStyle.tres") + elif ID == 3: #Gold Theme + main_theme = preload("res://Themes & Styles/Gold Theme/Gold Theme.tres") + top_menu_style = preload("res://Themes & Styles/Gold Theme/GoldTopMenuStyle.tres") + ruler_style = preload("res://Themes & Styles/Gold Theme/GoldRulerStyle.tres") Global.control.theme = main_theme Global.control.theme.default_font = font diff --git a/Themes & Styles/Light Theme/Light Theme.tres b/Themes & Styles/Gold Theme/Gold Theme.tres similarity index 100% rename from Themes & Styles/Light Theme/Light Theme.tres rename to Themes & Styles/Gold Theme/Gold Theme.tres diff --git a/Themes & Styles/Light Theme/LightRulerStyle.tres b/Themes & Styles/Gold Theme/GoldRulerStyle.tres similarity index 100% rename from Themes & Styles/Light Theme/LightRulerStyle.tres rename to Themes & Styles/Gold Theme/GoldRulerStyle.tres diff --git a/Themes & Styles/Light Theme/LightTopMenuStyle.tres b/Themes & Styles/Gold Theme/GoldTopMenuStyle.tres similarity index 100% rename from Themes & Styles/Light Theme/LightTopMenuStyle.tres rename to Themes & Styles/Gold Theme/GoldTopMenuStyle.tres