Skip to main content
Equinusocio
June 22, 2023

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

  • June 22, 2023
  • 158 replies
  • 17892 views

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:

158 replies

Variables Plus
New Member
March 3, 2026

@Pascale D'Offay  got it — thanks for clarifying.
 

Today, Variables Plus creates a derived Figma variable whose value is resolved (RGBA/hex with alpha). The key benefit is keeping it automatically in sync when the source variable changes.

For dev handoff, the robust workflow is to export the variables as tokens (JSON/CSS/TS) and treat that export as the source of truth in code. Devs then rely on the token name used in the design (Blue-950/50) and the exported file, not the resolved value shown in Inspect.

Would an export step solve this on your side? (i.e. you keep using the variable names in Figma, and your devs consume an exported tokens file as the source of truth, instead of relying on Inspect’s resolved hex/rgba.)

If yes, what format would your pipeline need? JSON (Style Dictionary / DTCG), CSS variables, Tailwind config, TS/JS module… and do you need it per mode (light/dark) as well?

Pascale D'Offay
New Participant
March 3, 2026

@Pascale D'Offay  got it — thanks for clarifying.
 

Today, Variables Plus creates a derived Figma variable whose value is resolved (RGBA/hex with alpha). The key benefit is keeping it automatically in sync when the source variable changes.

For dev handoff, the robust workflow is to export the variables as tokens (JSON/CSS/TS) and treat that export as the source of truth in code. Devs then rely on the token name used in the design (Blue-950/50) and the exported file, not the resolved value shown in Inspect.

Would an export step solve this on your side? (i.e. you keep using the variable names in Figma, and your devs consume an exported tokens file as the source of truth, instead of relying on Inspect’s resolved hex/rgba.)

If yes, what format would your pipeline need? JSON (Style Dictionary / DTCG), CSS variables, Tailwind config, TS/JS module… and do you need it per mode (light/dark) as well?

This kind of seems like an unnecessary extra step (for my use case)
 

Figma should just have the functionality built-in

Recep_Kutuk
New Participant
March 10, 2026

This is another one where I wish that absolutely every text or number field would accept variables in them. I would love to be able to set the fill color opacity as a variable, and the H/S/L values as well, etc.

 

I would even like to be able make variable names variable, consider this: you’re using blue-200, blue-500 and blue-900 on a component and you decided to use green instead of blue. Just one variable change and there you are 🫠

Recep_Kutuk
New Participant
April 2, 2026

Hello! We’re still here, waiting for developments on this issue, just in case anyone is reading 😞

Pigeon
New Participant
April 2, 2026

+1 +100

ukii
New Member
April 3, 2026

Currently, I also need this feature to make my design system more flexible and convenient

Pigeon
New Participant
April 3, 2026

@djv any updated on where our much required functionality is in the prioritisation queue, it at all? :)

Pascale D'Offay
New Participant
April 8, 2026

Hello! We’re still here, waiting for developments on this issue, just in case anyone is reading 😞

@Recep_Kutuk it doesn’t look like anyone cares.. ​@djv - FYI we are still waiting

Pigeon
New Participant
April 8, 2026

@Pascale D'Offay Yep, It’s a giant pain having to make complex workarounds for this, adding a lot of friction between design ande code.

Frequent comments and a likes. Is helping to keep the issue in the top 10 of active requests. 
 

 

Stephen_Howe
New Participant
April 9, 2026

This should work exactly like they do it in the Token Studio plugin…. even in code it is the same.  So I am not sure why o why is Figma sticking with their implementation.  After all the goal is to get from design to dev easy and this not being possible just add to the frustration.  Also still no support for oklch…. Figma stays stuck… probably the high focus AI.  They should get the basics right first 😤