Add font weight property to BBUI layout body

This commit is contained in:
Andrew Kingston 2021-05-18 13:52:42 +01:00
parent 1c56e9502d
commit 4f0f532b72
1 changed files with 2 additions and 0 deletions

View File

@ -4,9 +4,11 @@
export let size = "M"
export let serif = false
export let noPadding = false
export let weight = 400
</script>
<p
style="font-weight: {weight};"
class:noPadding
class="spectrum-Body spectrum-Body--size{size}"
class:spectrum-Body--serif={serif}