2021-04-14 10:53:23 +02:00
|
|
|
<script>
|
2021-04-30 13:33:50 +02:00
|
|
|
import "@spectrum-css/typography/dist/index-vars.css"
|
|
|
|
|
|
|
|
export let size = "M"
|
|
|
|
export let serif = false
|
2021-05-18 14:52:42 +02:00
|
|
|
export let weight = 400
|
2021-05-17 18:49:40 +02:00
|
|
|
export let textAlign = "left"
|
2021-04-14 10:53:23 +02:00
|
|
|
</script>
|
|
|
|
|
2021-04-30 13:33:50 +02:00
|
|
|
<p
|
2021-05-18 15:33:25 +02:00
|
|
|
style="font-weight:{weight};text-align:{textAlign};"
|
2021-05-06 15:10:54 +02:00
|
|
|
class="spectrum-Body spectrum-Body--size{size}"
|
2021-05-10 15:50:37 +02:00
|
|
|
class:spectrum-Body--serif={serif}
|
|
|
|
>
|
2021-04-30 13:33:50 +02:00
|
|
|
<slot />
|
|
|
|
</p>
|