From fc4a0fb944de619e64e1ee9b312bdd6c03509a02 Mon Sep 17 00:00:00 2001 From: dzid26 Date: Sat, 24 Jan 2026 07:11:38 +0000 Subject: [PATCH] [TIZI/TICI] ui: Blue "Exit Always Offroad" button (#1655) Blue "Exit Always Offroad" button Co-authored-by: Jason Wen --- selfdrive/ui/sunnypilot/layouts/settings/device.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/sunnypilot/layouts/settings/device.py b/selfdrive/ui/sunnypilot/layouts/settings/device.py index 448a4faab..8f9d0ae22 100644 --- a/selfdrive/ui/sunnypilot/layouts/settings/device.py +++ b/selfdrive/ui/sunnypilot/layouts/settings/device.py @@ -193,7 +193,7 @@ class DeviceLayoutSP(DeviceLayout): # Text & Color offroad_mode_btn_text = tr("Exit Always Offroad") if always_offroad else tr("Enable Always Offroad") - offroad_mode_btn_style = ButtonStyle.NORMAL if always_offroad else ButtonStyle.DANGER + offroad_mode_btn_style = ButtonStyle.PRIMARY if always_offroad else ButtonStyle.DANGER self._always_offroad_btn.action_item.left_button.set_text(offroad_mode_btn_text) self._always_offroad_btn.action_item.left_button.set_button_style(offroad_mode_btn_style)