Did you just now update from GNOME 41 to 42? That happened months ago. See:
It looks like you’re using Matcha (matcha-gtk-theme). It is not yet compatible with GNOME 42. Use a theme like Adw / Adw-dark (adw-gtk-theme) for consistent Gtk 3 & 4 theming.
Where? In the terminal text itself or elsewhere? The terminal theme is independent of the Gtk theme.