2021-04-14 10:53:23 +02:00
|
|
|
<script>
|
|
|
|
import "@spectrum-css/typography/dist/index-vars.css"
|
2021-04-30 13:31:45 +02:00
|
|
|
|
|
|
|
export let size = "M";
|
2021-04-14 10:53:23 +02:00
|
|
|
export let serif = false;
|
|
|
|
</script>
|
|
|
|
|
2021-04-30 13:31:45 +02:00
|
|
|
<p class="spectrum-Body class:spectrum-Body--size{size}"
|
2021-04-14 10:53:23 +02:00
|
|
|
class:spectrum-Body--serif={serif}
|
|
|
|
<slot />
|
|
|
|
</p>
|