From 35fed0b0e2daf522ec659a5274624331e548fff7 Mon Sep 17 00:00:00 2001 From: Vaibhav Tank <33166390+v-tank@users.noreply.github.com> Date: Thu, 8 Aug 2024 00:18:38 -0700 Subject: [PATCH] Fix logout button text color on confirmation dialog (#21595) --- src/panels/profile/ha-profile-section-general.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panels/profile/ha-profile-section-general.ts b/src/panels/profile/ha-profile-section-general.ts index 054e96eb2d..26fd528f9b 100644 --- a/src/panels/profile/ha-profile-section-general.ts +++ b/src/panels/profile/ha-profile-section-general.ts @@ -222,6 +222,7 @@ class HaProfileSectionGeneral extends LitElement { text: this.hass.localize("ui.panel.profile.logout_text"), confirmText: this.hass.localize("ui.panel.profile.logout"), confirm: () => fireEvent(this, "hass-logout"), + destructive: true, }); }