add theming support, fix ui issues, add ui scaling option
This commit is contained in:
parent
61806723ba
commit
1ced41d096
18 changed files with 259 additions and 49 deletions
|
@ -13,4 +13,7 @@ corner_radius_bottom_right = 4
|
|||
corner_radius_bottom_left = 4
|
||||
|
||||
[resource]
|
||||
EditorBG/colors/color = Color(0.188235, 0.188235, 0.188235, 1)
|
||||
MovementOff/colors/color = Color(0.0941176, 0.0941176, 0.0941176, 1)
|
||||
MovementOn/colors/color = Color(0, 1, 0, 1)
|
||||
Panel/styles/panel = SubResource("StyleBoxFlat_6oevq")
|
||||
|
|
87
UI/Themes/Light.tres
Normal file
87
UI/Themes/Light.tres
Normal file
|
@ -0,0 +1,87 @@
|
|||
[gd_resource type="Theme" load_steps=7 format=3 uid="uid://cr6pxthv8rvl5"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_qxkmj"]
|
||||
content_margin_left = 4.0
|
||||
content_margin_top = 4.0
|
||||
content_margin_right = 4.0
|
||||
content_margin_bottom = 4.0
|
||||
bg_color = Color(0.815686, 0.815686, 0.815686, 1)
|
||||
corner_radius_top_left = 4
|
||||
corner_radius_top_right = 4
|
||||
corner_radius_bottom_right = 4
|
||||
corner_radius_bottom_left = 4
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_iwa6l"]
|
||||
content_margin_left = 4.0
|
||||
content_margin_top = 4.0
|
||||
content_margin_right = 4.0
|
||||
content_margin_bottom = 4.0
|
||||
bg_color = Color(0.878431, 0.878431, 0.878431, 1)
|
||||
corner_radius_top_left = 4
|
||||
corner_radius_top_right = 4
|
||||
corner_radius_bottom_right = 4
|
||||
corner_radius_bottom_left = 4
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_8v7jq"]
|
||||
content_margin_left = 4.0
|
||||
content_margin_top = 4.0
|
||||
content_margin_right = 4.0
|
||||
content_margin_bottom = 4.0
|
||||
bg_color = Color(0.752941, 0.752941, 0.752941, 1)
|
||||
corner_radius_top_left = 4
|
||||
corner_radius_top_right = 4
|
||||
corner_radius_bottom_right = 4
|
||||
corner_radius_bottom_left = 4
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_6oevq"]
|
||||
bg_color = Color(0.937255, 0.937255, 0.937255, 1)
|
||||
border_width_left = 1
|
||||
border_width_top = 1
|
||||
border_width_right = 1
|
||||
border_width_bottom = 1
|
||||
border_color = Color(0.666667, 0.666667, 0.666667, 1)
|
||||
corner_radius_top_left = 4
|
||||
corner_radius_top_right = 4
|
||||
corner_radius_bottom_right = 4
|
||||
corner_radius_bottom_left = 4
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_m2mg1"]
|
||||
bg_color = Color(0.815686, 0.815686, 0.815686, 1)
|
||||
corner_radius_top_left = 4
|
||||
corner_radius_top_right = 4
|
||||
corner_radius_bottom_right = 4
|
||||
corner_radius_bottom_left = 4
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ghtf4"]
|
||||
bg_color = Color(0.878431, 0.878431, 0.878431, 1)
|
||||
corner_radius_top_left = 4
|
||||
corner_radius_top_right = 4
|
||||
corner_radius_bottom_right = 4
|
||||
corner_radius_bottom_left = 4
|
||||
|
||||
[resource]
|
||||
Button/colors/font_color = Color(0, 0, 0, 1)
|
||||
Button/colors/font_disabled_color = Color(0, 0, 0, 0.501961)
|
||||
Button/colors/font_focus_color = Color(0, 0, 0, 1)
|
||||
Button/colors/font_hover_color = Color(0, 0, 0, 1)
|
||||
Button/colors/font_hover_pressed_color = Color(0, 0, 0, 1)
|
||||
Button/colors/font_pressed_color = Color(0, 0, 0, 1)
|
||||
Button/colors/icon_disabled_color = Color(0, 0, 0, 0.501961)
|
||||
Button/colors/icon_focus_color = Color(0, 0, 0, 1)
|
||||
Button/colors/icon_hover_color = Color(0, 0, 0, 1)
|
||||
Button/colors/icon_hover_pressed_color = Color(0, 0, 0, 1)
|
||||
Button/colors/icon_normal_color = Color(0, 0, 0, 1)
|
||||
Button/colors/icon_pressed_color = Color(0, 0, 0, 1)
|
||||
Button/styles/hover = SubResource("StyleBoxFlat_qxkmj")
|
||||
Button/styles/normal = SubResource("StyleBoxFlat_iwa6l")
|
||||
Button/styles/pressed = SubResource("StyleBoxFlat_8v7jq")
|
||||
EditorBG/colors/color = Color(1, 1, 1, 1)
|
||||
Label/colors/font_color = Color(0, 0, 0, 1)
|
||||
MovementOff/colors/color = Color(0.878431, 0.878431, 0.878431, 1)
|
||||
MovementOn/colors/color = Color(0, 0.466667, 1, 1)
|
||||
Panel/styles/panel = SubResource("StyleBoxFlat_6oevq")
|
||||
PopupMenu/colors/font_color = Color(0, 0, 0, 1)
|
||||
PopupMenu/colors/font_hover_color = Color(0, 0, 0, 1)
|
||||
PopupMenu/colors/font_separator_color = Color(0, 0, 0, 1)
|
||||
PopupMenu/styles/hover = SubResource("StyleBoxFlat_m2mg1")
|
||||
PopupMenu/styles/panel = SubResource("StyleBoxFlat_ghtf4")
|
Loading…
Add table
Add a link
Reference in a new issue