Material Dynamic Theming

Hi,
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?
Thanks,
John

Why did you post this under html/css?

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

https://github.com/angular/components/blob/master/src/material/core/theming/_palette.scss

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