figma-batch-styler icon indicating copy to clipboard operation
figma-batch-styler copied to clipboard

Changing more text style details?

Open Bonero opened this issue 5 years ago • 2 comments

Hi. Love your plugin. I wonder if you are planning to add possibilities to make changes on more details e.g. Letter Case, Decoration, Letterforms etc? That would be really nice because now I need to make this manually for each text style. image

Bonero avatar Sep 29 '20 06:09 Bonero

From Figma's Plugin API we are only able to change a couple of those, hopefully Figma adds more in the future. What we could do for now is add the following:

  • Text Decoration: "NONE" | "UNDERLINE" | "STRIKETHROUGH"
  • Paragraph Indent: number
  • Text Case: "ORIGINAL" | "UPPER" | "LOWER" | "TITLE"

I think we should implement an interface that closely resembles that of Figma:

  • Buttons for text decoration (if seperate values "soft-highlight" those that match, and "highlight" if all match)
  • Number input for Paragraph indent
  • Buttons for text case (same as with decoration)

See: https://www.figma.com/plugin-docs/api/TextStyle/#docsNav

six7 avatar Sep 29 '20 08:09 six7

Please can you add these style settings above. Often clients want to change our template from UPPERCASE to Normal Case, and then I have to manually change all 20 styles to "Original". Wowzer that's annoying.

thyongamer avatar Jun 06 '24 12:06 thyongamer