Hello everyone,
is there an easy way to change the color of the console.log output? I can't read this orange very well on my monitor.
In the forum I have found only this topic on the subject. There is a webconsole.css mentioned there. However, I didn't want to create an extra theme right now.
Thank you for reading.
How to change the font color in web console? Topic is solved
Moderator: trava90
Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
Re: How to change the font color in web console?
Since no one answered, I guess there is no easy solution to my question.
Is there perhaps a more elaborate solution? Somewhere the text color has to be set.
Is there perhaps a more elaborate solution? Somewhere the text color has to be set.
- RealityRipple
- Astronaut
- Posts: 659
- Joined: 2018-05-17, 02:34
- Location: Los Berros Canyon, California
- Contact:
Re: How to change the font color in web console?
If you're the one making the log outputs, you can control coloring with:
Otherwise, I think you're gonna want to use userChrome.css to provide directives for "#devtools-webconsole .theme-body" to change the color and background-color, and then additional directives for things like ".console-string", ".learn-more-link", and ".message[severity="error"]".
Code: Select all
console.log('%cWhite text on a black background', 'background: #000000; color: #FFFFFF');
Re: How to change the font color in web console?
The console.log output looks like this for me even without add-ons installed. So far, I'm not a big fan of dark themes. No matter in which program. But maybe that will change with Pale Moon.
Re: How to change the font color in web console?
Yes, I am. This is the simple solution I was looking for. Learned something again.RealityRipple wrote: ↑2021-06-26, 22:16If you're the one making the log outputs, you can control coloring with:Code: Select all
console.log('%cWhite text on a black background', 'background: #000000; color: #FFFFFF');
Thank you very much.