简体   繁体   中英

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

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截图 法术书截图 突出显示的拼写书文本的屏幕截图

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

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

按照上述路径并从那里更改字体背景颜色或字体颜色。

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. 在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM