After creating a project in normal Theme and switching to Dark Theme, font stays black instead of switching to white

As the subject says, I created a project in normal/light theme then switched to Dark Theme. The font should switch to a more readable color like white. Instead, it stays black.

Select the whole text and clear the text color.