Skip to content

Commit

Permalink
fix buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesPeck committed Oct 23, 2024
1 parent 2895588 commit 2a1d581
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/components/modals/Confirmation.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { getModalStore } from '@skeletonlabs/skeleton';
const modalStore = getModalStore();
export let message: string;
export let onCancel: () => void;
export let onConfirm: () => void;
Expand Down Expand Up @@ -33,11 +33,11 @@
<p>{message}</p>
<div class="flex justify-end gap-4">
<button
class="btn variant-filled-primary hover:variant-filled-secondary mt-6"
class="btn variant-ghost-surface hover:variant-filled-surface mt-6"
on:click={() => onCancel()}>{cancelText}</button
>
<button
class="btn variant-filled-primary hover:variant-filled-secondary mt-6"
class="btn variant-filled hover:variant-filled-primary mt-6"
on:click={() => onConfirm()}>{confirmText}</button
>
</div>
Expand Down

0 comments on commit 2a1d581

Please sign in to comment.