Skip to content

Commit a1eee96

Browse files
committed
Improve visibility of separators
Backport of godotengine/godot#112313
1 parent 4729333 commit a1eee96

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

minimal_theme.tres

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -714,9 +714,9 @@ func _init() -> void:
714714
set_stylebox('panel', 'PopupMenu', sb)
715715

716716
var line_sb : StyleBoxLine = StyleBoxLine.new()
717-
line_sb.color = Color(0, 0, 0, 0.2 if dark_theme else 0.1)
718-
line_sb.grow_begin = base_margin * -1.5 * scale
719-
line_sb.grow_end = base_margin * -1.5 * scale
717+
line_sb.color = color_mono * Color(1, 1, 1, 0.075 if dark_theme else 0.125)
718+
line_sb.grow_begin = base_margin * -2.0 * scale
719+
line_sb.grow_end = base_margin * -2.0 * scale
720720
line_sb.thickness = int(ceilf(scale * 2))
721721
set_stylebox('labeled_separator_left', 'PopupMenu', line_sb)
722722
set_stylebox('labeled_separator_right', 'PopupMenu', line_sb)
@@ -967,7 +967,7 @@ func _init() -> void:
967967
# Separators
968968

969969
line_sb = StyleBoxLine.new()
970-
line_sb.color = Color(0, 0, 0, 0.3) if dark_theme else Color(0, 0, 0, 0.1)
970+
line_sb.color = Color(0, 0, 0, 0.4) if dark_theme else Color(0, 0, 0, 0.2)
971971
line_sb.grow_begin = base_margin * -1 * scale
972972
line_sb.grow_end = base_margin * -1 * scale
973973
line_sb.thickness = int(ceilf(scale * 2))

0 commit comments

Comments
 (0)