Skip to content

Commit 0353294

Browse files
authored
Added specific theme colors for Checkboxes to match behavior of the other UI elements (#338)
1 parent 1d22462 commit 0353294

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

‎lorien/UI/Themes/theme_dark.tres‎

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[gd_resource type="Theme" load_steps=27 format=4 uid="uid://u5qnpgxqykiv"]
1+
[gd_resource type="Theme" load_steps=29 format=4 uid="uid://u5qnpgxqykiv"]
22

33
[ext_resource type="Texture2D" uid="uid://bp1yka17gbjtu" path="res://Assets/Icons/close.png" id="1_qgxa7"]
44
[ext_resource type="StyleBox" uid="uid://kdduww61cjw" path="res://UI/Themes/tab_inactive_dark.tres" id="2_n6mkw"]
@@ -67,6 +67,20 @@ corner_radius_top_right = 64
6767
corner_radius_bottom_right = 64
6868
corner_radius_bottom_left = 64
6969

70+
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_cvp1a"]
71+
bg_color = Color(0.266667, 0.270588, 0.290196, 1)
72+
corner_radius_top_left = 64
73+
corner_radius_top_right = 64
74+
corner_radius_bottom_right = 64
75+
corner_radius_bottom_left = 64
76+
77+
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_xp38c"]
78+
bg_color = Color(0.207843, 0.211765, 0.227451, 1)
79+
corner_radius_top_left = 64
80+
corner_radius_top_right = 64
81+
corner_radius_bottom_right = 64
82+
corner_radius_bottom_left = 64
83+
7084
[sub_resource type="StyleBoxFlat" id="4"]
7185
corner_radius_top_left = 1
7286
corner_radius_top_right = 1
@@ -2452,6 +2466,8 @@ Button/styles/focus = SubResource("StyleBoxFlat_rb6ee")
24522466
Button/styles/hover = SubResource("StyleBoxFlat_g5iyp")
24532467
Button/styles/normal = SubResource("StyleBoxFlat_k6u2e")
24542468
Button/styles/pressed = SubResource("StyleBoxFlat_4l7x4")
2469+
CheckBox/styles/hover_pressed = SubResource("StyleBoxFlat_cvp1a")
2470+
CheckBox/styles/pressed = SubResource("StyleBoxFlat_xp38c")
24552471
CheckButton/colors/font_color = Color(0.88, 0.88, 0.88, 1)
24562472
CheckButton/colors/font_color_disabled = Color(0.9, 0.9, 0.9, 0.2)
24572473
CheckButton/colors/font_color_hover = Color(0.94, 0.94, 0.94, 1)

0 commit comments

Comments
 (0)