Skip to main content
Solved

Copy properties (opt + cmd + C) on a layer with variables gives only HEX codes when pasting


Alice_Holm

Best answer by Ryan_52

Hi everyone, our engineers have released an update which allows for color variables to be copy/pasted as properties now. Please refresh Figma to ensure that you are using the fixed version.

View original
This topic has been closed for comments

14 replies

Ryan_52
Figmate
  • Technical Quality Specialist
  • 382 replies
  • June 28, 2023

Hi @Alice_Holm this is currently the expected behavior with Copy/paste properties.


Alice_Holm
  • Author
  • New Member
  • 17 replies
  • June 30, 2023

It just seemed logic to me that the variables also would copy over. Hope you will consider it for future improvements 🙂


owen5
  • New Participant
  • 8 replies
  • June 30, 2023

This is not the expected behavior for me. I use the cmd+option+c/v shortcut to copy styles, which is a major time-saving step in my workflow. I really hope the Figma team considers using the same shortcut to copy variables from one layer to the next too


Minhee_Yoon

I agree very much 🥲
The variable function was quickly introduced, but it became difficult to actively recommend the use.
For designers, the cmd+option+c/v function is really big.


pterisaur
  • New Participant
  • 15 replies
  • July 7, 2023

Agreed — this is a huge deal for anyone trying to ensure system variables (and/or styles) are used in all designs. If we can’t easily copy and apply variables to many layers, variables are MUCH less likely to be used by the team. And that defeats the purpose — we can’t do any of the cool mode-switching etc without having them applied everywhere.


Lucas_Orellanos

I agree with everyone here. This is not the expected behavior. I want to be able to copy/paste color variables.


Dan_Hoolahan

+1… This can’t be the expected behavior for a user…


Qinyi_Yao
  • New Member
  • 2 replies
  • July 13, 2023

Can the team provide some context as to why this is the intended behavior? Are there recommendations on how to work with variables and styles together?


Ryan_52
Figmate
  • Technical Quality Specialist
  • 382 replies
  • July 13, 2023

Thank you everyone for your feedback, I have passed these points along to our engineering team.


Morgana_D_Almeida_Ribeiro

Thanks @Ryan_52 echoing what everyone is saying, this is definitely not expected behavior from the user side. Variables are a property like styles are too.


pterisaur
  • New Participant
  • 15 replies
  • July 20, 2023

Just a couple other comments on this:

  • Copy/paste of properties should include other variables as well, not just color (e.g. autolayout spacing, radius, etc).
  • As a temporary workaround, I’ve defined color styles using variables. This way we can copy/paste layer colors and the variables are included in that. It’s not ideal, but it works — I’ve had to un-share our variable colors and instead share styles using those variables with my team, so we don’t all have a ton of duplicate colors in the menu.

Ralf_Hoefer
  • New Member
  • 7 replies
  • July 26, 2023

I thought them not being copied over properly was a bug and not the intended way it should work. I realized after a day that they are not working as I expected and I had to change all the hex values back to variables. For me it was the most logical behavior.

An option in the settings to toggle this would be enough I guess.


  • 0 replies
  • July 26, 2023

This topic was automatically closed after 30 days. New replies are no longer allowed.


Ryan_52
Figmate
  • Technical Quality Specialist
  • 382 replies
  • Answer
  • August 18, 2023

Hi everyone, our engineers have released an update which allows for color variables to be copy/pasted as properties now. Please refresh Figma to ensure that you are using the fixed version.


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