Change default theme

Replaces default.tres, default_dark.tres, and default_light.tres, with
default.tres and default_light.tres based on Godot's default dark and
light editor themes respectively.

Closes #44
This commit is contained in:
Leroy Hopson 2021-07-17 20:57:43 +07:00
parent b08d218a59
commit 7b63079594
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA
4 changed files with 34 additions and 63 deletions

View file

@ -58,12 +58,14 @@ func draw_all(_size = Vector2.ZERO):
func draw_title():
tput.setaf(Color("#FFECA0"))
tput.cup(row, 0)
for line in TITLE.split("\r"):
row += 1
tput.cup(row, offset)
$Terminal.write(line)
tput.sgr0()
# Get the plugin version from the plugin's config file.
var config = ConfigFile.new()
@ -92,7 +94,7 @@ func draw_menu():
tput.cup(row, offset)
if selected_index == i:
tput.setab(Color("#FF7500"))
tput.setab(Color("#FF786B"))
tput.setaf(Color.black)
$Terminal.write("%s. %s" % [i + 1, item.name])