From e7cc7384ce3ec6286cad10a5a2aa9c6596ec0ab4 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Wed, 17 Dec 2025 22:39:59 -0800 Subject: [PATCH] add destructive-ghost button variant --- src/lib/components/ui/Button.svelte | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/lib/components/ui/Button.svelte b/src/lib/components/ui/Button.svelte index 0b7599f3..6b4d9ae1 100644 --- a/src/lib/components/ui/Button.svelte +++ b/src/lib/components/ui/Button.svelte @@ -15,6 +15,7 @@ | 'element-ghost' | 'text' | 'destructive' + | 'destructive-ghost' | 'notice' | 'subtle' | undefined @@ -312,6 +313,15 @@ } } + :global([data-button-root].destructive-ghost) { + background: transparent; + color: $error; + + &:hover:not(:disabled) { + background: $error--bg--light; + } + } + :global([data-button-root].notice) { background-color: var(--notice-button-bg); color: var(--notice-button-text);