2020-08-12 17:30:20 +02:00
|
|
|
<script>
|
|
|
|
export let value = "Something is wrong"
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<div class="container">{value}</div>
|
2020-08-14 15:56:34 +02:00
|
|
|
<button on:click>Get stuff!</button>
|
2020-08-12 17:30:20 +02:00
|
|
|
<ul>
|
|
|
|
<li>1</li>
|
|
|
|
<li>2</li>
|
|
|
|
<li>3</li>
|
|
|
|
<li>4</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
padding-left: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding: var(--spacing-s) 0;
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
display: flex;
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
font-size: var(--font-size-xs);
|
|
|
|
color: var(--ink);
|
|
|
|
padding: var(--spacing-s) var(--spacing-m);
|
|
|
|
margin: auto 0px;
|
|
|
|
align-items: center;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
</style>
|