docs+utils: Remove all legacy variant-* class references, update all docs and snippets to use only preset-* (Skeleton v4)

This commit is contained in:
Scott Idem
2026-03-16 18:59:21 -04:00
parent b543c8a930
commit 0cebd3868b
6 changed files with 8 additions and 49 deletions

View File

@@ -222,7 +222,7 @@ Add the dismissible banner to the template (after/near the existing `is_offline`
<div class="fixed top-0 left-0 right-0 z-50 bg-warning-500 text-white px-4 py-2 flex items-center justify-between">
<p class="text-sm font-semibold">Your session has expired. Please reload or sign in again.</p>
<div class="flex gap-2">
<button class="btn btn-sm variant-filled-surface" onclick={() => window.location.reload()}>Reload</button>
<button class="btn btn-sm preset-filled-surface" onclick={() => window.location.reload()}>Reload</button>
<button class="btn btn-sm" onclick={() => { flag_expired = false; ae_auth_error.set({ type: null, ts: null }); }}>Dismiss</button>
</div>
</div>