Skip to content

Commit

Permalink
Increase copy button color and message timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellrgn committed Jun 18, 2024
1 parent a3082c1 commit 16935ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/CopyButton.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
copyNotice = 'Copied!';
setTimeout(() => {
copyNotice = copyNoticePrev;
}, 1500);
}, 8000);
}
</script>
{#if copyNotice}
<Button size="lg" color="success" class="p-3" disabled>
<Button size="lg" color="secondary" class="p-3" disabled>
<Icon name="clipboard" />
{copyNotice}
</Button>
Expand Down

0 comments on commit 16935ce

Please sign in to comment.