Skip to main content
Question

Dev Mode: Compose code language not showing gradient info


Rob_Marquardt

I have a frame with two gradients with multiple stops in each. In Dev Mode with the code set to SwiftUI, it shows the two LinearGradients with an array of stops for each. When I change the code to Compose, I get no mention of the gradients, just a couple lines for a Column arrangement and then literally // Child views.

This wasn’t the case prior to Dev Mode and now I’m having to ask my Android engineer to translate from the Swift values. Is this something that’s just not wired up yet?

(There’s a FigJam · Bugs tag but no Figma · Bugs?)

6 replies

Rob_Marquardt
  • Author
  • New Participant
  • 10 replies
  • June 26, 2023

Example screenshots


Our team have encountered the same issue


Vianney_BERNET

Same here, it’s not showing the CSS code of linear-gradient anymore (for gradient text for instance).


Adriano_Varlotta

Not showing to me as well


our team is experiencing the same issue with dev mode. would love to have this fixed as it’s necessary for our dev team to have access to this code!


Alex_Stoian
  • New Member
  • 5 replies
  • November 29, 2024

same here, the team has to match hex codes to our tokens manually and it’s quite annoying.

Figma design using local variables:

Dev mode shows only hex codes:


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