Add font weight property to BBUI layout body
This commit is contained in:
parent
1c56e9502d
commit
4f0f532b72
|
@ -4,9 +4,11 @@
|
||||||
export let size = "M"
|
export let size = "M"
|
||||||
export let serif = false
|
export let serif = false
|
||||||
export let noPadding = false
|
export let noPadding = false
|
||||||
|
export let weight = 400
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<p
|
<p
|
||||||
|
style="font-weight: {weight};"
|
||||||
class:noPadding
|
class:noPadding
|
||||||
class="spectrum-Body spectrum-Body--size{size}"
|
class="spectrum-Body spectrum-Body--size{size}"
|
||||||
class:spectrum-Body--serif={serif}
|
class:spectrum-Body--serif={serif}
|
||||||
|
|
Loading…
Reference in New Issue