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 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}
|
||||
|
|
Loading…
Reference in New Issue