At my company, in Figma, we currently have Text Styles set up based on Alias Tokens that are represented in our developer documentation.
So instead of having Text Styles set up in Figma like: Header, Sub-Header, Body, Caption etc. we have them set up like Text XL, Text L, Text M etc.
This presents some difficulty for me as a designer, because I don’t know where Text XL is supposed to be used on UI elements.
The reason given to me for why it is set up that way is because the developers refer to text styles and sizes that way.
My question is, does setting up text styles this way actually translate from Figma to code, like through dev mode for example? Or would it be better to set up text styles in Figma so that designers know where and how they should be used?