Skip to main content

Variables: Color alias with alpha / opacity (rgba ideally)


Show first post

79 replies

Grigoriy2
  • 1 reply
  • August 26, 2024

It’s fucking necessary!


pterisaur
  • New Participant
  • 16 replies
  • August 29, 2024

Sooo needed. We’re now adding color themes to our library, and there’s no way to apply semi-transparent shades of the theme colors in our UI.


mattaningram
  • New Member
  • 50 replies
  • August 29, 2024

This has been a feature request for years now. I have spoken to people at Figma about it, they are well aware it is a highly desired feature. I think they don’t want to do it because they think it will confuse users.

Probably not gonna happen until a design tool comes along that doesn’t actively hold back its users.


yu-mi
  • 1 reply
  • September 2, 2024

Can we get some confirmation whether this is actually happening? its been highly requested for so long, Figma are definitely aware of it yet releases seem to tackle everything BUT this.

Just tell me whether its going to be done or not so I can modify my whole design system or pay for a external license for something like Tokens Studio.


Andy33
  • New Participant
  • 15 replies
  • September 9, 2024

Stumbling again upon this … so frustrating.


rahend
  • New Participant
  • 13 replies
  • September 12, 2024

image

Hey Figma,

I wanted to share an idea that could make managing colors in Figma a bit easier. Right now, each color variable handles both the hex value and opacity together. What if we could separate them into two variables—one for color and one for opacity?

Why?

  • Cleaner Palettes: You’d have a pure color palette without the opacity mixed in, and a separate set of opacity variables. This keeps your color palette simple and organized.
  • Easier Alpha Combinations: Want to create a color with different opacities? Just mix the color variable with an opacity variable, no need to manually create new color versions with alpha values.
  • Less Redundancy: By separating these, you avoid duplicating colors just to achieve different opacities, making it easier to maintain and update.

This separation could make our design workflows more flexible and efficient. What do you think? Would this be useful for you too?

Looking forward to hearing your thoughts!


Trevor_Dupp

Hello Figma! - Its slightly disheartening to see this suggestion languishing since June 23. 😦

The option to separate out alpha variables will open up a lot of potential. For example I want to create a Global Shadow style pack that I can utilize in builds that will allow you to adjust the color of the shadows using variables.

To make nice shadows it requires utilizing many layers, it would be great to change one variable to apply to this shadow style to change all 5 Drop Shadow layers will maintaining their set opacities



Dmitry_Boremsky

+1 Yes, please! Great idea, very powerful)!


Mea
  • New Member
  • 1 reply
  • October 8, 2024

+100 Please work to add this functionality as you currently have to either a) Create a NEW variable that is not an alias; or b) detach the variable completely, which totally defeats the purpose of using the variable. Both options work against the usability of variable-based design system.


Jeremy_Knudsen

I am continually running into this problem!! What you can easily do in code (CSS) is not able to be done in Figma, and it really is an oversight—a huge disconnect for what is needed in a design-to-code tool. Figma forces me to either detach the variable alias so that I can supply an opacity value to the variable color (which then makes a hard-coded hex color that no longer connected to the variable alias); or I have to create more tokens that are completely unnecessary in code. Please address this. 🥺🙏 I run up against this so many times that it really does feel like a bug in the Figma Variables feature.


Simon41
  • New Member
  • 4 replies
  • November 8, 2024

This needs to happen ASAP! 🙏


Oren_Bahari

Genuinely why is this not a thing. It would be so easy to do


Vicky10
  • New Member
  • 3 replies
  • November 19, 2024

Really need this as well! I’m new to building design systems so I thought I was making a mistake setting up the tokens. Glad to know I’m not the only one with this trouble.


UsabilityJeff
  • New Participant
  • 6 replies
  • November 26, 2024

Thanks for laying out the case so clearly. I totally need this too!


Kate_Sosedova

+1 to this feature, very much needed


Craig_Garner
  • New Participant
  • 12 replies
  • December 5, 2024

+1 this is a really glaring limitation to variables. I don’t want to make new variables just for an alpha adjustment.


Jeremy_Knudsen

At Microsoft, we REALLY need Figma to separate opacity and color so that we can use separate variables for each! In CSS we can do var(–color-200) / var(–opacity-20) but not in Figma. 😦


bart13
  • Author
  • New Participant
  • 11 replies
  • December 6, 2024

for everyone to who this is very important: our workarround is using token studio at the moment and sync it with variables - this works perfectly because in token studio - tokens are managed but what tokens studio does is mapping the variable to a rgba value in Figma - its offcourse not what you want but its a workarround which works for now - best to still have this in Figma indeed


Amalya_Henderson

+1. We can’t use Tokens Studio at our company any more, so I’d need it in Figma. I just need to be able to reference a separate variable for color and for opacity in shadow effects. 


SomethingFishy
Craig_Garner wrote:

+1 this is a really glaring limitation to variables. I don’t want to make new variables just for an alpha adjustment.

For real. What time am I saving by using variables then?


Marine4
  • New Member
  • 2 replies
  • February 3, 2025

+1 I’m having a hard time believing this has not been implemented yet. It’s pretty tedious to work on building smart design systems without such features


Frans_Baud
  • New Member
  • 1 reply
  • February 6, 2025

Yes this would be sooooooo helpfull reducing management in Color Tokens


Schaltza
  • New Participant
  • 5 replies
  • March 2, 2025

+1 I’m baffled why this hasn’t been implemented yet.


TE149
  • New Member
  • 4 replies
  • March 14, 2025

Once you start using Figma professionally you start to notice how much of a Beta Product they offer and what a money grab they are, starting with a limitation of 4 modes and going on to missing basic features. Get it together Figma, you are asking for a lot of money lately, we deserve a good product!


Raz_Pulurian
  • New Participant
  • 7 replies
  • March 18, 2025

+1 Desperately need this. I need to create a lot of opacity variants for my design systems, and this would definitely speed things up, esecially in the early phases where I’m trying to rapidy iterate on colors and tweak / adjust them. Eech time I make an iteration, I need to break the alias, copy the color code, and paste it into several other variables. Multiple iterations x multiple variables to copy x multiple modes = a huge pain. On a single project, it wouldn’t be an exageration to say I needed to break and re-assign variables thousands of times. It feels like feature request is a meme at this point. Other than a few minor updates, variables have remained largely untouched since launch, which is sad.


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