move CodeEdit background stylebox to theme
This commit is contained in:
@@ -3,23 +3,9 @@
|
||||
[ext_resource type="FontVariation" uid="uid://cctwlwcoycek7" path="res://Features/CodeEditor/Resources/CascadiaFontVariation.tres" id="1_s7ira"]
|
||||
[ext_resource type="Script" uid="uid://du2lt7r1p1qfy" path="res://Features/CodeEditor/SharpIdeCodeEdit.cs" id="2_kp2fd"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_v06ln"]
|
||||
content_margin_left = 4.0
|
||||
content_margin_top = 4.0
|
||||
content_margin_right = 4.0
|
||||
content_margin_bottom = 4.0
|
||||
bg_color = Color(0.117647, 0.117647, 0.117647, 1)
|
||||
border_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
|
||||
|
||||
[node name="SharpIdeCodeEdit" type="CodeEdit" unique_id=2021737984]
|
||||
theme_override_fonts/font = ExtResource("1_s7ira")
|
||||
theme_override_font_sizes/font_size = 18
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_v06ln")
|
||||
highlight_all_occurrences = true
|
||||
highlight_current_line = true
|
||||
symbol_lookup_on_click = true
|
||||
|
||||
@@ -1,5 +1,18 @@
|
||||
[gd_resource type="Theme" format=3 uid="uid://epmt8kq6efrs"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_82udi"]
|
||||
content_margin_left = 4.0
|
||||
content_margin_top = 4.0
|
||||
content_margin_right = 4.0
|
||||
content_margin_bottom = 4.0
|
||||
bg_color = Color(0.117647, 0.117647, 0.117647, 1)
|
||||
border_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_21uq4"]
|
||||
content_margin_left = 10.0
|
||||
content_margin_top = 4.0
|
||||
@@ -48,6 +61,7 @@ shadow_size = 4
|
||||
|
||||
[resource]
|
||||
CodeEdit/colors/current_line_color = Color(0.05882353, 0.05882353, 0.05882353, 1)
|
||||
CodeEdit/styles/normal = SubResource("StyleBoxFlat_82udi")
|
||||
CodeEditorTabContainer/base_type = &"TabContainer"
|
||||
CodeEditorTabContainer/styles/tab_selected = SubResource("StyleBoxFlat_21uq4")
|
||||
CodeEditorTabContainer/styles/tabbar_background = SubResource("StyleBoxFlat_5oigc")
|
||||
|
||||
Reference in New Issue
Block a user