Skip to main content

Styles aliases


Oscar_Otero

I’d like to be able to create aliases for text styles, colors, shadows, etc.
For example, I have the color “Color/Primary/500” and would like to create the color “Button/Primary/Background” that is a link to the first color, so if “Colors/Primary/500” is changed, “Buttons/Primary/Background” would change too.

This would also be useful for text styles, effect styles and any other named style, allowing to create a kind of root tokens that can be reused under different purpose names.

5 replies

Stephane_Popout

Currently you can only do it with plugins

The most used is this one:

Figma

dennsi
  • Active Member
  • 256 replies
  • April 6, 2023

I really hope Figma implements such token based features in the near future.
Would be really great to use that without any plugins.


  • 0 replies
  • July 5, 2023

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.


Torsten_Daeges

Being able to use variables in text styles now makes it possible to create something similar to a typography token in Figma. I also get why Figma is making the distinction of having variables only represent single values and using styles for composites of values.

If there was a way to create “alias”-styles which would only reference other style definitions (just like variable aliases), that would provide parity with design tokens in that regard.

Right now, the only way to represent typography aliases in Figma would be to duplicate a style under a different name (which is not possible without recreating it from scratch because of the missing “duplicate”-option). But since these two styles would then be defined independently, it would defeat the purpose.


  • Figmate
  • 1918 replies
  • June 3, 2024

Hi @Torsten_Daeges, I appreciate you sharing your thoughts on Text Style.

I came across a similar request from other community members. In order to consolidate all the related feedback, I have reopened this topic and included your input.

Thank you for your valuable contribution!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings