Skip to content

Support for Text Aligment #3687

@keeganedwin

Description

@keeganedwin

Is your feature request related to a problem? Please describe.
There is currently no way to manage text alignment (e.g., left, center, right, justify) using tokens in Tokens Studio. This is related to #1138

Describe the solution you'd like
We'll have to brainstorm on this

Additional context
This feature is currently blocked and cannot be implemented due to limitations within Figma.

We are tracking this as a desired feature, but it's important to note the following blockers:

  1. Figma API Restrictions: The current Figma Plugin API does not provide a way to programmatically control or update the text alignment property of a text layer in the manner required to reliably link it to a token.
  2. Not a Native Style or Variable Property: In Figma, text alignment is a layer-specific property. It cannot be defined within native Text Styles or managed through Variables. Since Tokens Studio primarily leverages these native Figma features to apply styles, there is no existing mechanism to hook into for managing text alignment.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    📥 Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions