1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-19 01:29:49 +00:00

Renamed Light Theme to Gold Theme

A new light theme (which will probably be less yellow-y) will be added.
This commit is contained in:
OverloadedOrama 2019-12-21 01:33:02 +02:00
parent 22a2b4133e
commit e69000b13d
5 changed files with 8 additions and 8 deletions

View file

@ -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"]

View file

@ -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