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:
parent
22a2b4133e
commit
e69000b13d
|
@ -12,10 +12,10 @@ script = ExtResource( 1 )
|
||||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||||
anchor_left = 0.5
|
anchor_left = 0.5
|
||||||
anchor_right = 0.5
|
anchor_right = 0.5
|
||||||
margin_left = -109.0
|
margin_left = -92.0
|
||||||
margin_top = 8.0
|
margin_top = 8.0
|
||||||
margin_right = 109.0
|
margin_right = 92.0
|
||||||
margin_bottom = 150.0
|
margin_bottom = 34.0
|
||||||
|
|
||||||
[node name="OptionsContainer" type="GridContainer" parent="VBoxContainer"]
|
[node name="OptionsContainer" type="GridContainer" parent="VBoxContainer"]
|
||||||
margin_right = 218.0
|
margin_right = 218.0
|
||||||
|
@ -48,7 +48,7 @@ margin_top = 24.0
|
||||||
margin_right = 218.0
|
margin_right = 218.0
|
||||||
margin_bottom = 44.0
|
margin_bottom = 44.0
|
||||||
text = "Dark"
|
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
|
selected = 0
|
||||||
|
|
||||||
[node name="GridOptionsLabel" type="Label" parent="VBoxContainer"]
|
[node name="GridOptionsLabel" type="Label" parent="VBoxContainer"]
|
||||||
|
|
|
@ -42,10 +42,10 @@ func change_theme(ID : int) -> void:
|
||||||
main_theme = preload("res://Themes & Styles/Godot\'s Theme/Godot\'s Theme.tres")
|
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")
|
top_menu_style = preload("res://Themes & Styles/Godot\'s Theme/TopMenuStyle.tres")
|
||||||
ruler_style = preload("res://Themes & Styles/Godot\'s Theme/RulerStyle.tres")
|
ruler_style = preload("res://Themes & Styles/Godot\'s Theme/RulerStyle.tres")
|
||||||
elif ID == 3: #Light Theme
|
elif ID == 3: #Gold Theme
|
||||||
main_theme = preload("res://Themes & Styles/Light Theme/Light Theme.tres")
|
main_theme = preload("res://Themes & Styles/Gold Theme/Gold Theme.tres")
|
||||||
top_menu_style = preload("res://Themes & Styles/Light Theme/LightTopMenuStyle.tres")
|
top_menu_style = preload("res://Themes & Styles/Gold Theme/GoldTopMenuStyle.tres")
|
||||||
ruler_style = preload("res://Themes & Styles/Light Theme/LightRulerStyle.tres")
|
ruler_style = preload("res://Themes & Styles/Gold Theme/GoldRulerStyle.tres")
|
||||||
|
|
||||||
Global.control.theme = main_theme
|
Global.control.theme = main_theme
|
||||||
Global.control.theme.default_font = font
|
Global.control.theme.default_font = font
|
||||||
|
|
Loading…
Reference in a new issue