Merge remote-tracking branch 'Kira/master' into master-afsp

This commit is contained in:
Maxim
2026-01-21 09:45:22 +03:00
9 changed files with 43 additions and 43 deletions

View File

@@ -27,13 +27,13 @@ func on_setting_changed():
func apply_colors():
var is_light: bool = ProjectSettings.get_setting("application/config/Цвет темы программы", false)
var is_light: bool = ProjectSettings.get_setting('application/config/Цвет темы программы', false)
var style = StyleBoxFlat.new()
if is_light:
style.bg_color = Color.DARK_GRAY
add_theme_stylebox_override("tabbar_background", style)
add_theme_stylebox_override("panel", style)
add_theme_stylebox_override('tabbar_background', style)
add_theme_stylebox_override('panel', style)
else:
style.bg_color = Color(0.12, 0.12, 0.12)
add_theme_stylebox_override("tabbar_background", style)
add_theme_stylebox_override("panel", style)
add_theme_stylebox_override('tabbar_background', style)
add_theme_stylebox_override('panel', style)