Skip to main content
Equinusocio
Jun 22, 2023 8:10 AM UTC

Add way to change opacity for color variables alias, fills, strokes, etc

When aliasing a color variable to another (img 1), or using it directly on an element (img 2), we should be able to override the opacity without the need to create a variable for each transparency variation:

Cant override opacity in the alias:

CleanShot 2023-06-22 at 10.09.00

Example 2

Cant override the fill opacity:

159 replies

Wilfred_James
Jul 25, 2024 3:35 PM UTC

Any solution for this in 2024?

Equinusocio
Jul 25, 2024 3:52 PM UTC

They are now focused on new unfinished beta features. It’s been a year I don’t think we’ll see this feature completed.

Meg_Long
Jul 26, 2024 4:53 PM UTC

I need this too! Can’t believe it’s not done yet.

Jul 27, 2024 8:17 AM UTC

Maybe we should ask almighty AI to implement this feature because Figma devs have no intention to do it.

Franni
New Participant
Aug 22, 2024 10:48 AM UTC

Again adding a comment to keep this thread alive.

TV2Z_India_Development_and_Sup
Aug 28, 2024 1:37 PM UTC

For non-gradient use cases, we can handle it with layer opacity. But for gradients, it’s impossible if you want different opacities of the same colour at different points.

Stephen_Howe
New Participant
Sep 11, 2024 1:18 PM UTC

+1, layer opacity is definitely not the anwser (think about the handover to developers). Additionally, oklch implementation would also help.

Henrik_Andersen
New Participant
Sep 12, 2024 7:29 AM UTC

So this boggles me.

Why can’t I change (override) the opacity of a referenced color-variable, without having to detach it? To me a color and an opacity value are two different things. So if I want an opacity on my referenced color e.g. “Blue-950” I have to detach it and change the value to my liking, now it is not referenced to the variable collection anymore.

A workaround is to add that “Blue-950” with the desired opacity in the variable collection and then reference that new “Blue-950-50-percent”.

It is so annoying that you can’t change opacity on the fly without loosing reference!!!

Alok
Sep 12, 2024 1:24 PM UTC

I get why that would be frustrating. Changing the opacity of a color variable directly without detaching it would be a useful feature. Currently, Figma doesn’t allow for overriding opacity directly on referenced color variables, which indeed forces you to either detach or create new variables for each opacity level.

djv
Figmate
Community Support
Sep 16, 2024 9:33 PM UTC

Hey @Henrik_Andersen, thanks for the feedback!

@Alok is correct that this is currently expected behavior. I updated your topic for clarity, and we’ll pass this onto our team for future improvement.

Be sure to also vote up top! ☝️ Our teams use votes to gauge overall interest and prioritize.