Skip to main content
Inspiring
June 24, 2020
Question

Design variables not available in code specs

  • June 24, 2020
  • 2 replies
  • 1522 views

I have populated my asset panel with components, colors and text styles thats applied to my design but when I produce code specs for sharing (share for development) none of these appear in the section named Variables. It says "When designers add colors and character styles to the assets panel in XD, they will appear here as design variables for you to use." So why are they not there like they used to be before this new Variables section came?

    This topic has been closed for replies.

    2 replies

    raymondf17789627
    Participant
    June 26, 2020

    I am having this same issue. Even with tons of assets and design tokens (double clicking on a style and renaming it) there is nothing in the variables section with export for web enabled. Looks like I'll have to use zeplin for this....

    Harshika Verma
    Community Manager
    Community Manager
    July 6, 2020

    Hi Raymond,

     

    We are sorry for the delay in response. Is it possible for you to share the link and the file with me over a private message?

     

    I will check at my end.

     

    Thanks,

    Harshika

    Harshika Verma
    Community Manager
    Community Manager
    June 24, 2020

    Hi Perrybrus,

     

    Thank you for reaching out. If I heard you right, it looks like you're looking for the design token. Could you please take a look at this help article: https://helpx.adobe.com/xd/help/create-design-tokens-in-XD.html and see if that helps?

     

    Thanks,

    Harshika

    perrybrusAuthor
    Inspiring
    June 25, 2020

    The section in Code specs is called Variables. As mentioned in my post it says ""When designers add colors and character styles to the assets panel in XD, they will appear here as design variables for you to use." Well, I have done that but as mentioned they are not available in the Variables section.

    Harshika Verma
    Community Manager
    Community Manager
    June 26, 2020

    Ah okay. Could you please make sure that the Export for Web is selected because the link sharing feature is supported only in design spec links that have been exported for web?

     

    Let me know if that works.

     

    Thanks,

    Harshika