Added Light theme in Preferences

Light theme is still work in progress
This commit is contained in:
OverloadedOrama 2019-12-20 15:32:43 +02:00
parent 32fead03bd
commit 2fc9711788
5 changed files with 88 additions and 83 deletions

View file

@ -29,6 +29,10 @@ func _on_ThemeOption_item_selected(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")
Global.control.theme = main_theme
Global.top_menu_container.add_stylebox_override("panel", top_menu_style)