|
|
@ -5,12 +5,14 @@ |
|
|
export let serif = false |
|
|
export let serif = false |
|
|
export let weight = null |
|
|
export let weight = null |
|
|
export let textAlign = null |
|
|
export let textAlign = null |
|
|
|
|
|
export let color = null |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
<p |
|
|
<p |
|
|
style={` |
|
|
style={` |
|
|
${weight ? `font-weight:${weight};` : ""} |
|
|
${weight ? `font-weight:${weight};` : ""} |
|
|
${textAlign ? `text-align:${textAlign};` : ""} |
|
|
${textAlign ? `text-align:${textAlign};` : ""} |
|
|
|
|
|
${color ? `color:${color};` : ""} |
|
|
`} |
|
|
`} |
|
|
class="spectrum-Body spectrum-Body--size{size}" |
|
|
class="spectrum-Body spectrum-Body--size{size}" |
|
|
class:spectrum-Body--serif={serif} |
|
|
class:spectrum-Body--serif={serif} |
|
|
|