Loss of prompt colors after entering and exiting a root prompt

When entering and exiting a root prompt, my terminal does not return the usual prompt colors:

Before

before

After

after

The first image is my terminal after exiting the root steel and the second the one I would like to see.


I tried to search on forums


Solution 1:

Here is a screenshot of where to start. You need to add and edit your profiles.

Terminal preferences