From baeb87214b1f55de07bb710653630bb0375ab1a7 Mon Sep 17 00:00:00 2001 From: tomdebone Date: Sun, 26 Jul 2026 21:34:14 +0200 Subject: [PATCH] chore(app): drop unused .btn--danger CSS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The legacy `.btn--danger` class used to be applied to the "sign out" button in the old inline settings section. The X-style settings refactor replaced that with `.settings__group--danger .settings__action`, which has its own selector tree. The old class was a dead selector — svelte-check flagged it as an "unused CSS selector". Drop it. --- crates/tauri-app/src/App.svelte | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/crates/tauri-app/src/App.svelte b/crates/tauri-app/src/App.svelte index 9d619d3..f0ccc7d 100644 --- a/crates/tauri-app/src/App.svelte +++ b/crates/tauri-app/src/App.svelte @@ -955,15 +955,10 @@ background: rgba(255, 59, 48, 0.08); } - .btn--danger { - color: var(--red); - border-color: var(--red); - } - .btn--danger:hover:not(:disabled) { - background: rgba(255, 59, 48, 0.08); - color: var(--red); - border-color: var(--red); - } + /* (the legacy .btn--danger class used to be applied to the + "sign out" button — that's now styled via + `.settings__group--danger .settings__action` which is its own + selector tree in the settings section below) */ /* X-style settings page: sectioned cards with label-left / value-right rows, then a list of clickable action rows, then