Typography primitives variables / styles

I’m wondering if anyone has a file that shows the correct way to set up / organize typography primitives / styles for both desktop and mobile and how styles and variables work together. I’ve had a look in the community and not finding anything robust. Thanks!