sanifae/src/lib/components/Button.svelte
Xodrium 2b8158f666 Overhauled post creation
Made the menu significantly better and made it possible to upload files directly from the post page
2023-02-10 18:17:40 -05:00

27 lines
No EOL
448 B
Svelte

<style>
.button {
padding: 0.5rem;
background-color: var(--dark-3);
border: none;
font-family: 'Open Sans';
border-radius: 0.5rem;
margin: 0.2rem;
}
.button a {
color: var(--light-1);
}
</style>
<script>
export let clickFunc = () => {};
export let button = '';
</script>
<button on:click={clickFunc} class='button'>
<a href='#'><slot/></a>
</button>