How should I structure variables using the concept of Foundations and Tokens in my shared library/design system, so that the token variables are visible to use? For example, I have a foundation variable colour that I only want to reference from a token variable, not expose to use. E.g.
Foundations
Colours > Greys > Colour 1 = #999999
Tokens
Reference to the above colour
I only want to expose Tokens to choose from, not Foundations. Is this even possible right now?
I think I got a bit excited too soon. I was meaning more about hiding variables for use in the same file. I think I’ve taken the wrong approach and combined my variables and components in the same file. Placing a period . or underscore _ at the beginning of your collection name only hides it from publishing, not within the same file.
Should I be creating a separate Figma file for foundation variables/tokens which the component library uses as a shared library?