Skip to content

Instantly share code, notes, and snippets.

@lyuma
Created October 15, 2023 21:27
Show Gist options
  • Save lyuma/7e536c4046ee2354c89a0cca9c3bb7e8 to your computer and use it in GitHub Desktop.
Save lyuma/7e536c4046ee2354c89a0cca9c3bb7e8 to your computer and use it in GitHub Desktop.
Editor theme for Godot 4 which makes the inspector and tree view compact, removing unnecessary spaces between items.
[gd_resource type="Theme" load_steps=32 format=3]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_fnqu7"]
content_margin_left = 4.0
content_margin_top = 1.0
content_margin_right = 4.0
content_margin_bottom = 1.0
bg_color = Color(0.1, 0.1, 0.1, 0.3)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_nv1hb"]
content_margin_left = 4.0
content_margin_top = 1.0
content_margin_right = 4.0
content_margin_bottom = 1.0
bg_color = Color(1, 1, 1, 0.75)
draw_center = false
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 5
expand_margin_left = 2.0
expand_margin_top = 2.0
expand_margin_right = 2.0
expand_margin_bottom = 2.0
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_54pa1"]
content_margin_left = 4.0
content_margin_top = 1.0
content_margin_right = 4.0
content_margin_bottom = 1.0
bg_color = Color(0.225, 0.225, 0.225, 0.6)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_owd3d"]
content_margin_left = 4.0
content_margin_top = 1.0
content_margin_right = 4.0
content_margin_bottom = 1.0
bg_color = Color(0.1, 0.1, 0.1, 0.6)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_crvml"]
content_margin_left = 4.0
content_margin_top = 1.0
content_margin_right = 4.0
content_margin_bottom = 1.0
bg_color = Color(0, 0, 0, 0.6)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 5
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_5bnqm"]
content_margin_left = 6.0
content_margin_top = 1.0
content_margin_right = 6.0
content_margin_bottom = 1.0
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_666cn"]
content_margin_left = 4.0
content_margin_top = 1.0
content_margin_right = 4.0
content_margin_bottom = 1.0
bg_color = Color(1, 1, 1, 0.75)
draw_center = false
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 5
expand_margin_left = 2.0
expand_margin_top = 2.0
expand_margin_right = 2.0
expand_margin_bottom = 2.0
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_g65no"]
content_margin_left = 6.0
content_margin_top = 1.0
content_margin_right = 6.0
content_margin_bottom = 1.0
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_krrk1"]
content_margin_left = 6.0
content_margin_top = 1.0
content_margin_right = 6.0
content_margin_bottom = 1.0
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_wg838"]
content_margin_left = 6.0
content_margin_top = 1.0
content_margin_right = 6.0
content_margin_bottom = 1.0
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_api5d"]
content_margin_left = 6.0
content_margin_top = 1.0
content_margin_right = 6.0
content_margin_bottom = 1.0
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_dvkv5"]
content_margin_left = 4.0
content_margin_top = 0.0
content_margin_right = 2.0
content_margin_bottom = 0.0
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_qe1bq"]
content_margin_left = 4.0
content_margin_top = 1.0
content_margin_right = 4.0
content_margin_bottom = 1.0
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_wxupx"]
content_margin_left = 4.0
content_margin_top = 1.0
content_margin_right = 4.0
content_margin_bottom = 1.0
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_s2wwi"]
content_margin_left = 4.0
content_margin_top = 1.0
content_margin_right = 4.0
content_margin_bottom = 1.0
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_fuxxs"]
content_margin_left = 4.0
content_margin_top = 1.0
content_margin_right = 4.0
content_margin_bottom = 1.0
bg_color = Color(0, 0, 0, 0.51)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_7ds3h"]
content_margin_left = 4.0
content_margin_top = 1.0
content_margin_right = 4.0
content_margin_bottom = 1.0
bg_color = Color(1, 1, 1, 0.75)
draw_center = false
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 5
expand_margin_left = 2.0
expand_margin_top = 2.0
expand_margin_right = 2.0
expand_margin_bottom = 2.0
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_q47xv"]
content_margin_left = 4.0
content_margin_top = 1.0
content_margin_right = 4.0
content_margin_bottom = 1.0
bg_color = Color(1, 1, 1, 0.75)
draw_center = false
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 5
expand_margin_left = 2.0
expand_margin_top = 2.0
expand_margin_right = 2.0
expand_margin_bottom = 2.0
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0val6"]
content_margin_left = 4.0
content_margin_top = 1.0
content_margin_right = 4.0
content_margin_bottom = 1.0
bg_color = Color(1, 1, 1, 0.75)
draw_center = false
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 5
expand_margin_left = 2.0
expand_margin_top = 2.0
expand_margin_right = 2.0
expand_margin_bottom = 2.0
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_bgygh"]
content_margin_left = 4.0
content_margin_top = 1.0
content_margin_right = 4.0
content_margin_bottom = 1.0
bg_color = Color(1, 1, 1, 0.07)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_4cxrp"]
content_margin_left = 4.0
content_margin_top = 1.0
content_margin_right = 4.0
content_margin_bottom = 1.0
bg_color = Color(1, 1, 1, 0.3)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_up2og"]
content_margin_left = 4.0
content_margin_top = 1.0
content_margin_right = 4.0
content_margin_bottom = 1.0
bg_color = Color(1, 1, 1, 0.3)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 5
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_3d1g4"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ewr38"]
content_margin_left = 8.0
content_margin_top = 1.0
content_margin_right = 21.0
content_margin_bottom = 1.0
bg_color = Color(0.1, 0.1, 0.1, 0.3)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_sxkkx"]
content_margin_left = 21.0
content_margin_top = 1.0
content_margin_right = 8.0
content_margin_bottom = 1.0
bg_color = Color(0.1, 0.1, 0.1, 0.3)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_hh4ku"]
content_margin_left = 8.0
content_margin_top = 1.0
content_margin_right = 21.0
content_margin_bottom = 1.0
bg_color = Color(0.225, 0.225, 0.225, 0.6)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ry1qc"]
content_margin_left = 21.0
content_margin_top = 1.0
content_margin_right = 8.0
content_margin_bottom = 1.0
bg_color = Color(0.225, 0.225, 0.225, 0.6)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_a4jl2"]
content_margin_left = 8.0
content_margin_top = 1.0
content_margin_right = 21.0
content_margin_bottom = 1.0
bg_color = Color(0.1, 0.1, 0.1, 0.6)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ipgwv"]
content_margin_left = 21.0
content_margin_top = 1.0
content_margin_right = 8.0
content_margin_bottom = 1.0
bg_color = Color(0.1, 0.1, 0.1, 0.6)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_omkdl"]
content_margin_left = 8.0
content_margin_top = 1.0
content_margin_right = 21.0
content_margin_bottom = 1.0
bg_color = Color(0, 0, 0, 0.6)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_qo4qn"]
content_margin_left = 21.0
content_margin_top = 1.0
content_margin_right = 8.0
content_margin_bottom = 1.0
bg_color = Color(0, 0, 0, 0.6)
corner_radius_top_left = 1
corner_radius_top_right = 1
corner_radius_bottom_right = 1
corner_radius_bottom_left = 1
corner_detail = 5
[resource]
Button/styles/disabled = SubResource("StyleBoxFlat_fnqu7")
Button/styles/focus = SubResource("StyleBoxFlat_nv1hb")
Button/styles/hover = SubResource("StyleBoxFlat_54pa1")
Button/styles/normal = SubResource("StyleBoxFlat_owd3d")
Button/styles/pressed = SubResource("StyleBoxFlat_crvml")
CheckButton/styles/disabled = SubResource("StyleBoxEmpty_5bnqm")
CheckButton/styles/focus = SubResource("StyleBoxFlat_666cn")
CheckButton/styles/hover = SubResource("StyleBoxEmpty_g65no")
CheckButton/styles/hover_pressed = SubResource("StyleBoxEmpty_krrk1")
CheckButton/styles/normal = SubResource("StyleBoxEmpty_wg838")
CheckButton/styles/pressed = SubResource("StyleBoxEmpty_api5d")
EditorInspectorSection/constants/indent_size = 8
EditorInspectorSection/styles/indent_box = SubResource("StyleBoxEmpty_dvkv5")
FlatButton/styles/disabled = SubResource("StyleBoxEmpty_qe1bq")
FlatButton/styles/hover = SubResource("StyleBoxEmpty_wxupx")
FlatButton/styles/normal = SubResource("StyleBoxEmpty_s2wwi")
FlatButton/styles/pressed = SubResource("StyleBoxFlat_fuxxs")
FlowContainer/constants/v_separation = 1
GridContainer/constants/v_separation = 1
ItemList/constants/v_separation = 0
ItemList/styles/cursor = SubResource("StyleBoxFlat_7ds3h")
ItemList/styles/cursor_unfocused = SubResource("StyleBoxFlat_q47xv")
ItemList/styles/focus = SubResource("StyleBoxFlat_0val6")
ItemList/styles/hovered = SubResource("StyleBoxFlat_bgygh")
ItemList/styles/selected = SubResource("StyleBoxFlat_4cxrp")
ItemList/styles/selected_focus = SubResource("StyleBoxFlat_up2og")
Label/constants/line_spacing = 1
Label/styles/normal = SubResource("StyleBoxEmpty_3d1g4")
OptionButton/constants/arrow_margin = 2
OptionButton/constants/outline_size = 0
OptionButton/styles/disabled = SubResource("StyleBoxFlat_ewr38")
OptionButton/styles/disabled_mirrored = SubResource("StyleBoxFlat_sxkkx")
OptionButton/styles/focus = SubResource("StyleBoxFlat_nv1hb")
OptionButton/styles/hover = SubResource("StyleBoxFlat_hh4ku")
OptionButton/styles/hover_mirrored = SubResource("StyleBoxFlat_ry1qc")
OptionButton/styles/normal = SubResource("StyleBoxFlat_a4jl2")
OptionButton/styles/normal_mirrored = SubResource("StyleBoxFlat_ipgwv")
OptionButton/styles/pressed = SubResource("StyleBoxFlat_omkdl")
OptionButton/styles/pressed_mirrored = SubResource("StyleBoxFlat_qo4qn")
Tree/constants/v_separation = 0
VBoxContainer/constants/separation = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment