Skip to main content
Rob_Marquardt
New Participant
June 23, 2023
Question

Dev Mode: Compose code language not showing gradient info

  • June 23, 2023
  • 6 replies
  • 1843 views

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?)

This topic has been closed for replies.

6 replies

Rob_Marquardt
New Participant
June 26, 2023

Example screenshots

June 27, 2023

Our team have encountered the same issue

Vianney_BERNET
July 11, 2023

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

Adriano_Varlotta
July 12, 2023

Not showing to me as well

Liz_Emmert
New Member
July 18, 2023

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 Participant
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: