I’ve been using the Number variable feature in Figma to specify margin values, applying it only to the areas corresponding to the margins within the layout.
For the auto layout’s gaps, which don’t correspond to margins, I’ve been manually inputting numbers instead of applying Number variables. However, in dev mode, I’ve noticed that the suggested variable usage based on the value automatically proposes the closest Number variable value, which is then reflected in the code (you can also see the ‘Suggested variable usage based on the value’ tooltip).
Due to this suggestion feature, using Number variables has become quite inconvenient for me. I believe there should be an option to disable the Number variable suggestion feature.