Skip to content
This repository was archived by the owner on May 25, 2024. It is now read-only.

Commit 627dd47

Browse files
committed
impr(base theme): add useful variants for table
1 parent aee60c7 commit 627dd47

1 file changed

Lines changed: 34 additions & 4 deletions

File tree

Themes/base.tres

Lines changed: 34 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,46 @@
1-
[gd_resource type="Theme" load_steps=2 format=3 uid="uid://by3gpw466gxq"]
1+
[gd_resource type="Theme" load_steps=3 format=3 uid="uid://by3gpw466gxq"]
22

3-
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_vfflo"]
4-
bg_color = Color(0.258824, 0.321569, 0.713726, 1)
3+
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_hcbh1"]
4+
content_margin_left = 4.0
5+
content_margin_top = 4.0
6+
content_margin_right = 4.0
7+
content_margin_bottom = 4.0
8+
bg_color = Color(1, 1, 1, 0.75)
9+
draw_center = false
510
border_width_left = 2
611
border_width_top = 2
712
border_width_right = 2
813
border_width_bottom = 2
14+
border_color = Color(0.8, 0.8, 0.8, 0)
15+
corner_radius_top_left = 3
16+
corner_radius_top_right = 3
17+
corner_radius_bottom_right = 3
18+
corner_radius_bottom_left = 3
19+
corner_detail = 5
20+
21+
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_cmr8v"]
22+
content_margin_left = 4.0
23+
content_margin_top = 4.0
24+
content_margin_right = 4.0
25+
content_margin_bottom = 4.0
26+
bg_color = Color(1, 1, 1, 0.75)
27+
draw_center = false
28+
border_width_left = 2
29+
border_width_top = 2
30+
border_width_right = 2
31+
border_width_bottom = 2
32+
corner_radius_top_left = 3
33+
corner_radius_top_right = 3
34+
corner_radius_bottom_right = 3
35+
corner_radius_bottom_left = 3
36+
corner_detail = 5
937

1038
[resource]
39+
LabelWithBorder/base_type = &"Label"
40+
LabelWithBorder/styles/normal = SubResource("StyleBoxFlat_hcbh1")
1141
RedTextLabel/base_type = &"Label"
1242
RedTextLabel/colors/font_color = Color(1, 0, 0, 1)
1343
SelectedLabel/base_type = &"Label"
14-
SelectedLabel/styles/normal = SubResource("StyleBoxFlat_vfflo")
44+
SelectedLabel/styles/normal = SubResource("StyleBoxFlat_cmr8v")
1545
VariableItemList/base_type = &"ItemList"
1646
VariableItemList/font_sizes/font_size = 17

0 commit comments

Comments
 (0)