16 lines
262 B
Svelte
16 lines
262 B
Svelte
|
<style>
|
||
|
.button {
|
||
|
border: none;
|
||
|
color: var(--color-text);
|
||
|
background: var(--color-accent);
|
||
|
}
|
||
|
|
||
|
.button:focus {
|
||
|
outline-color: var(--color-accent-light);
|
||
|
}
|
||
|
</style>
|
||
|
|
||
|
<button class="button" on:click|preventDefault>
|
||
|
<slot></slot>
|
||
|
</button>
|