What is the best way to style the new inlay type hints in the Dark Plus theme? #6270
Replies: 4 comments 6 replies
-
Awesome to hear! IMO the last suggestion is the best, minimal is more :) |
Beta Was this translation helpful? Give feedback.
-
What do you think about |
Beta Was this translation helpful? Give feedback.
-
I had a look with the browser developer tools and the background grey in your VS Code screenshot is It is hard to grab the white, but I have a feeling that |
Beta Was this translation helpful? Give feedback.
-
Looking at https://github.com/microsoft/vscode/blob/cd1d31179d612c380262746f00d35ed072dc7728/build/lib/stylelint/vscode-known-variables.json#L106-L111, I found out the VS Code uses And I agree By the way, we could also copy the dark+ experimental version port, they use How it looks: |
Beta Was this translation helpful? Give feedback.
-
@kirawi @janos-r @AlexanderBrevig @korken89
Now we have type hints! #5934. This is how VS Code looks (I think, this screen shot from the docs could be out of date):
VS Code
Dark Plus styles them in white at the moment as it has no
"ui.virtual.inlay-hint"
yet, and that doesn't look great as they really need to either stand out or be a lot fainter so they are obviously different from the rest of the code:Right now, no `"ui.virtual.inlay-hint"
This is how it would look with
"ui.virtual.inlay-hint" = {fg = "text", bg = "dark_gray4" }
. This seems the closest match to VS Code, but I might be wrong. It doesn't look great to me, needs space at the edges and the original rounding looks much better, what do people think?:{fg = "text", bg = "dark_gray4" }`
maybe just
fg = "dark_gray4"
, not following VS Code, but minimal is probably best as it makes them less distracting. What are the other themes doing?:fg = "dark_gray4"
Beta Was this translation helpful? Give feedback.
All reactions