VSCode-Parameter-Hints icon indicating copy to clipboard operation
VSCode-Parameter-Hints copied to clipboard

Added ability to override css styling for hints

Open petertriho opened this issue 5 years ago • 5 comments

Hi @DominicVonk,

Love the extension!

I've add a commit to override the styling of hints (would like to modify things like font size, weight, style, etc)

I've never worked with vscode extensions before so I'm not sure if this is the correct/preferred way of doing it.

Thanks, Peter

petertriho avatar Sep 01 '20 02:09 petertriho

Hi @petertriho,

Thank you for the contribution, and I'm glad to hear you love the extension.

This is a good beginning, I will add this with a possibility to change them also per theme, because it could happen you want to change it per theme.

I will add this to the shortlist, to be released this week.

DominicVonk avatar Sep 01 '20 05:09 DominicVonk

@DominicVonk

I've added per theme overrides. Usage example (in settings.json):

{
	"parameterHints.defaultStyles": {
		"fontStyle": "normal"
	},
	"parameterHints.themeStyles": {
		"GitHub Dark": {
			"fontStyle": "bold"
		}
	}
}

petertriho avatar Sep 01 '20 08:09 petertriho

Thank you, I will implement the feature this week, there is a more general way for per theme overriding, I should have mentioned it before. But I will add this today. Thank you very much. Please join the issue board. To view the progress.

DominicVonk avatar Sep 02 '20 08:09 DominicVonk

https://github.com/DominicVonk/VSCode-Parameter-Hints/projects/1

DominicVonk avatar Sep 02 '20 08:09 DominicVonk

Sounds good! Thanks

petertriho avatar Sep 02 '20 08:09 petertriho