How can I change the type hint background color in JS?

I got a problem with the type hint badge since PHPStorm version 2021.1. For my color scheme (custom Obsidian) it's now unreadable:

How can I customize the background color for that?

0
4 comments

Please try configuring the "Editor | Color Scheme | Language Defaults > Inline hints > Parameters > Default" option, that should do the trick.

0

Sorry, but it didn't work. I noticed, the option you mentioned affects the hints before the variable name, but not after one (such as variable type: number, string...).

On the screenshot below I set some garish background to show, what was affected and what wasn't. (the "Apply" button has been clicked beforehand).

0

In this case, you may want to change the "Editor | Color Scheme | Language Defaults > Inline hints > Default" setting. Does it work?

1

Yes, that helped. Thanks!

0

Please sign in to leave a comment.