PhpDoc is not legible
PhpStorm: 2023.3.3
I'm using Dark theme but with editor Light color scheme.
This is what the DocBlock should look like (Dark theme):
This is what it looks like with Dark theme but with editor Light color scheme:
The blue and crimson text is not legible.
Is there somewhere where I can specify a custom setting?
i.e. make the DocBlock like the 100% dark theme setting?
I'm not changing the editor to Dark - I code on a white background.
Please sign in to leave a comment.
Hi,
Basically, colors in a documentation popup are inherited from the actual element colors (like in code itself) and I am afraid, there is no way to change the background color separately for the popup only.
I think you may find colors that look nicely both on white and dark background.
Looking at your example, you may want to change these in "Settings/Preferences | Editor | Color Scheme”:
PHP > Identifiers > Primitive Type Hint
PHP > Functions and Methods > Parameter
PHP > Functions and Methods > Declaration
Something like this:
(colors are bit weird but I hope you get the idea)