Material Dynamic Theming

I’ve used the following guide when theming to use material variables in custom elements. mainly background color as $primary but can’t find where to access the text color. If you toggle between light and dark the font colour changes to black or white, where are there variables?

Why did you post this under html/css?

Not really sure might be $dark-primary-text and $light-primary-text.

No can’t find it, will keep looking and post if i find it.