Document font changed color

Occasionally, i find a document has change font color from white to black. I then select all on the document and change color…

I am using a dark theme… I have no idea how to find info on the current theme’s name.

I can find ways to change themes, but not how to know what theme is being currently used.

Any ideas about the font color change.