#Created variable doesnt show when applying variables

4 messages · Page 1 of 1 (latest)

viral shore
#

I am using pro version of ant design. There are pre-made variables such as controlHeightXS, LG, ...

I created a variable in Dimensions, and then used that variable to create another variable (controlHeightXL) inside button variables.

The problem is that I dont see option to apply "controlHeightXL" which is created in button variable set.

See screen number , where controlHeightSM (inside components/button/global (the correct way)) is assigned to height of SM button (which was already pre-made by owner)

When I try to apply variable controlHeightXL (which I created) there is no option as it is for controlHeightSM (which is pre-made). To be exact, there is no option to add components/button/global/controlHeightXL

any idea how to fix that please?

#

This is what I would like to achieve with controlHeightXL

Thanks in advance for help! hello

vast terrace
#

Hey @viral shore Theres a lot going on here and it is a bit harder to double check everything from screenshots. But one thing I could see is if theres some scoping settings on it making it not show up. Though I wanna assume that it was made as any of the other ones so it would be weird if this one specifically had some unwanted scoping setting

viral shore
#

oh my god, you are my savior (scoping was off)! That solved it

I had to switch to variable from tokens and I didnt even know there is something like this.

Thank you, I appreciate it! ❤️

@vast terrace