Create variable in component scope

Hello,

It would be more than interesting to be able to create variable at a component scope. And of course instance to inherit those variables.

Why ?

  • it would be a good way to organize variables. One file can have a lot of different components and subcomponents = a lot of variables.
  • it would give us the possibility to ease prototype creation by preparing upfront variables in components library.
  • it is a good way to get rid of variants. I mean variants are nice but variables are far better :).
  • it would give the possibility to create different set of variables corresponding to different state of the components faster.

Is this the type of solution you are looking for?