Skip to main content
Tokail
Feb 16, 2023 1:19 PM UTC
Question

Help needed: Control Output text font-weight

Hi All;

I’ve created a Figma/Figjam plugin that automates UX workflows. It leverages the power and knowledge of AI to help designers generate interview questions and personas among other features.

I want to add more hierarchy to the output text by controlling the output font-weight, but I’m unable to find a way to do that.

Is there a way I could style the output text weight?

This topic has been closed for replies.

2 replies

Gleb
Power Member
Feb 16, 2023 1:28 PM UTC

Of course! The weight is a part of fontName property. You need to load a new font first and then set it to the text. Working with Text | Plugin API

Tokail
TokailAuthor
Feb 16, 2023 1:53 PM UTC

Thank you! I will give it a try.