Monokai / monokai-pro-vscode

Issue tracking for Monokai Pro for Visual Studio Code
321 stars 8 forks source link

Python type hints are a bit too bright/bold #360

Open thgeorgiou opened 1 year ago

thgeorgiou commented 1 year ago

Hello!

When using "type hints" in Python, I find that they get a too bright/bold color. For example, if you enable either python.analysis.inlayHints.functionReturnTypes or python.analysis.inlayHints.variableTypes, you get these bright boxes:

image

On other themes, it is usually something more subtle. For example, this is the same instance in Github Dark:

image

Thanks for the great theme! :)

C4Phoenix commented 1 year ago

I agree that the default for this is currently very distracting. I found a workaround by manually overwriting the colors using the following settings in the settings.json to something like :

"workbench.colorCustomizations": {
    "editorInlayHint.Background": "#403e41", 
    "editorInlayHint.foreground": "#f1f1f1", 
    "editorInlayHint.typeBackground": "#403e41",
    // "editorInlayHint.typeForeground": "#78dce8",
    "editorInlayHint.typeForeground": "#5dabb4",
    "editorInlayHint.parameterBackground": "#403e41",
    "editorInlayHint.parameterForeground": "#fc9855",
},