initial stuff

This commit is contained in:
Henri
2025-11-21 08:15:07 +02:00
parent a38a367ac5
commit 8c18827dc5
33 changed files with 522 additions and 148 deletions

View File

@@ -1,20 +1,27 @@
<script>
export let onClick = () => {}
export let onClick = () => {};
</script>
<button on:click={onClick} class="btn">
<button onclick={onClick} class="btn">
<slot />
</button>
<style>
.btn {
background: var(--button-bg);
color: var(--button-text);
background: var(--white);
color: var(--black);
border-radius: 8px;
border: 1px solid transparent;
border: 1.5px solid transparent;
border-color: var(--orange);
padding: 0.6em 1.2em;
font-weight: 500;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5em;
}
.btn:hover { border-color: var(--primary); }
</style>
.btn:hover {
background: var(--orange);
}
</style>