Skip to content

Commit

Permalink
refactor: update alert style
Browse files Browse the repository at this point in the history
  • Loading branch information
manankarnik committed Mar 10, 2024
1 parent ef9d07c commit 01aa74d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/lib/components/generate/publish-popup.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@
</script>

<div class={`absolute top-20 flex h-20 w-full justify-center ${alert ? "" : "hidden"}`}>
<Alert.Root variant="success" class="w-30 bg-slate-100 dark:bg-slate-900">
<CheckCircle2 class="h-4 w-4 text-green-500" />
<Alert.Root variant="success" class="w-30 bg-transparent backdrop-blur-xl">
<CheckCircle2 class="h-4 w-4" />
<Alert.Title>Success</Alert.Title>
<Alert.Description>Asset publised successfully!</Alert.Description>
</Alert.Root>
Expand Down
4 changes: 2 additions & 2 deletions src/routes/manage/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@


<div class={`fixed left-0 top-20 flex h-20 w-full justify-center ${alert ? "" : "hidden"}`}>
<Alert.Root variant="success" class="w-30 bg-slate-100 dark:bg-slate-900">
<CheckCircle2 class="h-4 w-4 text-green-500" />
<Alert.Root variant="success" class="w-30 bg-transparent backdrop-blur-xl">
<CheckCircle2 class="h-4 w-4" />
<Alert.Title>Success</Alert.Title>
<Alert.Description>Asset deleted successfully!</Alert.Description>
</Alert.Root>
Expand Down

0 comments on commit 01aa74d

Please sign in to comment.