Is it possible to have a different text weight than just Bold in Text Style Inline Styles?
In Text General there are many more options such as Medium and Semi E.
Is it possible to have a different text weight than just Bold in Text Style Inline Styles?
In Text General there are many more options such as Medium and Semi E.
Yes, you can use Tailwind Classes in the Classes field, like this:
And here’s the sizes, use the first part in bold in the Classes field, e.g. font-medium
font-thin (weight: 100)
font-extralight (weight: 200)
font-light (weight: 300)
font-normal (weight: 400)
font-medium (weight: 500)
font-semibold (weight: 600)
font-bold (weight: 700)
font-extrabold (weight: 800)
font-black (weight: 900)
Oh, and remember not all fonts have all weights available, so you might not always see a difference. Have fun!
So we would need to add all weights in the resources and link them if we use customs fonts for this?
if you’re using a custom font then you need to manage which font weights are added. You then need to ensure you use the correct tailwind classes that match to the font weights available
Thanks, do you have a documentation of how to do that with the tailwind classes? In the future, I would love to be able to use any GUI to match the custom fonts in the resources with the weights used in RW.
Yes, you can do that via the resources panel. Select the custom font and choose the corresponding weight, like this: