How to change the text color to light of a intellij tool window text area with a dark background?

959 Views Asked by At

Using Material Theme UI for IDEA 2020.2.2 with a Custom Dark Theme which Background Color is: #0C0A09 completely black. When using "Spellbook" plugin for note taking, its Tool Window pane where the text displays, is nearly invisible, not clear to read.

IDE screenshot screenshot of spellbook screenshot of spellbook text highlighted

How to change this 'text area' foreground color to white or lighter?

2

There are 2 best solutions below

0
On
File->Settings->Editor->Color & Fonts->General->Default text

Follow the above path and change the font background color or font color from there.

0
On

I've encountered this problem as well. It appears to be related to a specific UI element (text panes that can display HTML) and I've only encountered this problem in IDE version > 2019.3. In previous versions of Intellij the font color used to invert automatically based upon the selected theme. I'm not sure what happened across versions of the IDE, but, for me, starting with version 2019.3 the font color no longer automatically inverted in text panes for me when I went from a light to dark theme or vice versa. But I have had some luck playing around with the custom fonts to get the fonts to invert the color in text panes based on the selected theme.

Try disabling the 'Use custom font' option in Preferences -> Appearance section and then restart the IDE. I tried this and once I restarted the IDE the font color inverted properly based on the selected theme. I was then able to re-select the custom font that I was using and restart the IDE again and it maintained the inverted font color. I am using Intellij and the Darcula theme. Hopefully this works with Material themes as well. enter image description here