From ea943dedbde5fb2ed7ec7f1a44c63c1977ddb387 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 9 Jan 2026 04:36:44 +0300 Subject: [PATCH] update design dev_screen --- screens/setting/dev_screen.py | 2 +- themes/day.py | 9 +++++++++ themes/night.py | 8 ++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/screens/setting/dev_screen.py b/screens/setting/dev_screen.py index 35f8c7c..8428c6c 100644 --- a/screens/setting/dev_screen.py +++ b/screens/setting/dev_screen.py @@ -28,7 +28,7 @@ def build_dev_screen(on_exit) -> QWidget: exit_btn.clicked.connect(lambda: _confirm_exit(on_exit)) reboot_btn = QPushButton("Выполнить перезагрузку") - reboot_btn.setObjectName("DevExitBtn") + reboot_btn.setObjectName("DevRebootBtn") reboot_btn.setMinimumHeight(72) reboot_btn.clicked.connect(_confirm_reboot) diff --git a/themes/day.py b/themes/day.py index abfd49f..5ae4619 100644 --- a/themes/day.py +++ b/themes/day.py @@ -101,6 +101,15 @@ QMenu::item:selected { background: #F3F4F6; } font-weight: 600; } #DevExitBtn:hover { background: #E5E7EB; } +#DevRebootBtn { + background: #FEE2E2; + color: #991B1B; + border-radius: 14px; + border: 1px solid #FCA5A5; + font-size: 16px; + font-weight: 700; +} +#DevRebootBtn:hover { background: #FECACA; } #BluetoothStatus { color: rgba(107,114,128,0.95); } #BluetoothList { diff --git a/themes/night.py b/themes/night.py index e48dead..f5e9a9f 100644 --- a/themes/night.py +++ b/themes/night.py @@ -93,6 +93,14 @@ QMenu::item:selected { background: #1B2330; } font-weight: 600; } #DevExitBtn:hover { background: #263142; } +#DevRebootBtn { + background: #7F1D1D; + color: #FEE2E2; + border-radius: 14px; + font-size: 16px; + font-weight: 700; +} +#DevRebootBtn:hover { background: #991B1B; } #BluetoothStatus { color: rgba(138,147,166,0.95); } #BluetoothList {