Динамическое изменение цвета программы тёмное/светлое.

This commit is contained in:
lepshiy
2026-01-16 11:49:47 +03:00
parent 8d3b80cf4c
commit 8fccaa0e66
25 changed files with 216 additions and 34 deletions

View File

@@ -1,26 +1,25 @@
[gd_scene load_steps=5 format=3 uid="uid://5rw652cmnybi"]
[ext_resource type="Script" uid="uid://bh7mb1aeu1uk6" path="res://table/settings_toggle.gd" id="1_8lkgc"]
[ext_resource type="Shader" uid="uid://bw5mmbgeycwua" path="res://shaders/color-invers.gdshader" id="1_anyuq"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_7hsq1"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_xxfw6"]
shader = ExtResource("1_anyuq")
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_y8485"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_8lkgc"]
[node name="LineEdit" type="LineEdit"]
offset_right = 950.0
offset_bottom = 27.0
theme_override_colors/font_uneditable_color = Color(1, 0.596078, 0.4, 1)
theme_override_colors/font_color = Color(1, 0.596078, 0.4, 1)
theme_override_styles/focus = SubResource("StyleBoxEmpty_7hsq1")
editable = false
context_menu_enabled = false
shortcut_keys_enabled = false
middle_mouse_paste_enabled = false
selecting_enabled = false
deselect_on_focus_loss_enabled = false
script = ExtResource("1_8lkgc")
[node name="CheckButton" type="CheckButton" parent="."]
material = SubResource("ShaderMaterial_xxfw6")
@@ -29,4 +28,4 @@ offset_left = 453.0
offset_top = 1.5
offset_right = 497.0
offset_bottom = 25.5
theme_override_styles/focus = SubResource("StyleBoxEmpty_y8485")
theme_override_styles/focus = SubResource("StyleBoxEmpty_8lkgc")